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.
#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
In dll manipulator line 694,
it check if it is
UNITY_STANDALONE_LINUX || UNITY_EDITOR_LINUXand for some reason that is true, but also
UNITY_STANDALONE_WIN || UNITY_EDITOR_WINis truethe solution is to move windows to the first if.