Search Issue Tracker
Fixed
Fixed in 1.8.12
Votes
2
Found in [Package]
1.8.10
Issue ID
BUR-2563
Regression
Yes
Error "NullReferenceException: Object reference not set to an instance of an object" is thrown when building the project with Android Platform selected and "Enable Armv9 Features for Arm64" is enabled
How to reproduce:
1. Open the "IN_60882" project
2. In the Project Settings make sure "Enable Armv9 Features for Arm64" is enabled
3. In the Build Settings select the Android Platform
4. Press Build
Expected result: Build successful
Actual result: Build fails with an error "NullReferenceException: Object reference not set to an instance of an object"
Reproducible with: 1.8.10 (2022.3.13f1, 2022.3.14f1, 2023.1.20f1, 2023.2.1f1)
Not reproducible with: 1.8.9 (2022.3.13f1, 2022.3.14f1, 2023.1.20f1, 2023.2.1f1)
Couldn’t test with: 2021.3.32f1 (no “Enable Armv9 Features for Arm64” option), 2023.3.0a15 (due to another build error (JDK not found, couldn’t fix this error in External Tools by setting JDK))
Reproducible on: Windows 10 Pro
Not reproducible with: No other environment tested
Notes:
- Reproducible with Mono and IL2CPP Scripting Backends
- Not reproducible when Windows Standalone Platform is selected (others not tested)
First lines of error:
NullReferenceException: Object reference not set to an instance of an object
Unity.Burst.Editor.BurstAOTCompilerPostprocessor.DoSetup (UnityEditor.Build.Reporting.BuildReport report) (at ./Library/PackageCache/com.unity.burst@1.8.10/Editor/BurstAotCompiler.cs:256)
Unity.Burst.Editor.BurstAOTCompilerPostprocessor.PrepareOnMainThread (UnityEditor.Build.IGenerateNativePluginsForAssemblies+PrepareArgs args) (at ./Library/PackageCache/com.unity.burst@1.8.10/Editor/BurstAotCompiler.cs:137)
UnityEditor.Modules.BeeBuildPostprocessor.GetGenerateNativePluginsForAssembliesSettings (UnityEditor.Modules.BuildPostProcessArgs args) (at <7aeb7d7a52d04045b8a1c734633fa931>:0)
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
- [HDRP] HDRP Look Dev has no button leading to the documentation
- [Android] Artifacts appear when instantiating a prefab on a PowerVR Rogue GPU device
- Skinned Mesh Renderer with enabled 'Skinned Motion Vectors' flickers when Ray Tracing with Screen Space Global Illumination is used
- [HDRP] "Show on start" checkbox is too close to the window border and is not aligned with the other elements
- RenderGraph shows incorrect values for some Depth Attachment Format and Depth Texture Format options
undeadx
Dec 19, 2023 17:38
same issue
p0w1nd
Nov 29, 2023 05:51
I have this same error when building on macOS.
dinindu_d
Nov 24, 2023 06:22
Reproducible with: 1.8.11 (2022.3.14f1)