decentraland / decentraland/unity-explorer
System.TimeoutException: MultiThreadSync timeout, cannot acquire for: EngineAPIImplementation, current owner: "ECSLoopSystem" takes too long: 20.055767. Owning thread: 689824, requesting thread: 696199
- Dominant language
- C#
- Stars
- 23
- Forks
- 17
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 101
Description
Sentry Issue: [UNITY-EXPLORER-PM4](https://decentraland.sentry.io/issues/7652244448/)
```
System.TimeoutException: MultiThreadSync timeout, cannot acquire for: EngineAPIImplementation, current owner: "ECSLoopSystem" takes too long: 20.055767. Owning thread: 689824, requesting thread: 696199
File "Utility.cpp", line 21966, in Acquire
File "il2cpp-codegen.h", line 792, in .ctor
File "Utility.cpp", line 22775, in .ctor
File "Utility.cpp", line 22232, in GetScope
File "SceneRuntime__1.cpp", line 273, in ApplySyncCommandBuffer
...
(31 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 with the Sentry trace, focusing on ApplySyncCommandBuffer in SceneRuntime__1.cpp and the MultiThreadSync acquisition shown in Utility.cpp. Trace why ECSLoopSystem holds EngineAPIImplementation for over 20 seconds, then verify that the timeout no longer occurs under the affected execution path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100