The nativized spawner receives an invalid reference from the non nativized actor and fails silently meaning the variable doesn't get set.
Additional info: This issue happens when using a pure and non pure getter. The issue does not happen if both the spawner and the spawned actor are both nativized The real example of how I found this is I use wrappers to cast animation instances to cut down on nodes in character BP actors and components. We tend to have a mixed or nativized and non nativized assets because we run into showstopping issues that are time consuming to investigate when all assets are nativized.
Confirmed in 4.24 MAIN @ CL 7223946
Result: If you play the test map in the editor both spawned actors will show debug that confirms the 'State' variable is true If you play a fully packaged Win64 build the actor spawned by a nativized actor will not have its 'State' variable set to true
Sample project attached
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-76866 in the post.
8 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.21.2, 4.24, 4.22.3 |
Created | Jul 5, 2019 |
---|---|
Resolved | Jun 17, 2021 |
Updated | Jun 17, 2021 |