Search Issue Tracker

By Design

Votes

1

Found in [Package]

1.3.5 - Entities

Issue ID

ECSB-1434

Regression

No

Multiple calls to World.Update() is required before the SubScene loads when SceneSystem.LoadParameters.BlockOnStreamIn is used

Package: Entity Component System (ECS)

-

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

Expected result: No warning messages exist
Actual result: Warning message “Loading took more then 1 call to World.Update(): update count: X“ is present

Reproducible with: 1.2.0 (6000.0.29f1),1.3.5 (6000.0.29f1)

Reproducible on:
Play Mode
Windows Standalone Player

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

  1. Resolution Note:

    Both the BlockOnSteamIn and BlockOnImport flags must be passed in order for scene loading to be fully synchronous. If only one or the other is passed, then the other phase of loading will remain asynchronous and require multiple World updates to complete.
    We'll add a note to the API docs of these flags clarifying that both are required for fully synchronous loading.

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.