Developer Notes

Assets (like a data table) cannot point to actors in a level. This is by design.

Description

There is no way to add a value to an Actor variable in a Data Table. Currently, Structs accept Actor as a variable type, though no default value can be set. If a Data Table is made from a Struct with an Actor variable, it will appear in the Row but cannot be edited in the Row Editor. There is currently no BP node for adding data to a Data Table at runtime, so this value remains null.

EDIT: the user also reports that using a Class as the Struct variable type results in the same problem. While I understand it not being able to accept an Actor type because it's looking for an instance of that Class, shouldn't the Class type allow a default value?

Steps to Reproduce

1. Open any project
2. Create a new Structure
3. Switch the variable type to Actor
4. Create a new Data Table
5. Pick the new Structure
6. Add a new Row

Result:
The Row features the column for the Actor variable, but it cannot accept a Row Value

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

3
Login to Vote

By Design
ComponentUE - Gameplay - Blueprint
Affects Versions4.74.84.13
Target Fix4.17
CreatedJan 21, 2015
ResolvedJul 20, 2017
UpdatedJul 20, 2017