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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 2022.2.0b8):
Fixed in: 2022.2.0b8
Resolution Note (fix version 2021.3.9f1):
Fixed in: 2021.3.9f1