decentraland / decentraland/unity-explorer
System.Exception: DCL.PluginSystem.Global.MultiplayerPlugin's thrown an exception on disposal.
- Dominant language
- C#
- Stars
- 23
- Forks
- 17
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 101
Description
Sentry Issue: [UNITY-EXPLORER-PCH](https://decentraland.sentry.io/issues/7564748513/)
```
System.DllNotFoundException: Unable to load DLL 'livekit_ffi'. Tried the load the following dynamic libraries: Unable to load dynamic library 'livekit_ffi' because of 'C:\build\output\unity\unity\External\il2cpp\builds\external\baselib\Source\WinApi\Baselib_DynamicLibrary_WinApi.inl.h(36):Baselib_DynamicLibrary_OpenUtf16: Failed to open the requested dynamic library (0x06000000) - Le module spécifié est introuvable. (WinError:0000007e)
File "LiveKit__15.cpp", line 27837, in FfiDropHandle
File "LiveKit__15.cpp", line 24555, in FfiDropHandle
File "LiveKit__15.cpp", line 24553, in SendRequest
File "LiveKit__15.cpp", line 24443, in Dispose
File "il2cpp-codegen.h", line 633, in Dispose
...
(23 additional frame(s) were not displayed)
System.Exception: Cannot send request
File "LiveKit__15.cpp", line 24611, in SendRequest
File "LiveKit__15.cpp", line 24443, in Dispose
File "il2cpp-codegen.h", line 633, in Dispose
File "DCL.Plugins__21.cpp", line 13140, in Dispose
File "GenericMethods__6.cpp", line 19981, in SafeDispose
...
(21 additional frame(s) were not displayed)
System.Exception: DCL.PluginSystem.Global.MultiplayerPlugin's thrown an exception on disposal.
```
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 stack trace, especially the livekit_ffi load failure in FfiDropHandle/Dispose and the DCL.PluginSystem.Global.MultiplayerPlugin disposal path. Reproduce the Windows disposal failure and verify that MultiplayerPlugin disposal completes without the DllNotFoundException or “Cannot send request” errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- audio-video-rtc, game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100