Search Issue Tracker
Fixed
Fixed in 2022.3.46f1
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Different build sizes between Editor build and command-line build when "Static Batching" is enabled
- Particle System "Start Rotation" property affects a different axis when upgrading to newer Editor versions
- "Light" Component's "Culling Mask" setting is hidden but still has an effect when using HDRP
- Selecting the Web platform can be done when using the HDRP project
- Textures swap when SpriteRenderers with shared materials and animators are toggled on and off
Resolution Note (fix version 2022.3.46f1):
This issue has been fixed in the next version of the entities package.