Search Issue Tracker
Fixed in 5.0.3
Votes
0
Found in
5.1.0b4
Issue ID
693210
Regression
No
Static constructor doesn't work with IL2CPP
How to reproduce:
1. Open attached project
2. Open scene scene.unity
- Scene contains nothing but a gameobject with a script attached. The script has a static constructor in it, which prints "Static constructor" to the log when called
3. Build to iOS and run
- Note that nothing is printed into the log
- Building using Mono works fine
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
- [Vulkan][OpenGL] Shader Internal error is shown when Graphics.RenderMeshPremitives is used with MatrixArray
Add comment