I’m learning with UE 5.5.4’s Lyra and encountered an issue: When launching L_DefaultEditorOverview
, ALevelScriptActor::PreInitializeComponents
is always called, creating a new LyraInputComponent
. However, after creating a new level via File -> New Level -> Basic Level
, copying all contents from L_DefaultEditorOverview
to the new level, and enabling Force Standalone Net Mode
in World Settings, ALevelScriptActor::PreInitializeComponents
never gets called .
Debugging shows that the new level’s LevelScriptActor is not added to the Actors array of the ULevel class, whereas L_DefaultEditorOverview_0
is properly added. How can I make the new level’s LevelScriptActor register to the ULevel’s Actors array during startup like L_DefaultEditorOverview
? What modifications are required? Thanks!