Search Issue Tracker
By Design
Votes
0
Found in
5.5.0b7
Issue ID
840621
Regression
No
[OnClick] Function with "Long" variable type doesn't show up in the function selection screen
Reproduction steps:
1. Open the attached "Archive" project.
2. Check three scripts in the "Assets" folder.
- Each one takes different argument type(int, float, long).
- Each one is attached to a different game object.
- Each one is called by a different button On Click function.
3. Expand "Canvas" in the hierarchy.
4. Select "button" in the hierarchy.
5. Select "Button (Script) > OnClick () > script selection > Script" in the hierarchy (Picture attached).
- Note that test (int) is available.
6. Repeat steps 4 and 5 for "button 1".
7. Repeat steps 4 and 5 for "button 2".
- Note that test (long) doesn't show up in the function selection screen.
Reproduced with:
5.3.6p7,
5.4.2f1,
5.5.0b7
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Add comment