It crashes on runtime if you try to instantiate an object from a class reference that is empty.
Steps to reproduce:
- Create an empty project
- Make a BP inheriting from Object (MyCustomObject)
- Create a variable: Class Reference of MyCustomObject (defaulting to None)
- BeginPlay → Construct Object From Class, inputing the variable and a reference to the level (or anything)
- Hit Play
Crashes without any explanation given.
Expected behaviour: It should throw a runtime error.
UE: 4.17.1
OS: Windows 10
This is my first bug report, I hope I got it right