havent tried it myself but just lower it says
If you want to construct your subobject directly in your actor’s constructor, use AActor::CreateDefaultSubobject
instead of AActor::NewObject
. To learn more about object creation in UE, see the UObject Creation documentation.
i think NewObject could fail on the construction because it may not have a valid world/outer etc?