Skip to content

Commit

Permalink
[v0.0.9] Trying to fix additive loading
Browse files Browse the repository at this point in the history
  • Loading branch information
g0dzZz-coder committed Jan 27, 2024
1 parent b3b6424 commit b20922d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Runtime/Operations/SceneLoadingOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async Task ILoadingOperation.Load(Action<float> onProgress, CancellationToken to
var operation = SceneManager.LoadSceneAsync(nextScene.handle, _sceneDefinition.LoadMode);
operation.allowSceneActivation = true;

while (nextScene.isLoaded == false)
while (operation.isDone == false)
{
onProgress?.Invoke(operation.progress);
await Task.Yield();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.depra.scenes",
"version": "0.0.8",
"version": "0.0.9",
"displayName": "Depra.Scenes",
"description": "",
"unity": "2022.3",
Expand Down

0 comments on commit b20922d

Please sign in to comment.