Description

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)

Steps to Reproduce

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

Have Comments or More Details?

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

0
Login to Vote

Duplicate
ComponentUE - Gameplay - Blueprint
Affects Versions4.6.14.8
Target Fix4.9
Fix Commit2524174
CreatedFeb 7, 2015
ResolvedApr 24, 2015
UpdatedApr 27, 2018
View Jira Issue