Search Issue Tracker

Fixed

Fixed in 1.0.1 - Entities

Votes

0

Found in [Package]

1.0.0

Issue ID

ECSB-238

Regression

No

[Android] Scene fails to load in Play Mode or Player when Content Management is used

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the attached project "netcube"
2. Enter the Play Mode

Expected result: The Scene’s objects are rendered and working, no errors in the Console window and Content Management is working
Actual result: The Scene’s objects are not shown properly (see PlayMode.jpg), and there are errors in the Console window (The ContentSceneFile operation cannot be performed because the handle is invalid)

Reproducible with: 1.0.0-exp.15 (2022.2.9f1)
Could not test with: 1.0.0-pre.44 (2022.2.9f1) “CS0006: Metadata file 'Library/PackageCache/com.unity.ext.nunit@2.0.3/net35/unity-custom/nunit.framework.dll' could not be found”

Reproducible with devices:
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: NOT FOUND, 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
Windows Standalone

Testing environment: Windows 10 Enterprise 21H2

Notes:

* When trying to release WeakObjectReference<GameObject> at the Editor u will get an error, but no error at the Player runtime build. It seems like because it's GameObject type that Release() API calling Resource.UnloadAsset which can't support the release GameObject (UnloadAsset may only be used on individual assets and can not be used on GameObject's / Components / AssetBundles or GameManagers)
* WeakObjectSceneReference fails to load game object-based Scenes. At first, it looks kind of working to load single, but it's not loading additive, even though I set it to load additive. Then later it returns 2 errors. In Player runtime, there is also the same issue that the scene is totally not able to load (Exception: The ContentSceneFile operation cannot be performed because the handle is invalid. Did you already unload it?)
* Reproduces on Android and Windows Standalone runtime

  1. Resolution Note (fix version 1.0.1 - Entities):

    I was able to reproduce the issue in the reported version of the package, but this is already fixed in Entities 1.0.11 and Unity 2022.3.4f1.

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.