Local class type variables do not correctly populate with default value information. Variables of a class type populate with default value information normally.
1. Open Editor (any project)
2. Create new actor blueprint
3. Create a variable of type sphere collision>Class
4. Compile, set default value to spherecomponent
5. Create new custom function
6. Create local variable of type sphere collision>class, compile and set default value to spherecomponent.
7. In custom function, create two print string nodes and attach both to exec pin.
8. Create a get of each variable
9. From both, get is Valid Class node
10. Attach each to a print string node via bool to string nodes.
11. Create a copy of custom function attached to tick in event graph
12. Compile, place in level, PIE
Results:
Print string prints true/false
Expected:
Print string prints true/true
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.10 |
Target Fix | 4.11, 4.12 |
Created | Dec 2, 2015 |
---|---|
Resolved | Apr 25, 2016 |
Updated | Apr 27, 2018 |