decentraland / decentraland/unity-explorer
System.InvalidOperationException: Already continuation registered, can not await twice or get Status after await.
- Dominant language
- C#
- Stars
- 23
- Forks
- 17
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 101
Description
Sentry Issue: [UNITY-EXPLORER-PZV](https://decentraland.sentry.io/issues/7714487545/)
```
System.InvalidOperationException: Already continuation registered, can not await twice or get Status after await.
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/SceneLifeCycle/SceneDefinition/Systems/LoadSceneDefinitionListSystem.cs", line 128, in FlowInternalAsync
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/ECS/Unity/StreamableLoading/Common/Systems/AssetsLoadingUtility.cs", line 89, in UnwrapAndRethrow
File "C:/workspace/workspace/p/Explorer/Assets/DCL/RealmNavigation/RetrieveSceneFromVolatileWorld.cs", line 52, in ByParcelAsync
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/ECS/Unity/StreamableLoading/Common/AssetPromiseAsyncExtensions.cs", line 25, in MoveNext
File "C:/workspace/workspace/p/Explorer/Assets/DCL/RealmNavigation/TeleportController.cs", line 77, in TeleportAsync
...
(60 additional frame(s) were not displayed)
```
This issue was automatically created by Sentry via [Explorer Alpha Github Issue Creation](https://sentry.io/organizations/decentraland/monitors/alerts/3130340/)
Contributor guide
Research direction
Start at FlowInternalAsync in Assets/DCL/Infrastructure/SceneLifeCycle/SceneDefinition/Systems/LoadSceneDefinitionListSystem.cs:128 and trace the async path through AssetsLoadingUtility.cs, RetrieveSceneFromVolatileWorld.cs, AssetPromiseAsyncExtensions.cs, and TeleportController.cs. Identify where the continuation is registered more than once or status is accessed after awaiting. Done means the reported InvalidOperationException no longer occurs during the affected scene-loading or teleport flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100