You cannot spawn actors in the constructor or use actors as default sub components.
This error is from CreateDefaultSubobject function, do you use it? You don’t need it anymore and it does not work outside the constructor.
Okay great I have tried it again and everything works. But I wanted to see those nodes inside the editor. With blueprints I can create a child actor component and set the child actor class inside the contruction script. Maybe I can figure it out how to do this. But anyway thanks.
EDIT: onconstruction also is called after the game is initialized … perfect