I’m building a very huge world in UE5.1 by python API. The map size is more than 500km*500km. With the support of Large World Coordinates, I think it’s workable.
The amount of actors spawned by Python is more than 1 million. I must first spawn some actors, then unload these actors, and then spawn the next batch of actors.
The question is I haven’t found any API to load and unload region of world partition. The only way is in UE Editor.
In other way, I found a blueprint class named WorldPartitionBlueprintLibrary
, and some function like load_actors
,unload_actors
, but it apparently doesn’t work in editor.
My solution is using LocationVolume actor, and writing new API to spawn LocationVolume actor by cpp code.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.