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
- Line Brush blue outline appears at incorrect position when painting start of line in Tile Palette
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
- Player Tags list shows extra blank space behind the scrollbar in the "Player Tags" settings window
- Edit Angular Limits gizmo handles are small and easy to miss-click in the Scene view
- Duplicate Player Tag save fails silently with no error or validation message
Add comment