Search Issue Tracker
Fixed
Fixed in 2021.3.32f1
Votes
0
Found in
2021.3.30f1
Issue ID
UUM-48998
Regression
No
[Android] Build fails with the error "System.NullReferenceException: Object reference not set to an instance of an object" when building with extended activity
Reproduction steps:
1. Open the attached project "ReproProj" with Android Platform
2. Open the “/Assets/Scenes/Main.unity” Scene
3. Click File > Build Settings > Build
Expected result: Build succeeds
Actual result: Build fails with error “Building Library\Bee\artifacts\Android\Manifest\LauncherManifestDiag.txt failed with output:
System.NullReferenceException: Object reference not set to an instance of an object“
Reproducible with: 2021.3.30f1
Could not test with: 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5 (CommandInvokationFailure: Gradle build failed)
Reproducible on: Windows 10 Enterprise 21H2 (Android Platform)
Not reproducible on: No other environment tested
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 AudioUtil_CUSTOM_HasAudioCallback when entering PlayMode while the GameObject's Properties Inspector window is in Debug mode
- Tilemap Collider 2D is not updating the Collider shapes when removing Tiles on the Tilemap component
- Inspector with the scrollbar is unusable when Material properties are edited and the scene is saved
- The Rendering Profiler module statistics are zero when Application.targetFrameRate is set
- The Editor becomes unresponsive and memory allocation errors are spammed in the Console when Generating Lightning
Add comment