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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
This is a duplicate of issue #1415952