Skip to content

Commit b79b373

Browse files
committed
finally fix 4.18 transition bug
1 parent 1475d32 commit b79b373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/UnrealEnginePython/Private/UnrealEnginePython.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void FUnrealEnginePythonModule::UESetupPythonInterpreter(bool verbose) {
103103
PyList_Insert(py_path, 0, py_plugin_scripts_path);
104104

105105
/* add the plugin paths - windows only */
106-
FString PythonHome = FPaths::ConvertRelativePathToFull(FPaths::Combine(PROJECT_CONTENT_DIR, FString("UnrealEnginePython/Binaries/Win64")));
106+
FString PythonHome = FPaths::ConvertRelativePathToFull(FPaths::Combine(PluginRoot, FString("Binaries/Win64")));
107107
char *python_path = TCHAR_TO_UTF8(*PythonHome);
108108
char *site_path = TCHAR_TO_UTF8(*FPaths::Combine(FString(PythonHome), FString("Lib/site-packages")));
109109
PyList_Insert(py_path, 0, PyUnicode_FromString(python_path));

0 commit comments

Comments
 (0)