Description

UDataTable::FindTableProperty() will currently fail in a nativized build because the RowStruct is no longer a UDS in that context; instead it is converted to a native UScriptStruct type. However, the field (property) names are still the same as they are in the non-nativized context, so UStruct::FindPropertyByName() will also fail to find a match.

Cannot rely on 'DisplayName' metadata either as that is not available at runtime in the cooked build. Will need to redeploy the current name parsing logic that's used for UDS (UUserDefinedStruct::PropertyNameToDisplayName()) and make that work for the nativized case as well.

Current suggested workaround is to exclude DataTable assets from nativization if the "Get Data Table Column As String" node needs to be used in a Blueprint graph to access column data from that asset as a string value.

Steps to Reproduce
  1. Build and launch the attached project.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-68914 in the post.

8
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.194.204.21
CreatedJan 22, 2019
ResolvedJul 15, 2021
UpdatedJul 19, 2021