I want to create object use C++.
I call a function CreateAttributeDefineByName(“AMaxLifeDefine”).
but failed.
AMaxLifeDefine inheritance AttrDefinitionBase.
AttrDefinitionBase inheritance UObject.
Log:
LogUObjectGlobals:Warning: Failed to find object 'AttrDefinitionBase /Script/gameAttributes/GameAttributeStrategyDefinition/AMaxLifeDefine.
I can create Object from path.
Thank you.