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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment