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
- Intercepted Events text is hardly visible in Inspector window for UI elements when Editor theme is set to Light
- [Hierarchy V2] Add new Query Block window contains a typo in the Hierarchy Search Area block
- Scene is not rendered in Player when ran with -force-d3d12 argument and GPU Resident Drawer enabled
- “Failed to load” window appears when a package’s docked window is opened and the package is uninstalled
- Properties window is not closed when the GameObject is deleted and the Properties window is not focused
Add comment