Search Issue Tracker
By Design
By Design in 2022.2.X
Votes
0
Found in
2020.3.48f1
2021.3.25f1
2022.2.20f1
Issue ID
UUM-35704
Regression
No
[Android] Build freezes when building a specific android project
Reproduction steps:
1. Open the attached “BugRepro” project
2. Click Edit > Project Settings > Publishing settings > Disable Custom Keystore
3. Click File > Build
Expected result: Build finishes successfully
Actual result: Build freezes
Reproducible with: 2020.3.48f1, 2021.3.25f1, 2022.2.20f1
Couldn’t test with: 2023.1.0a1 (Failed to update Android SDK package list.), 2023.1.0b17, 2023.2.0a1, 2023.2.0a15 (UUM-35706: Build fails with com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable error)
Reproducible on: Windows 10, Ubuntu 22.10
Notes:
- When opening the project, this NullReferenceException is shown:
Stopped polling job due to exception: System.NullReferenceException: Object reference not set to an instance of an object
at GooglePlayServices.UnityCompat.VersionFromAndroidSDKVersionsEnum (System.String enumName, System.String fallbackPrefKey, System.Int32 fallbackValue) [0x00001] in <48abf529805a49c69e88ffb3f8b573e9>:0
at GooglePlayServices.UnityCompat.GetAndroidTargetSDKVersion () [0x00036] in <48abf529805a49c69e88ffb3f8b573e9>:0
at GooglePlayServices.PlayServicesResolver.CanEnableJetifierOrPromptUser (System.String titlePrefix) [0x000b0] in <48abf529805a49c69e88ffb3f8b573e9>:0
at GooglePlayServices.PlayServicesResolver.ResolveUnsafe (System.Action`1[T] resolutionComplete, System.Boolean forceResolution, System.Boolean isAutoResolveJob, System.Boolean closeWindowOnCompletion) [0x00014] in <48abf529805a49c69e88ffb3f8b573e9>:0
at GooglePlayServices.PlayServicesResolver+<>c_{_}DisplayClass102_0.<ScheduleResolve>b{_}_1 () [0x0001f] in <48abf529805a49c69e88ffb3f8b573e9>:0
at GooglePlayServices.PlayServicesResolver.ExecuteNextResolveJob () [0x00073] in <48abf529805a49c69e88ffb3f8b573e9>:0
at GooglePlayServices.PlayServicesResolver.ScheduleResolve (System.Boolean forceResolution, System.Boolean closeWindowOnCompletion, System.Action`1[T] resolutionCompleteWithResult, System.Boolean isAutoResolveJob) [0x000ac] in <48abf529805a49c69e88ffb3f8b573e9>:0
at GooglePlayServices.PlayServicesResolver.AutoResolve (System.Action resolutionComplete) [0x00018] in <48abf529805a49c69e88ffb3f8b573e9>:0
at GooglePlayServices.PlayServicesResolver+<>c.<ScheduleAutoResolve>b__78_1 () [0x00024] in <48abf529805a49c69e88ffb3f8b573e9>:0
at Google.RunOnMainThread.ExecutePollingJobs () [0x00052] in <ac8e755fbc27434ebdaf117e2c7041d9>:0
UnityEngine.Debug:LogError (object)
Google.RunOnMainThread:ExecutePollingJobs ()
Google.RunOnMainThread/<>c:<ExecuteAll>b__24_0 ()
Google.RunOnMainThread:RunAction (System.Action)
Google.RunOnMainThread:ExecuteAll ()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
- Didn’t test other 2023.1 versions because of the long build time
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
- An "RefreshInternalV2 is called before InitialRefresh" error is thrown when opening a project where a build profile with Player settings added is selected
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
- [iOS] Frame Debugger rendering output doesn't work with iOS builds
Resolution Note:
Stacktrace shows third party plugin freezing. Try updating it.
Resolution Note (2022.2.X):
Stacktrace shows third party plugin freezing. Try updating it.