Skip to content

I am using multithreading to Spawn a Blueprint Actor and Unreal Engine is crashing suddenly when the spawn function gets called. #890

Description

@UtkarshMoholkar
          I am using multithreading to Spawn an Blueprint Actor and Unreal Engine is crashing suddenly when the spawn function gets called.

def begin_play(self):
self.spawn_thread = Thread(target=self.spawn_process)
self.spawn_thread.start()

def spawn_process(self):
time.sleep(10)
self.world = self.uobject.get_world()
self.spacecraft_object = self.world.actor_spawn("PyActor", FVector(-300, 0, 500), FRotator(0, 0, 0))

Originally posted by @UtkarshMoholkar in #34 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions