Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.5f1
Issue ID
797642
Regression
No
[WebGL] build fails with apostrophe in build output path
-e: see title. works by just removing the apostrophe from the path
-repro:
--create new project
--make a folder inside of the project folder that contains an apostrophe ' (for example \project\build's\)
--start a WebGL build into that folder
--NOTICE it fails building
--fails on OSX (tested 5.3.4, 5.4.0) and Win (tested 5.3.4+5, 5.4.0, 5.5.0)
Failed running D:\Unity Installs\5.3.5f1\Editor\Data\PlaybackEngines\WebGLSupport/BuildTools/Emscripten_Win/node/node.exe "D:\Unity Installs\5.3.5f1\Editor\Data\PlaybackEngines\WebGLSupport/BuildTools\uglify-js\bin\uglifyjs" "Temp/StagingArea/Data\UnityLoader.js" -c -m -o "Temp/StagingArea/Data\UnityLoader.js"
stdout:
stderr:
Parse error at Temp/StagingArea/Data\UnityLoader.js:3433,30
UnityEditor.HostView:OnGUI()
[10:44]
Exception: Failed building WebGL Player.
UnityEditor.WebGL.ProgramUtils.StartProgramChecked (UnityEditor.Utils.Program p) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/ProgramUtils.cs:32)
UnityEditor.WebGL.WebGlBuildPostprocessor.MinifyJS (System.String path) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:227)
UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:368)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Errors when rendering a camera to render texture with only depth
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
Add comment