Search Issue Tracker

Third Party Issue

Votes

0

Found in

2022.3.17f1

Issue ID

UUM-72464

Regression

No

[Android] Player crashes at launch with error when built with custom Editor build

--

-

[Android] Player crashes at launch with Error "JNI NewGlobalRef called with pending exception java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackManagerFactory;" when built with custom Editor build

 

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Switch to the Android Platform
4. Build and Run
5. Observe the Player

Expected result: The Player does not crash and continues to run
Actual result: Player crashes at launch

Reproducible with: 2022.3.17f1 (Custom Editor build commit 8c1a7b34433f9dc02d14439cba6192195db7732f)
Not reproducible with: 2021.3.38f1, 2022.3.30f1, 6000.0.3f1

Reproducible on:
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: Exynos 9 (9825), GPU: Mali-G76
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650

Could not test with:
Windows Standalone Player (“IOException: Failed to Copy File / Directory from 'C:/Users/L/Downloads/build/WindowsStandaloneSupport/Variations/win64_player_nondevelopment_mono/WindowsPlayer.exe' to 'Temp/StagingArea/WindowsPlayer.exe'.“)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Reproducible with Vulkan and OpenGLES3
- Reproducible with IL2CPP and Mono

  1. Resolution Note:

    Android build-tools version 32.0.0 are required to build Android player. Problem is reproducible when using build-tools 34.0.0.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.