When I work with actors from another thread (pre-marking them with AddToRoot so the garbige collector doesn’t react on it), everything goes as expected until I minimise the editor window or open another window on top of it. Then the actors in a separate thread pass IsValid validation, but immediately in the next line logs that they are None, how to work with actors in this case? If it’s important, I’m generating a dungeon, I’m using the spawned actors as a set of tiles for this dungeon, after I build it and start spawning each tile to the scene, I catch a seg fault. The spawner essentially just puts the task in the lock-free queue to spawn the same actor with that position. Spawning always happens in the main thread!
UPD after 1 day:
rewrote the code using actors only in the main thread. I use only their data in parallel, still the same problem, actors become None etc. when the editor window is minimised.