UE-22613 was entered before this jira came up to prevent references to child actors being made and should be the path forward at this time.
A blueprint with an Actor Reference will reset to a None value on compile or stopping PIE
User Description:
We have come across a bug with the editor regarding setting direct references to child actor components. A direct reference to a child actor component will nullify after the first run of game mode after loading such a level setup from file.
1. Open the attached project
2. In the World Outliner, select the Test blueprint actor
3, In the Details panel, make sure that Default > Actor Reference is set to "Test###"
4. In the Content Browser, open the Test bp
5. Compile the bp (or skip opening the Test bp, and Play the level and then Stop)
Results: The Actor reference variable for the Test actor instance in the level will be reset to a None value on compile (or on Play then Stop)
Expected: For the variable to maintain its set value
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.11, 4.12 |
Created | Feb 11, 2016 |
---|---|
Resolved | May 2, 2016 |
Updated | Jul 14, 2021 |