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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment