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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment