in csharp/NativeUtils/ResourceLoader.cs [1140:1172]
private bool TryLoadAt(string deploymentPath)
{
_lastUsedPath = deploymentPath;
DbgClear("last.");
Dbg("last.path", deploymentPath);
if (!IsAscii(deploymentPath))
Dbg("last.pathNonAscii", true);
try
{
LoadAt(deploymentPath);
_lastSuccessfulPath = _lastUsedPath;
#if OSX_FIX_ATTEMPT_1_
if (OS.IsOsx)
{
// Set environment path for OSX and _unload_ the libs!
AddOsxDlPath("LD_LIBRARY_PATH", deploymentPath);
AddOsxDlPath("DYLD_LIBRARY_PATH", deploymentPath);
AddOsxDlPath("DYLD_FALLBACK_LIBRARY_PATH", deploymentPath);
}
#endif
return true;
}
catch (Exception e)
{
if (!IsIgnoredException(e))
throw;
LastDeploymentException = e;
Log($"Failed to deploy to: {deploymentPath}");
return false;
}
}