Search Issue Tracker
Duplicate
Duplicate in 2019.3.X
Votes
0
Found in
5.2
2019.3.0b1
Issue ID
1180021
Regression
Yes
Unity Events that have arguments cannot be used anymore
Repro steps:
1. Add a "Slider" component to the scene.
2. Select it and check its "On Value Changed" event property.
3. See that it has no argument and no method that takes a float can be assigned to it.
This has been found in 2019.3.0b1. The problem is not present in 2019.1. 2019.2 has not been checked.
The problem seems to appear for all UnityEvents that take arguments. If it does, the argument does not appear in the inspector, any existing method on it will appear as "missing", and no new method with the right signature (e.g. expecting a float) can be assigned.
Note that this is not exclusive to uGUI. Any use of UnityEvent anywhere will exhibit the same problem.
-
Resolution Note (2020.1.X):
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
This is a duplicate of issue #1178687