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
- IAP Listener component’s list titles go out of bounds when resizing the Inspector window horizontally
- Selected Camera sublayer blends with highlight color in Graphics Compositor window when Editor theme is set to Light
- Scene view/Status bar is flickering when hovering mouse on BaseLayer if Camera Layer is above BaseLayer in Graphics Compositor window
- Performance degrades when Vsync is enabled on computers with Radeon GPUs and monitors with refresh rates above 60Hz
- Serialized UnityEvent data is lost when array elements are reordered and applied to prefab via "Modified Component" menu
This is a duplicate of issue #1415952