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
- NavMesh Surface is baked too high above the ground, making the NavMesh Agents hover above the ground when the HeightMesh is not built
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
Add comment