Store references to classes in a DataTable

I’m sure this has been mentioned before, but I feel it’s worth repeating: DataTables would really benefit from being able to store references to things like Actors, Textures, etc. The whole point of a DataTable is not having to hard-code everything, so being able to include them in the DataTable’s governing struct and set which asset they refer to in the table editor would be amazing.

I haven’t had a chance to play with data tables yet, but I would agree that they need as much capability as possible!

I can’t see it taking a whole lot of work to extend. You can already add them to a struct as a member, and they do create columns in the table; there’s just no way to set a reference in individual cells.

Hello soctty,

After a bit of digging I found that this feature request (UE-8001) has already been submitted to the developers for further consideration. I will be sure to bump up the community interest. Thank you for your time and information.

Make it a great day

Hey could you please clearefy what you mean?
Is it refrences to instances of classes you want (e.g: Actor in the world at Runtime), or just a refrence to a a spesific asset (e.g: String Refrence to a Gun Blueprint) ?

What I was looking for was being able to set pointers to say, a Texture2D or a ParticleSystem in the data table.

I ended up biting the bullet and coded a custom class derived from DataAsset, exposed it to Blueprint, and simply stored the path to each asset derived from THAT in a table as a text blob. DataAsset’s editor window is preferable to putting the same information in the DataTable, even if it wasn’t my original ideal solution.