Using 4.7.5. I’m trying to create a structure and part of structure is a material. However I cannot set a default material or one in datatable. Not sure if this is intended or not.
Hi InfectedFPS,
At moment, Structs cannot set default variables for several variable types, including StaticMesh, Texture, Material, and Class. We have a bug report in for this (UE-9407), and I’ve added your notes to it as well. For now, since Struct can’t set a default value for these variables, DataTable will return a Null value. I will post here when I see any update on bug report. Thanks!
Thanks for info. Hope to see this in a future release.
You can edit these properties in data table editor in 4.8, however change to UDS editor missed branching point so won’t appear until 4.9.
This is change if you’re running your own source build once 4.8 is released.
I don’t quite understand which part will work in 4.8 and what’s scheduled for 4.9 - could you clarify? (And what’s UDS?)
Also, link is a 404 for me…
Thanks!
Ah, sorry. UDS is a User Defined Struct
Your first screenshot is UDS editor. That will allow you to set these properties in 4.9 (or 4.8 with my change merged in).
Your second screenshot is data table editor. That will allow you to set these properties in 4.8.
GitHub link will be a 404 unless you’re logged in to GitHub with a GutHub account that’s been linked from your Unreal Engine account. If that doesn’t make sense to you, don’t worry about it
That’s awesome to hear, Jamie. Can’t wait for 4.8. ( heh that rhymes)
<3 you folks at Epic.