Dynamically allocating a UUserDefinedStruct?
I've got a blueprint function library function with the following signature:
The function looks like this:
Compiles just fine, but when trying to new off transformStruct the editor crashes and I get the following error:
FObjectInitializer::Get() can only be used inside of UObject-derived class constructor.
If I can't use new to dynamically allocate memory for a UUserDefinedStruct, then how am I supposed to construct it?
asked Jun 11 '17 at 12:01 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here