Search Issue Tracker

Active

Under Consideration for 2022.3.X

Votes

0

Found in

2022.3.2f1

Issue ID

UUM-40682

Regression

No

[Entities Graphics] [Android] Player crashes when loading content with EntitySceneReference and the WeakObjectReference<GameObject>

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/_Scenes/Game.unity” Scene
3. Build And Run on Android
4. Observe the Player

Expected result: The Player launches successfully and continues to run
Actual result: The Player crashes after the Splash Screen

Reproducible with: 1.0.0-pre.65 (2022.3.2f1), 1.0.10 (2022.3.2f1)
Could not test with: 1.0.0-pre.44 (2022.3.2f1) (Library\PackageCache\com.unity.entities.graphics@1.0.0-pre.44\Unity.Entities.Graphics\MeshRendererBaking.cs(64,40): error CS0246: The type or namespace name 'PostTransformScale' could not be found)

Reproducible with devices:
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
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS

Testing environment: Windows 10 Enterprise 21H2

Notes:
- The workaround for the crash is:
1. In Editor go to “Assets\Features\Scene\Prefab” and click GlobalSubScene.prefab
2. In Inspector under “Global Sub Scene Authoring (Script)” expand “Client Init Prefab Reference Array”
3. Remove “CM vcam1“ from the Array
4. Build And Run
5. Observe the Player
- Still crashes on Samsung Galaxy A5 after removing “CM vcam1”
- Does not reproduce on Windows Standalone Platform
- Sometimes build fails, but on the second attempt works

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.