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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
This is a duplicate of issue #1415952