Search Issue Tracker

Fixed

Fixed in 2022.3.66f1, 6000.0.56f1, 6000.2.1f1, 6000.3.0a4

Votes

8

Found in

2021.3.53f1

2022.3.64f1

6000.0.49f1

6000.1.12f1

6000.2.0b9

Issue ID

UUM-112023

Regression

No

Error “PersistentManager::ReadObject must be called from the main thread“ when using async addressable loading with async instantiation for prefabs that contain a particle system with a sub emitter

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/OutdoorsScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console

Expected result: No Errors exist
Actual result: Error “PersistentManager::ReadObject must be called from the main thread“ is present

Reproducible with: 2.2.2 (6000.2.0a2), 2.3.16 (6000.0.37f1, 6000.1.0b5, 6000.2.0a2)
Could not test with: 1.23.1 (2022.3.56f1) (Assets\AddressableLoadTest.cs(19,20): error CS1061: 'AsyncInstantiateOperation<GameObject>' does not contain a definition for 'GetAwaiter' and no accessible extension method 'GetAwaiter' accepting a first argument of type 'AsyncInstantiateOperation<GameObject>' could be found)

Reproducible on:
Play Mode

Not reproducible on:
Windows Standalone Player

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

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.