test spawn actor in UActorComponent::BeginFrame

Thank you for sharing your results.

The difference may be when streaming in and out the actor is being reconstructed.

In this case a simpler approach may be to use deferred spawning and flagging those spawned actors, then finish spawning.

Here’s a thread on that.

Another option would be to utilize RF_WasLoaded according to this thread, but you’d need to ensure the level is saved after dragging the actor in. The thread also mentions AActor::IsNetStartupActor which uses bNetStartup.

I’d recommend the deferred spawning approach where you add a flag, finishing spawning, and then check that flag.

Please let me know if that works for you.

Thank you!

[Attachment Removed]