Error building player because build target was unsupported WebGL (2019.4.11f1)
Error description
Error building player because build target was unsupported (WebGL unity3d:2019.4.11f1)
Error log
Technical details
-
Which CI service are you using? None at the moment
-
Is this failing with shared runners or are you using your own runners? N/A
-
What is you CI configuration (is it different from example project)? n/A
-
Did you try with the Example project before trying with your own?
-
Did you try running the build locally from command line? Yes via windows cli it works fine, trying to run your image locally and do the build fails. Believe that the WebGL component needs to be installed.
- Did it work previously with a different version? The project has only been ran on this version.
- Are you using
Assets/Scripts/Editor/BuildCommand.csexactly as is from the repo? No. We have our own which works in windows. WebGLBuilder.cs
Script I run to build
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' /opt/Unity/Editor/Unity \
-projectPath $(pwd) \
-buildTarget WebGL \
-quit \
-batchmode \
-executeMethod WebGLBuilder.build \
-logFile stdout.log
I appreciate the work you do and any help is greatly appreciated.
Edited by Gabriel Le Breton