Closed emelrad12 closed 3 years ago
In dll manipulator line 694, it check if it is UNITY_STANDALONE_LINUX || UNITY_EDITOR_LINUX and for some reason that is true, but also UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN is true the solution is to move windows to the first if.
UNITY_STANDALONE_LINUX || UNITY_EDITOR_LINUX
UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
#if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN return PInvokes_Windows.FreeLibrary(libHandle); #elif UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX return PInvokes_Osx.dlclose(libHandle) == 0; #elif UNITY_STANDALONE_LINUX || UNITY_EDITOR_LINUX return PInvokes_Linux.dlclose(libHandle) == 0; #else throw GetUnsupportedPlatformExcpetion(); #endif
No idea why it's like that, but I'll merge your fix. Out of curiosity, what's your actual OS?
I am on windows. Unity 2020.1.17f
And that is not a fix, but a workaround.
In dll manipulator line 694, it check if it is
UNITY_STANDALONE_LINUX || UNITY_EDITOR_LINUX
and for some reason that is true, but alsoUNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
is true the solution is to move windows to the first if.