Creating a Data Class using Blueprints

I’m relativelly new to unreal, and I’m only using Blueprints at the moment. I used to work with Unity C#. In unity and every other OOP language when I wanted to create classes to store data in I would just create a simple class with the members and methods I needed, and then create new instance using the “new” command, manipulate it as required and then store it in an array or wherever I wanted to.
How do I do the same using blueprints?
I created a new Blueprint with Object as a parent class (because I don’t need any engine/3d behaviour from it), added the variables and functions I need. But when I try to “Spawn Actor From Class” the class doesn’t show up in the dropdown list (makes sense since it’s not an actor).
Is there a specific type of assets i need to create for this functionlity?

You can use Construct Object from Class to create (spawn) new objects.

image

Thank you. I can’t believe I’ve missed that. No google search or even chatgpt suggested that.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.