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
- [Discussions] "NativePassData.GraphPasses()" has GC Alloc of ~256 B when using Render Pass
- Setting Shader Graph to Surface Type "Transparency" and Render Face "Both" breaks the preview
- Warning "Unknown pseudo class "multiline"" is logged when the Animator is loaded or in use after picking Motion in a States Inspector
- Deleting the property in the Blackboard and then creating the different type property with the same name throws an error
- Selector gets stuck in UI if scroll is used while dragging
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)