well, the situation:
I’m spawning actors dynamically on the game thread
…
p_name.AppendInt(instance_counter++);
actor_params.Name = *p_name;
actor_params.SpawnCollisionHandlingOverride = ESpawnActorCollisionHandlingMethod::AdjustIfPossibleButAlwaysSpawn;
actor_params.ObjectFlags = EObjectFlags::RF_Standalone;
world_ptr->SpawnActor<MegaActorClass>(ma_blueprint_class, spawn_position, spawn_rotation, actor_params);
…
it works just fine in the editor. but when I’m trying to run it on Android device, it just crashes the app.
logcat trace shows something like that
Assertion failed: IsValidIndex(Index) && ChunkIndex < NumChunks && Index < MaxTotalElements [File:C:\GitHub\UE4.11\Engine\Source\Runtime\Core\Public\UObject\NameTypes.h]
GetDisplayNameEntry
…
SpawnActor
and right now I have no idea how to fix this.
will appreciate any help here