UnrealEngineHTML5 / Documentation

530 stars 181 forks source link

Solution to various installation errors #71

Open ghost opened 3 years ago

ghost commented 3 years ago

I had some issues installing UE HTML5. Here are some solutions in case somebody has the same issues.

Error: "python3: Permission denied". This error occured in multiple files so you may have to do it somewhere else too... Solution:

  1. navigate to "C:\Users\USERNAME\ue4-[VERSION]-html5\Engine\Platforms\HTML5\Build\emsdk\emsdk-[VERSION]"
  2. open the file "emsdk" in a text editor. (the file has NO extension!)
  3. at the buttom there should be something like exec "$EMSDK_PYTHON" "$0.py" "$@". Replace $EMSDK_PYTHON with just py
  4. navigate to \upstream\emscripten
  5. open all files with no file extension in notepad++
  6. replace all in all opened documents: find: exec "$PYTHON" "$0.py" "$@" replace: exec "py" "$0.py" "$@"
  7. open windows alias (press windows key, then just type "alias")
  8. deactivate app-installer python.exe and app-installer python3.exe
  9. run Git as admin if you havent already
  10. there should be no permission error any more

Error: "Warning: The SDK/tool '[TOOL_NAME]' cannot be activated since it is not installed! Skipping this tool" Solution: execute emsdk install TOOL_NAME for each missing tool.

It was a real pain to figure this out... so I hope this helps.