Search Issue Tracker
Duplicate
Votes
0
Found in
2022.2.0a9
Issue ID
1413067
Regression
Yes
[WebGL] "InvalidOperationException: Emscripten SDK for this platform is not present" error thrown during WebGL build
Steps to reproduce:
1. Create a new 3D project
2. Switch platform to WebGL
3. Click Build in Build Settings
Expected result: Build succeeds without errors
Actual result: Build succeeds, but errors are thrown during the process
InvalidOperationException: Emscripten SDK for this platform is not present at C:/Program Files/2022.2.0a9/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten-win-x64. Did you build support for this platform?
at UnityEditor.WebGL.Emscripten.EmscriptenPaths.EmscriptenSdkDirectory () [0x000a0] in <66e2bc16a6374e2eac74a8912af05ddd>:0
at UnityEditor.WebGL.Emscripten.EmscriptenPaths.get_emsdkDir () [0x0000e] in <66e2bc16a6374e2eac74a8912af05ddd>:0
at UnityEditor.WebGL.Emscripten.EmscriptenPaths.get_nodeExecutable () [0x0000e] in <66e2bc16a6374e2eac74a8912af05ddd>:0
at UnityEditor.WebGL.WebsockifyEditorWrapper..ctor () [0x00033] in <66e2bc16a6374e2eac74a8912af05ddd>:0
Reproduced with: 2022.2.0a9
Didn't reproduce with: 2022.2.0a8, 2022.1.0b14, 2021.2.17f1, 2020.3.32f1, 2019.4.37f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Package signature validation unexpectedly return an invalid signature status if the validation check is done after the code signing certificate validaty range has passed
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
This is a duplicate of issue #1415952