Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails for editor-ubuntu-2023.1.0f1-webgl-1.1.2 with URP #214

Open
JohannesDeml opened this issue Jun 16, 2023 · 0 comments
Open

Build fails for editor-ubuntu-2023.1.0f1-webgl-1.1.2 with URP #214

JohannesDeml opened this issue Jun 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@JohannesDeml
Copy link

Bug description
When building the project (Link) with Unity 2023.1.0f1 with urp (Branch) I get the following error:

emcc: error: '/opt/unity/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm/wasm-ld @/tmp/emscripten_v1u3qz8c.rsp.utf-8' failed (received SIGKILL (-9))

The build works in CI when creating a development build, but not for normal builds (for both WebGL1 & 2). When building locally on a windows machine I don't have any errors, also when using the commandline to start the build the same way as in the action.

How to reproduce

  1. Fork https://github.com/JohannesDeml/UnityWebGL-LoadingTest
  2. Run action to get a unity license and set it in the secrets
  3. Push the tag 2023.1.0f1-urp-webgl2 to the 2023.1-urp branch
  4. A new build should be triggered by automation, this build will fail

Expected behavior

The build should finish successfully

Additional details

Full log from the action: 5_Build project.log
Full log from the local build that succeeded: build-2023.1.0f1-urp-webgl2.log
Local build run through the following batch script:

@echo off

set UNITY_VERSION=2023.1.0f1
set TAG=%UNITY_VERSION%-urp-webgl2
set BUILD_NAME=%TAG%

echo "Building %BUILD_NAME%"
"C:\Program Files\Unity\%UNITY_VERSION%\Editor\Unity.exe" -quit -batchmode -logFile Builds\build-%BUILD_NAME%.log -projectPath "%~dp0" -executeMethod UnityBuilderAction.BuildScript.BuildWithCommandlineArgs -customParameters "-tag %TAG%" -buildTarget WebGL -customBuildName %BUILD_NAME% -customBuildPath "Builds\%BUILD_NAME%" -buildVersion "1.0.0" -androidVersionCode "1"
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant