Most variable types that do not reference a specific Actor in the level cannot have defaults set in Structs. While this makes sense for Actor references, I don't see why a Struct couldn't reference a Material, Texture, Static Mesh, Class, etc.
Tested in 4.6.1 binary and Main (Promotable-CL-2434822)
1. Open any project
2. Create a new Structure
3. Add new variables of type StaticMesh, Texture, Material, and Class Actor
Results:
These variable types cannot have defaults set
Expected:
Variables that do not reference a specific Actor in the level can have defaults set in Structs
Head over to the existing Questions & Answers thread and let us know what's up.
| 0 |
| Component | UE - Gameplay - Blueprint |
|---|---|
| Affects Versions | 4.6.1, 4.8 |
| Target Fix | 4.9 |
| Fix Commit | 2524174 |
|---|
| Created | Feb 7, 2015 |
|---|---|
| Resolved | Apr 24, 2015 |
| Updated | Apr 27, 2018 |