Search Issue Tracker
Fixed in 5.0.4
Votes
1
Found in
5.0.2p1
Issue ID
697581
Regression
Yes
Generic method that should return an int instead returns address of object containing int
How to reproduce:
1. Open attached project
2. Open scene scene1.unity
- Scene only contains a camera with a script attached
- The script contains a generic method that returns an int
- Scene may be played to see the expected behaviour
3. Build and run project to iOS/WebGL
- Note that the returned value is a large number, likely a pointer to the int instead of the int
Comments (1)
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
- 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
tatata
May 22, 2015 04:39
compile error by clang:
error: C-style cast from 'Object_t *' to 'float' is not allowed
float L_16 = (float)(((SsKeyFrameBase_1_t8721 *)L_15)->___Value_0);