Blueprint references to level Actors are lost when streaming out and back in the level

Hi Dmitry,

Apologies for the delay. I have not seen this particular crash before while testing the fix, although the test case examples originally used were very simple.

I suspect that you are correct and that code optimization is giving you a misleading crash line; it is more likely that the array assertion is being hit from within one of the cleanup calls. Either that, or the actor channel array is being modified unexpectedly in the midst of the iteration. If you are able to find consistent repro steps that would be helpful for tracking this down, and in the meantime I’ll take a look again in a 4.20 build.

Are you able to share the engine version you’re currently working with? I would also like to look for interim networking fixes that might explain what’s going on.

Thanks,
Brian