[BUG] UObject Constructors cause Crashing that was not present before
I have this class called UMyObject:
In 4.6 I could easily instantiate this class by calling in another part of the code:
But now in 4.7.1 it seems I can no longer.
I get an exception error, breaking takes me here:
with this line highlighted:
Is this as intended? Because judging by 4.7's notes, and 4.6's notes, I'm understanding that parameter-less constructors anywhere was an intended feature, and I was able to construct UObjects this manner in 4.6.
Any help would be greatly appreciated.
asked Mar 04 '15 at 10:04 AM in Bug Reports
Yes, this is intended. Right now you can't use "new" to create a UObject. You need to use one of mentioned functions to do this.
You still can do it using NewObject, as it have all optional parameters. You only need to provide a UObject's class as template parameter.
answered Mar 04 '15 at 10:20 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here