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
- A NullReferenceException error is thrown when extracting textures from an FBX
- “Convert To Subgraph Operator” option is capitalised incorrectly in VFX Graph
- "Toggle all debug panels" shortcut throws “NullReferenceException: Object reference not set to an instance of an object” error
- Rect Transform values are set to NaN when scaling UI element with centered scaling
- "Local Volumetric Fog" Component's "Inherit from Hierarchy" mode doesn't support negative "Scale" on the "Transform" Component
Add comment