EMSCRIPTEN sdk found but of unexpected version, Please install version 1.22

the same problem as here link text

using 4.5 preview, this time it says

“EMSCRIPTEN sdk found but of unexpected version, Please install version 1.22”

i have tried the method that worked for 1.21.0, replacing it with 1.22.0 and it still gives the error

Hey tegleg,

Thank you for your report.

We have assigned this issue to a member of our support staff, and they will begin investigation as soon as possible. If we are unable to reproduce the issue, or we need additional information, our staff member will comment here with additional questions. Otherwise, we will post an ‘Answer’ once we have logged the issue in our bug database or we have a solution for it.

In the meantime, please be sure to review our suggestions for how to report a bug, and feel free to edit your post if you have additional information to provide.

Thanks!

Facing the same problem in 4.4.3-0+UE4, please have a look at this post in the forum (contains screenshots & description) → HTML5 Packaging -> Tutorial Window? - C++ - Unreal Engine Forums

Hey tegleg, when unreal is looking for the emscripten sdk it uses an environment variable. It sounds like it’s pointing at the old sdk. Check that you’ve got an the env var EMSCRIPTEN set to EMSDK_PATH\emscripten\1.22.0 (so mine is set to C:\EmscriptenSDK\emscripten\1.22.0).

Howdy tegleg,

Just wanted to check in with you and see if this issue is still occurring for you. If so, please let me know so that i may further investigate what error you are currently seeing,

Thanks and have a great day!

hello, sorry for the delay. it was indeed the environment variable that needed changing. thanks

Hey tegleg,

Glad to hear that you got the issue fixed in your project. I am going to close this issue for tracking purposes,but if you run into a similar error later, please feel free to open this report.

Thanks and have a great day!