I can’t find anywhere why Outer
is not required to use CreateDefaultSubobject
. Checking UObjectGlobals
header and the implementations of CreateDefaultSubobject
I can’t seem to find a “defaulted” Outer
like bTransient
is here:
TReturnType* CreateDefaultSubobject(UObject* Outer, FName SubobjectName, bool bTransient = false) const
and TEXT()
macro isn’t relevant.
Unreal Tutorial on creating Components omitting setting an Outer