Search Issue Tracker
Fixed in 5.1.2
Votes
0
Found in
5.0.1p4
Issue ID
696986
Regression
No
Constructor for nullable types fails to instantiate object in IL2CPP
-e: Constructor for nullable types fails to instantiate object in IL2CPP
The mono version of this test project works fine printing out the value of the float. The IL2CPP version fails and does a debug log indicating that the constructor returned null.
-repro:
--open project and add script to a scene
--run in editor
--notice debug logs
--build building with il2cpp (either ios or webgl)
--run build
--NOTICE constructor returns null
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Add comment