Download

Threaded Blueprint Scripts

Hi, does anyone know if its possible or have a quick example of creating a thread within a Blueprint. If so, can this background thread be used to create models and scenery?

Thanks in advance.

you mean this? BPThreads in Code Plugins - UE Marketplace

Also note that some UE classes are not exactly friends with parallel threads especially UObject creation, just tread carefully

1 Like

Thanks David, Very helpful.

As this is related: do you know do AActor and UObjects classes use or have member properties that are windows handles (Windows OS) ?

No they don’t have any OS specific shenanigans. If you mean thread synchronization objects, check out FEvent https://github.com/EpicGames/UnrealEngine/blob/c3caf7b6bf12ae4c8e09b606f10a09776b4d1f38/Engine/Source/Runtime/Core/Public/HAL/Event.h#L19 but that’s C++ only of course. I’m not sure if BPThread introduces some synchronization mechanism between threads for Blueprint developers. I haven’t actually used it in the wild.
But FEvent is not inter-process anyway, and AActors or UObjects themselves don’t have any of that either.