Search Issue Tracker
Fixed
Fixed in 2021.3.9f1, 2022.1.16f1, 2022.2.0b8, 2023.1.0a6
Votes
0
Found in
2021.3.4f1
Issue ID
UUM-5771
Regression
No
[IL2CPP] New() operator causes a NullReferenceException error in a build
Reproduction steps:
1. Open the attached project “ReproducibleExample (2).zip”
2. Go to Build Settings and enable Development Build
3. Set Scripting Backend to IL2CPP
4. Build And Run the project
Expected result: The build doesn’t have any errors
Actual result: The build has an error - “NullReferenceException: Object reference not set to an instance of an object.
at ProjectRunner.ShowInfo () \[0x00000] in <00000000000000000000000000000000>:0”
Reproducible with: 2021.3.4f1
Could not test with: 2019.4.40f1, 2020.3.36f1, 2021.1.28f1, 2022.1.5f1, 2022.2.0a17 (namespace error)
Reproducible on: macOS 12.4
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2022.2.0b8):
Fixed in: 2022.2.0b8
Resolution Note (fix version 2021.3.9f1):
Fixed in: 2021.3.9f1