What are the limitations of Construct Object From Class?
I try to instantiate an object from a given class using the function Construct Object From Class. I do that with a BP Actor class I wrote but I get the following message when I compile the main BP:
I tried with several other classes but I always get this error. It looks like this function is not documented. What are the limitations? What do I do wrong?
asked Dec 16 '15 at 11:02 PM in Blueprint Scripting
This node is actually something I've waited forever to have and am so happy that it finally exists!
It allows you to spawn objects. That's pretty much all it does. If you want to spawn an actor (anything that has a location in the level) you will have to use "Spawn Actor From Class".
This node is exclusively for classes that are not actors. That derive from the core class "UObject" (or just "Object" if you only look at it in BP). It's the lowest level of Unreals inheritance hierarchy and allows you to have data and functionality stored without having any representation in your level.
answered Jan 07 '16 at 03:11 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here