After creating a custom struct in C++ and adding a variable of that struct type to a Blueprint, hot reloading a code change that involves altering a function that takes the struct as a parameter results in the variable disappearing from the Blueprint, and a new variable of the same name cannot be created (an error message stating that the variable already exists is displayed).
RESULT:
When the compile completes, the Blueprint will no longer show the variable created in step 12, and trying to create a new variable with the same name will show a message saying the name "is in use by another variable or function!"
EXPECTED:
The compile completes, and the variable is still visible and usable in the Blueprint.
WORKAROUND:
Don't perform a Hot Reload whenever altering a function that takes a custom struct as a parameter when that struct is also used as a variable in a Blueprint.
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Head over to the existing Questions & Answers thread and let us know what's up.
4 |
Component | UE - Gameplay - Blueprint |
---|---|
Target Fix | 4.26 |
Fix Commit | 14261971 |
---|---|
Main Commit | 14261971 |
Created | Aug 27, 2015 |
---|---|
Resolved | May 24, 2021 |
Updated | May 24, 2021 |