You can add a pass-by-reference input variable to an Event Dispatcher, but it will will result in compile warnings, and changes to that input will not affect the value of the variable in the caller.
Results: Warning: "No value will be returned by reference."
Expected: The editor should not allow pass-by-reference parameters to be added to Event Dispatchers
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-66742 in the post.
13 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.20, 4.21, 4.22 |
Created | Nov 19, 2018 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |