Bug description
PlayMode tests crash with a native segfault (exit code 139) on Unity 6000.3.8f1 before any test code executes. The crash occurs during the test framework's IPrebuildSetup / BuildActionTaskBase phase. EditMode tests on the same project pass without issue.
Unity version
6000.3.8f1
Runner version
game-ci/unity-test-runner@v4
Runner configuration
- ubuntu-latest
- No custom parameters
Logs
The runner reaches "Testing in playmode", enters PlayMode (GLX context created), then crashes:
# Testing in playmode #
...
UnityEditor.TestTools.TestRunner.TestRun.Tasks.BuildActionTaskBase`1/<ExecuteMethods>d__8<UnityEngine.TestTools.IPrebuildSetup>:MoveNext ()
...
Obtained 49 stack frames.
#5 0x0055bce7673f13 in scripting_method_invoke(...)
#6 0x0055bce764c92c in ScriptingInvocation::Invoke(...)
#7 0x0055bce764ca05 in ScriptingInvocation::Invoke<...>(...)
#8 0x0055bce77ab805 in StackTraceUtilityProxy::ExtractStackTrace(...)
...
# Failure #
To find the reason for failure: please search for errors in the log above.
##[error]The process '/usr/bin/docker' failed with exit code 139
Exit code 139 = SIGSEGV. The crash is in the native Unity engine, not in user test code (no TestContext.Progress.WriteLine markers from our tests appear in the output).
Workaround
Run PlayMode tests locally in the editor. Only run EditMode tests in CI.
Bug description
PlayMode tests crash with a native segfault (exit code 139) on Unity 6000.3.8f1 before any test code executes. The crash occurs during the test framework's
IPrebuildSetup/BuildActionTaskBasephase. EditMode tests on the same project pass without issue.Unity version
6000.3.8f1
Runner version
game-ci/unity-test-runner@v4
Runner configuration
Logs
The runner reaches "Testing in playmode", enters PlayMode (GLX context created), then crashes:
Exit code 139 = SIGSEGV. The crash is in the native Unity engine, not in user test code (no
TestContext.Progress.WriteLinemarkers from our tests appear in the output).Workaround
Run PlayMode tests locally in the editor. Only run EditMode tests in CI.