NewObject with empty name can't be used to create default subobjects
So, I'm trying to upgrade my project, but the last error that I'm stuck on is
"NewObject with empty name can't be used to create default subobjects (inside of UObject derived class constructor) as it produces inconsistent object names. Use ObjectInitializer.CreateDefaultSuobject<> instead."
There is nothing more specific in the log, so I can't narrow it down. I have added a name to all NewObject<>() calls in constructors, but I still get the error. I have checked my code for UMaterialInstanceDynamic::Create() but I'm not using it.
Does anyone know what potential function calls would give this error if used in a constructor?
We haven't tried to fix it further. It turns out 4.7 broke something with the behaviors and we just don't have the time to fix that anymore or fix the NewObject error
answered Dec 21 '15 at 07:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here