Description

Local class type variables do not correctly populate with default value information. Variables of a class type populate with default value information normally.

Steps to Reproduce

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

Have Comments or More Details?

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

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.10
Target Fix4.114.12
CreatedDec 2, 2015
ResolvedApr 25, 2016
UpdatedApr 27, 2018
View Jira Issue