Short names for the rowtype property are no longer allowed?
Garbage. Updated the meta to
UPROPERTY(meta = (RowType=“/Script/MyPackage.S_MyStruct”))
And even then the warnings remain. Broken as usual.
I wasn’t even aware that was something you could do. For data table rows? What is the package name when you do something like that, pointing to … a blueprint data table?
Yes it is to limit a datatable picker to a struct. Normally I just use the short name without the F prefix of a struct and it works. UE5.1 throws warnings and apparently the /script/ and package need to be added.
UPROPERTY(meta = (RowType = "/Script/YourPackage/YourStruct"))
FDataTableRowHandle SomeProperty;
Same crap for the UDatatable property and RequiredAssetDataTags meta
what is “YourPackage” in this case, though? as far as i’m aware, we don’t have individual package names like we did in the UE3 days…
You do. The package is your module.
ooohh… i was thinking it was referring to blueprint implemented datatables… which don’t have a package name. usually most anything that i’ve encountered in the engine th at refers to script is referring to blueprint.