decentraland / decentraland/unity-explorer

System.DllNotFoundException: Unable to load DLL 'WindowResizeConstraint'. Tried the load the following dynamic libraries: Unable to load dynamic library 'WindowResizeConstraint' because of 'C:\build\output\unity\unity\External\il2cpp\builds\external\baselib\Source\WinApi\Baselib_Dy...

Open
#9,089 2 comments 0 reactions 0 assignees View on GitHub
1-high bug sentry Windows Only
Dominant language
C#
Stars
23
Forks
17
Avg merge
2d 16h
Merged PRs (30d)
101

Description

Sentry Issue: [UNITY-EXPLORER-PDN](https://decentraland.sentry.io/issues/7578251577/)

```
System.DllNotFoundException: Unable to load DLL 'WindowResizeConstraint'. Tried the load the following dynamic libraries: Unable to load dynamic library 'WindowResizeConstraint' 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) - The specified module could not be found. (WinError:0000007e)
File "C:/workspace/workspace/p/Explorer/Assets/Plugins/NativeWindowManager/NativeWindowManager.cs", line 229, in ApplyConstraints
File "C:/workspace/workspace/p/Explorer/Assets/Plugins/NativeWindowManager/NativeWindowManager.cs", line 224, in ApplyConstraints
File "C:/workspace/workspace/p/Explorer/Assets/Plugins/NativeWindowManager/NativeWindowManager.cs", line 120, in Initialize
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/Global/Dynamic/MainSceneLoader.cs", line 230, in InitializeFlowAsync
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/Global/Dynamic/MainSceneLoader.cs", line 196, in ParseEnvironment
...
(9 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

Open the contributing guide

Research direction

Start by reading Assets/Plugins/NativeWindowManager/NativeWindowManager.cs around ApplyConstraints and Initialize, then trace the calls from Assets/DCL/Infrastructure/Global/Dynamic/MainSceneLoader.cs. Reproduce the Windows initialization path and determine why WindowResizeConstraint cannot be loaded. Done means initialization no longer reports this DllNotFoundException.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.