You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.Console.WriteLine("WARNING: Unable to copy python dlls, they are probably in use...");
206
+
}
178
207
}
179
208
elseif(Target.Platform==UnrealTargetPlatform.Mac)
180
209
{
@@ -227,6 +256,15 @@ public UnrealEnginePython(TargetInfo Target)
227
256
228
257
}
229
258
259
+
privateboolIsPathRelative(stringPath)
260
+
{
261
+
boolIsRooted=Path.StartsWith("\\",System.StringComparison.Ordinal)||// Root of the current directory on Windows. Also covers "\\" for UNC or "network" paths.
262
+
Path.StartsWith("/",System.StringComparison.Ordinal)||// Root of the current directory on Windows, root on UNIX-likes.
263
+
// Also covers "\\", considering normalization replaces "\\" with "//".
264
+
(Path.Length>=2&&char.IsLetter(Path[0])&&Path[1]==':');// Starts with "<DriveLetter>:"
System.Console.WriteLine("[WARNING] Your Python installation is not in the system PATH environment variable, very probably the plugin will fail to load");
385
+
System.Console.WriteLine("[WARNING] Your Python installation is not in the system PATH environment variable.");
386
+
System.Console.WriteLine("[WARNING] Ensure your python paths are set in GlobalConfig (DefaultEngine.ini) so the path can be corrected at runtime.");
0 commit comments