# LevelScriptActor in Lyra 

**URL:** <https://forums.unrealengine.com/t/levelscriptactor-in-lyra/2571512>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, LyraStarterGame, question\
**Created:** [June 23, 2025, 1:48am UTC](https://forums.unrealengine.com/t/levelscriptactor-in-lyra/2571512 "2025-06-23T01:48:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chester\_Rowe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chester\_Rowe](https://forums.unrealengine.com/u/Chester_Rowe)\
**Post date:** [June 23, 2025, 1:48am UTC](https://forums.unrealengine.com/t/levelscriptactor-in-lyra/2571512/1 "2025-06-23T01:48:29Z")

</div>

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!
