How To Keep Individual Actors From Unloading Using World Partition

Ok so I have a really hacky temporary solution

  1. When an object is selected I create a dummy actor next to it
  2. I then dynamically add a “world partition streaming source” component to that actor with a very low shape threshold this then acts as a streaming source and forces the actor to stay streamed

I really dislike this method but it’s the only thing I’ve got to work so far.

Things i found

  1. adding the component to the object you wish to keep does not work (makes sense since the actor is being culled)
  2. Creating a custom object with the component already on it and then spawning that actor does not work for some reason
  3. Spawning a dummy actor then Spawning the component does work for some reason.

if anyone in the future stumbles across this and finds a better solution please let me know. I will come back and update this thread if I find one myself

Cheers

2 Likes