When a class is edited / hot reload preformed, code based components are sometimes removed from the MyBlueprint > Variables section and cannot be dragged from the Components tab into the graph with an error saying "Cannot find corresponding variable (make sure component has been assigned to one)"
I found this was most likely to occur when adding dynamic binding for component overlap / actor overlap events
Workaround:
Restarting the project after the hot reload will reset the components / variables and allow them to be added to the graph again.
Regression:
Yes - this behavior does not occur after hot reload in 4.17.2 (CL 3658906)
Repro Rate: 8/10
Result:
When a component is selected in the Components tab, its Details are not displayed. When this occurs, the component cannot be added to the Graph. The Component's Category also disappears from the My Blueprint > Variables section
Expected:
Preforming a hot reload allows previously existing and newly added code to function together.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-50559 in the post.
3 |
Component | UE - Foundation - Cpp Tools - Hot Reload |
---|---|
Affects Versions | 4.18 |
Target Fix | 4.18 |
Created | Sep 29, 2017 |
---|---|
Resolved | Oct 9, 2017 |
Updated | Apr 27, 2018 |