game-ci / unity-test-runner Goto Github PK
View Code? Open in Web Editor NEWRun tests for any Unity project
Home Page: https://github.com/marketplace/actions/unity-test-runner
License: MIT License
Run tests for any Unity project
Home Page: https://github.com/marketplace/actions/unity-test-runner
License: MIT License
name: Build project
on:
pull_request: {}
push: { branches: [master] }
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
jobs:
build:
name: Build my project ✨
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
testMode:
- playmode
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v2
with:
lfs: true
# Cache
- uses: actions/[email protected]
with:
path: Library
key: Library
# Test
- name: Run tests
uses: webbertakken/[email protected]
with:
testMode: ${{ matrix.testMode }}
artifactsPath: ${{ matrix.testMode }}-artifacts
# Output
- uses: actions/upload-artifact@v1
with:
name: Build
path: ${{ steps.tests.outputs.artifactsPath }}
###########################
# Project directory #
###########################
total 44K
drwxr-xr-x 9 1001 115 4.0K Feb 11 17:18 .
drwxr-xr-x 5 root root 4.0K Feb 11 17:18 ..
drwxr-xr-x 9 1001 115 4.0K Feb 11 17:16 .git
-rw-r--r-- 1 1001 115 66 Feb 11 17:16 .gitattributes
drwxr-xr-x 3 1001 115 4.0K Feb 11 17:16 .github
-rw-r--r-- 1 1001 115 1.2K Feb 11 17:16 .gitignore
drwxr-xr-x 2 1001 115 4.0K Feb 11 17:16 .vscode
drwxr-xr-x 4 1001 115 4.0K Feb 11 17:16 Assets
drwxr-xr-x 2 1001 115 4.0K Feb 11 17:16 Packages
drwxr-xr-x 2 1001 115 4.0K Feb 11 17:16 ProjectSettings
drwxr-xr-x 2 root root 4.0K Feb 11 17:18 playmode-artifacts
/steps/run_tests.sh: line 147: [: =: unary operator expected
###########################
# Play Mode Results #
###########################
cat: /github/workspace/playmode-artifacts/playmode-results.xml: No such file or directory
cat: /github/workspace/playmode-artifacts/playmode-results.xml: No such file or directory
/steps/run_tests.sh: line 171: [: -gt: unary operator expected
##[error]The process '/usr/bin/docker' failed with exit code 1
##[error]Node run failed with exit code 1
Any ideas? Tested this in a barebones project with a single unit test
Hello,
I have an issue, I have searched everywhere and I ask in Discord but nobody can find a solution.
Where I run my tests is like no tests were found I have this output :
=================
Analyze result:
✅ Test Results - 0/0 - Passed in 0.000s
I have a new Unity project with 2 simple tests: SimplePlayModeTest and SimpleEditModeTest
I can run the tests in the Unity Editor everything is working.
I don't know what I have missed or misunderstood.
If you have any idea where it can come from? I will be very happy to know 😸
Hello.
When we were trying to use this action, the folder structure of our project was such that Unity would get in an endless loop of finding DLLs. (ie from the project library directory and from our packages source)
In order to get Unity to ignore the project directory, I renamed it to end with a tilde:
jobs:
testAllModes:
name: Test in ${{ matrix.testMode }} on version ${{ matrix.unityVersion }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
projectPath:
- VisualPinball.Unity/Unity-Test-Project-2019.4~
unityVersion:
- 2019.4.1f1
testMode:
- editmode
When I try to run this action when projectPath
ends in the tilde, it just sits for hours and eventually times out:
Run failed for unity-workflow-3 (029e4dd)
Repository: jsm174/vpe_net_standard
Workflow: Build project
Duration: 6 hours and 14.0 seconds
Finished: 2020-06-27 07:02:19 UTC
View results
Jobs:
Test in editmode on version 2019.4.1f1 cancelled (5 annotations)
This morning I renamed the project to begin with a period, and had no issues getting it to run.
projectPath:
- VisualPinball.Unity/.Unity-Test-Project-2019.4
[Project] Loading completed in 112.992 seconds
Project init time: 0.318 seconds
Template init time: 0.000 seconds
Package Manager init time: 0.000 seconds
Asset Database init time: 0.000 seconds
Global illumination init time: 0.000 seconds
Assemblies load time: 0.000 seconds
Unity extensions init time: 0.001 seconds
Asset Database refresh time: 0.000 seconds
Scene opening time: 0.328 seconds
Caught fatal signal - signo:11 code:1 errno:0 addr:(nil)
Obtained 12 stack frames.
#0 0x007f613be3a8a0 in funlockfile
#1 0x0055e34f41cfc3 in GetNetActiveWindow()
#2 0x0055e34f41ce96 in CloseStaleAuxWindows()
#3 0x0055e34f42c2f5 in CheckFocus(void*)
#4 0x007f613cc20d03 in g_source_get_time
#5 0x007f613cc20285 in g_main_context_dispatch
#6 0x007f613cc20650 in g_main_context_dispatch
#7 0x007f613cc20962 in g_main_loop_run
#8 0x007f613e9cfa25 in gtk_main
#9 0x0055e34f42b87a in main
#10 0x007f613ba58b97 in __libc_start_main
#11 0x0055e34c29ae9f in _start
Segmentation fault (core dumped)
Unexpected exit code 139
###########################
# Project directory #
###########################
/steps/run_tests.sh: line 106: [: =: unary operator expected
total 56K
drwxr-xr-x 12 1001 116 4.0K Sep 30 07:44 .
drwxr-xr-x 5 root root 4.0K Sep 30 07:44 ..
drwxr-xr-x 9 1001 116 4.0K Sep 30 07:41 .git
-rw-r--r-- 1 1001 116 2.0K Sep 30 07:41 .gitattributes
drwxr-xr-x 3 1001 116 4.0K Sep 30 07:41 .github
-rw-r--r-- 1 1001 116 336 Sep 30 07:41 .gitignore
drwxr-xr-x 4 1001 116 4.0K Sep 30 07:41 Assets
drwxr-xr-x 9 root root 4.0K Sep 30 07:46 Library
drwxr-xr-x 2 root root 4.0K Sep 30 07:44 Logs
drwxr-xr-x 2 1001 116 4.0K Sep 30 07:44 Packages
drwxr-xr-x 2 1001 116 4.0K Sep 30 07:41 ProjectSettings
drwxr-xr-x 2 root root 4.0K Sep 30 07:46 Temp
drwxr-xr-x 2 1001 116 4.0K Sep 30 07:41 UserSettings
drwxr-xr-x 2 root root 4.0K Sep 30 07:44 editmode-artifacts
###########################
# Edit Mode Results #
###########################
cat: /github/workspace/editmode-artifacts/editmode-results.xml: No such file or directory
cat: /github/workspace/editmode-artifacts/editmode-results.xml: No such file or directory
/steps/run_tests.sh: line 157: [: =: unary operator expected
/steps/run_tests.sh: line 175: [: -gt: unary operator expected
Error: The process '/usr/bin/docker' failed with exit code 139
Bug description
Test Runner changes
ProjectSettings/ProjectSettings.asset
specifically it edits this setting
runInBackground: 0
to
runInBackground: 1
this change is not reversed after the testing step is done, and so the branch is flagged "dirty" and this prevents the Building step from being executed.
And this error is showed
Warning: Changes were made to the following files and folders:
Warning: M ProjectSettings/ProjectSettings.asset
Error: Branch is dirty. Refusing to base semantic version on uncommitted changes
How to reproduce
run the Test Runner step with any configuration on a unity project in a github repository through git hub action as follows:
name: Actions 😎
on: [push, pull_request]
jobs:
build:
name: Build my project ✨
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v2
with:
lfs: true
# Cache
- uses: actions/cache@v2
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
# Test
- name: Run tests
uses: game-ci/unity-test-runner@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
# Build
- name: Build project
uses: game-ci/unity-builder@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: StandaloneWindows64
# Output
- uses: actions/upload-artifact@v2
with:
name: Build
path: build
if the testing step runs successfully,the build should also run successfully and produce the built project as an artifact
Additional details
The project is built successfully if the same script is used but with out the test runner step, so the test runner is probably creating the problem
This is the project : https://github.com/Hussein-Attie/BugFixing3.git
Bug description
When running this action with the useHostNetwork
flag, GitHub Actions produces a warning:
Warning: Unexpected input(s) 'useHostNetwork', valid inputs are ['unityVersion', 'customImage', 'projectPath', 'testMode', 'artifactsPath', 'useNetworkHost', 'customParameters', 'sshAgent', 'githubToken', 'checkName']
How to reproduce
- name: Run tests
uses: game-ci/unity-test-runner@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
useHostNetwork: true
githubToken: ${{ secrets.GITHUB_TOKEN }}
The above example should not produce a warning
Bug description
terminal prompts disabled
error when try to access the package on git private repository with sshgame-ci/unity-builder
, but it works fine.How to reproduce
Packages/manifest.json
with git+ssh
URL{
"dependencies": {
"com.my-company.my-project.package-one": "git+ssh://[email protected]/My-Project/package_one.git?path=MyProject/com.my-company.my-project.package-one#feature/ci_test",
"com.my-company.my-project.package-two": "git+ssh://[email protected]/My-Project/package_two.git?path=MyProject/com.my-company.my-project.package-two#feature/ci_test",
}
}
- name: Run EditMode and PlayMode Tests
id: tests
uses: game-ci/unity-test-runner@v2
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
sshAgent: ${{ env.SSH_AUTH_SOCK }}
Project has invalid dependencies:
com.my-company.my-project.package-one: Error when executing git command. fatal: could not read Username for 'https://github.com': terminal prompts disabled
Expected behavior
Additional details
jobs:
tests:
name: Test Code Quality
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Access to private repo
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Cache Library
uses: actions/cache@v2
with:
path: Library
key: Library
- name: Run EditMode and PlayMode Tests
id: tests
uses: game-ci/unity-test-runner@v2
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
sshAgent: ${{ env.SSH_AUTH_SOCK }}
- uses: actions/upload-artifact@v2
if: always()
with:
name: Test results for ${{ matrix.testMode }}
path: ${{ steps.tests.outputs.artifactsPath }}
buildIOS:
name: Build for ${{ matrix.targetPlatform }}-${{ matrix.environment }} by Unity
environment:
name: ${{ matrix.environment }}
runs-on: ubuntu-latest
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
targetPlatform:
- iOS
environment:
- staging
- production
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
lfs: true
- name: Access to private repo
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Cache Library
uses: actions/cache@v2
with:
path: |
Library
build/${{ matrix.targetPlatform }}
key: Library-${{ matrix.targetPlatform }}-
restore-keys: Library-
- name: Build Unity Project
uses: game-ci/unity-builder@v2
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
allowDirtyBuild: true
sshAgent: ${{ env.SSH_AUTH_SOCK }}
targetPlatform: ${{ matrix.targetPlatform }}
buildMethod: MyBuildMethod
customParameters: -environment ${{ matrix.environment }} -applicationIdentifier ${{ secrets.IOS_APP_ID }}
- name: Upload Build
uses: actions/upload-artifact@v2
with:
name: build-${{ matrix.targetPlatform }}-${{ matrix.environment }}
path: build/${{ matrix.targetPlatform }}
Rebuilding Library because the asset database could not be found!
[Package Manager] Done resolving packages in 32.01s seconds
An error occurred while resolving packages:
Project has invalid dependencies:
com.my-company.my-project.package-one: Error when executing git command. fatal: could not read Username for 'https://github.com': terminal prompts disabled
You may need to set up a Git credentials helper
to access a private repository.
com.my-company.my-project.package-two: Error when executing git command. fatal: could not read Username for 'https://github.com': terminal prompts disabled
You may need to set up a Git credentials helper
to access a private repository.
A re-import of the project may be required to fix the issue or a manual modification of /github/workspace/Packages/manifest.json file.
/home/bokken/buildslave/unity/build/External/baselib/builds/Include/C/Internal/Baselib_Semaphore_FutexBased.inl.h(151): Assertion failed (count >= 0) - Destruction is not allowed when there are still threads waiting on the semaphore.
Unexpected exit code 133
An own created simple unity project.
Testing the GameCI workflow to use it for another similar project in team work.
The whole simple example workflow with included test-runner from:
https://game.ci/docs/github/getting-started#simple-example
Because there are old versions used and i just want to test it, i have done some small modifications:
name: Actions 😎
# Controls when the action will run.
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets environment variables
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
name: Build my project ✨
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout repository
uses: actions/[email protected]
with:
lfs: true
# Cache
- uses: actions/[email protected]
with:
path: Library
key: Library
# Test
- name: Run tests
uses: game-ci/[email protected]
with:
unityVersion: ${{ secrets.UNITY_VERSION }}
# Build
- name: Build project
uses: game-ci/[email protected]
with:
unityVersion: ${{ secrets.UNITY_VERSION }}
targetPlatform: Android
# Output
- uses: actions/upload-artifact@v2
with:
name: Build
path: build
Here are some parts of the log:
2021-02-19T02:44:06.3047749Z Successfully built f675e325906d
2021-02-19T02:44:06.3717728Z Successfully tagged unity-action:***-base-0
2021-02-19T02:44:06.3785842Z [command]/usr/bin/docker run --workdir /github/workspace --rm --env UNITY_LICENSE --env UNITY_LICENSE_FILE --env UNITY_EMAIL --env UNITY_PASSWORD --env UNITY_SERIAL --env UNITY_VERSION=*** --env PROJECT_PATH=. --env TEST_MODE=all --env ARTIFACTS_PATH=artifacts --env CUSTOM_PARAMETERS= --env HOME=/github/home --env GITHUB_REF --env GITHUB_SHA --env GITHUB_REPOSITORY --env GITHUB_ACTOR --env GITHUB_WORKFLOW --env GITHUB_HEAD_REF --env GITHUB_BASE_REF --env GITHUB_EVENT_NAME --env GITHUB_WORKSPACE=/github/workspace --env GITHUB_ACTION --env GITHUB_EVENT_PATH --env RUNNER_OS --env RUNNER_TOOL_CACHE --env RUNNER_TEMP --env RUNNER_WORKSPACE --volume /var/run/docker.sock:/var/run/docker.sock --volume /home/runner/work/_temp/_github_home:/github/home --volume /home/runner/work/_temp/_github_workflow:/github/workflow --volume /home/runner/work/test/test:/github/workspace unity-action:***-base-0
2021-02-19T02:44:06.9088206Z Requesting activation (personal license)
2021-02-19T02:44:08.8709386Z Activation complete.
2021-02-19T02:44:08.8715922Z Using project path "/github/workspace/.".
2021-02-19T02:44:08.8717597Z Using artifacts path "artifacts" to save test results.
2021-02-19T02:44:08.8719006Z Using custom parameters .
2021-02-19T02:44:08.8720132Z All modes selected for testing.
2021-02-19T02:44:08.8721751Z Using Unity version "***" to test.
2021-02-19T02:44:08.8722404Z
2021-02-19T02:44:08.8723273Z ###########################
2021-02-19T02:44:08.8724241Z # Artifacts folder #
2021-02-19T02:44:08.8725223Z ###########################
2021-02-19T02:44:08.8725776Z
2021-02-19T02:44:08.8726912Z Creating "/github/workspace/artifacts" if it does not exist.
2021-02-19T02:44:08.8733481Z
2021-02-19T02:44:08.8734441Z ###########################
2021-02-19T02:44:08.8735652Z # Project directory #
2021-02-19T02:44:08.8736659Z ###########################
2021-02-19T02:44:08.8737205Z
2021-02-19T02:44:08.8768949Z total 64K
2021-02-19T02:44:08.8770611Z drwxr-xr-x 8 1001 116 4.0K Feb 19 02:44 .
2021-02-19T02:44:08.8771925Z drwxr-xr-x 5 root root 4.0K Feb 19 02:44 ..
2021-02-19T02:44:08.8773260Z drwxr-xr-x 9 1001 116 4.0K Feb 19 02:41 .git
2021-02-19T02:44:08.8774639Z -rw-r--r-- 1 1001 116 2.9K Feb 19 02:41 .gitattributes
2021-02-19T02:44:08.8776362Z drwxr-xr-x 3 1001 116 4.0K Feb 19 02:41 .github
2021-02-19T02:44:08.8777842Z -rw-r--r-- 1 1001 116 2.6K Feb 19 02:41 .gitignore
2021-02-19T02:44:08.8779185Z drwxr-xr-x 9 1001 116 4.0K Feb 19 02:41 Assets
2021-02-19T02:44:08.8780564Z -rw-r--r-- 1 1001 116 19K Feb 19 02:41 LICENSE.txt
2021-02-19T02:44:08.8781953Z drwxr-xr-x 2 1001 116 4.0K Feb 19 02:41 Packages
2021-02-19T02:44:08.8783414Z drwxr-xr-x 2 1001 116 4.0K Feb 19 02:41 ProjectSettings
2021-02-19T02:44:08.8784854Z -rw-r--r-- 1 1001 116 658 Feb 19 02:41 README.md
2021-02-19T02:44:08.8786217Z drwxr-xr-x 2 root root 4.0K Feb 19 02:44 artifacts
2021-02-19T02:44:08.8786929Z
2021-02-19T02:44:08.8787797Z ###########################
2021-02-19T02:44:08.8788790Z # Testing in EditMode #
2021-02-19T02:44:08.8789758Z ###########################
2021-02-19T02:44:08.8790327Z
2021-02-19T02:49:53.9535603Z Segmentation fault (core dumped)
2021-02-19T02:49:53.9697537Z [Licensing::Module] Channel doesn't exist: "LicenseClient-root"
...
2021-02-19T02:49:53.9710692Z Unable to load libnotify
...
2021-02-19T02:49:53.9716738Z LICENSE SYSTEM [2021219 2:44:10] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored).
2021-02-19T02:49:53.9719138Z [Licensing::Module] Serial number assigned to: "F4-Q8V6-CCV3-78C3-MT56-XXXX"
...
2021-02-19T02:49:53.9899295Z Rebuilding Library because the asset database could not be found!
...
2021-02-19T02:49:54.0156394Z PlayerPrefs - Creating folder: /github/home/.config/unity3d/DefaultCompany
2021-02-19T02:49:54.0158544Z PlayerPrefs - Creating folder: /github/home/.config/unity3d/DefaultCompany/Harae
2021-02-19T02:49:54.0159970Z Unable to load player prefs
...
2021-02-19T02:49:54.0353156Z Cannot set deprecated build target 'OSXIntel64' for Assets/Oculus/LipSync/Plugins/iOS/libOVRLipSync.dylib
2021-02-19T02:49:54.0355329Z (Filename: /home/bokken/buildslave/unity/build/Modules/AssetPipelineEditor/Public/PluginImporter.cpp Line: 916)
...
2021-02-19T02:49:54.7344333Z Assets/Oculus/VR/Scripts/OVRPlugin.cs(4739,35): warning CS0414: The field 'OVRPlugin.cachedHandState' is assigned but its value is never used
2021-02-19T02:49:54.7347541Z Assets/Oculus/VR/Scripts/Util/OVRMixedRealityCaptureTest.cs(20,13): warning CS0414: The field 'OVRMixedRealityCaptureTest.currentMode' is assigned but its value is never used
2021-02-19T02:49:54.7351161Z Assets/Oculus/VR/Scripts/Util/OVRMixedRealityCaptureTest.cs(11,7): warning CS0414: The field 'OVRMixedRealityCaptureTest.inited' is assigned but its value is never used
2021-02-19T02:49:54.7354201Z Assets/Oculus/VR/Scripts/OVRPlugin.cs(4847,35): warning CS0414: The field 'OVRPlugin.cachedSkeleton2' is assigned but its value is never used
2021-02-19T02:49:54.7356831Z Assets/Oculus/VR/Scripts/OVRPlugin.cs(4846,26): warning CS0414: The field 'OVRPlugin.cachedSkeleton' is assigned but its value is never used
...
2021-02-19T02:49:55.1665782Z Shader 'Oculus/OVRMRCameraFrameLit': fallback shader 'Alpha-Diffuse' not found
...
2021-02-19T02:49:55.2740701Z Can't import tangents and binormals, because mesh 'CeilingWedge01' doesn't have any.
2021-02-19T02:49:55.2742610Z Can't import tangents and binormals, because mesh 'CeilingWedge02' doesn't have any.
2021-02-19T02:49:55.2744495Z Can't import tangents and binormals, because mesh 'CeilingWedge03' doesn't have any.
2021-02-19T02:49:55.2746389Z Can't import tangents and binormals, because mesh 'CeilingWedge04' doesn't have any.
2021-02-19T02:49:55.2748253Z Can't import tangents and binormals, because mesh 'ColumnBlock01' doesn't have any.
2021-02-19T02:49:55.2750118Z Can't import tangents and binormals, because mesh 'ColumnBlock02' doesn't have any.
2021-02-19T02:49:55.2751966Z Can't import tangents and binormals, because mesh 'ColumnBlock03' doesn't have any.
2021-02-19T02:49:55.2753817Z Can't import tangents and binormals, because mesh 'ColumnBlock04' doesn't have any.
2021-02-19T02:49:55.2755670Z Can't import tangents and binormals, because mesh 'ColumnBlock05' doesn't have any.
2021-02-19T02:49:55.2757511Z Can't import tangents and binormals, because mesh 'ColumnBlock06' doesn't have any.
2021-02-19T02:49:55.2759356Z Can't import tangents and binormals, because mesh 'ColumnBlock07' doesn't have any.
2021-02-19T02:49:55.2761180Z Can't import tangents and binormals, because mesh 'ColumnBlock08' doesn't have any.
2021-02-19T02:49:55.2763030Z Can't import tangents and binormals, because mesh 'ColumnBlock09' doesn't have any.
2021-02-19T02:49:55.2764875Z Can't import tangents and binormals, because mesh 'ColumnBlock10' doesn't have any.
2021-02-19T02:49:55.2766722Z Can't import tangents and binormals, because mesh 'ColumnBlock11' doesn't have any.
2021-02-19T02:49:55.2768541Z Can't import tangents and binormals, because mesh 'ColumnBlock12' doesn't have any.
2021-02-19T02:49:55.2770385Z Can't import tangents and binormals, because mesh 'ColumnBlock13' doesn't have any.
2021-02-19T02:49:55.2772268Z Can't import tangents and binormals, because mesh 'GroundSection02' doesn't have any.
2021-02-19T02:49:55.2774107Z Can't import tangents and binormals, because mesh 'ThinBars' doesn't have any.
2021-02-19T02:49:55.2775970Z Can't import tangents and binormals, because mesh 'Tunnel' doesn't have any.
2021-02-19T02:49:55.2777803Z Can't import tangents and binormals, because mesh 'WallsAndDoors' doesn't have any.
2021-02-19T02:49:55.2779689Z Can't import tangents and binormals, because mesh 'bridgeplatform' doesn't have any.
2021-02-19T02:49:55.2781540Z Can't import tangents and binormals, because mesh 'groundmesh' doesn't have any.
2021-02-19T02:49:55.2783351Z Can't import tangents and binormals, because mesh 'transform40' doesn't have any.
...
2021-02-19T02:49:55.4322168Z Shader 'Oculus/OVRMRCameraFrameLit': fallback shader 'Alpha-Diffuse' not found
2021-02-19T02:49:55.4324167Z Shader 'Oculus/OVRMRCameraFrameLit': fallback shader 'Alpha-Diffuse' not found
...
2021-02-19T02:49:55.4573378Z Shader 'Oculus/OVRMRCameraFrameLit': fallback shader 'Alpha-Diffuse' not found
...
2021-02-19T02:49:55.4582230Z Unloading 8827 unused Assets to reduce memory usage. Loaded Objects now: 2264.
2021-02-19T02:49:55.4584111Z Total: 32.611200 ms (FindLiveObjects: 1.391100 ms CreateObjectMapping: 0.697200 ms MarkObjects: 12.251200 ms DeleteObjects: 18.270900 ms)
2021-02-19T02:49:55.4585269Z
2021-02-19T02:49:55.4586325Z [Project] Loading completed in 344.107 seconds
2021-02-19T02:49:55.4587532Z Project init time: 1.628 seconds
2021-02-19T02:49:55.4588641Z Template init time: 0.000 seconds
2021-02-19T02:49:55.4589829Z Package Manager init time: 0.000 seconds
2021-02-19T02:49:55.4591045Z Asset Database init time: 0.000 seconds
2021-02-19T02:49:55.4592245Z Global illumination init time: 0.000 seconds
2021-02-19T02:49:55.4593457Z Assemblies load time: 0.000 seconds
2021-02-19T02:49:55.4594649Z Unity extensions init time: 0.001 seconds
2021-02-19T02:49:55.4595877Z Asset Database refresh time: 0.000 seconds
2021-02-19T02:49:55.4597040Z Scene opening time: 0.204 seconds
2021-02-19T02:49:55.4598500Z Caught fatal signal - signo:11 code:1 errno:0 addr:(nil)
2021-02-19T02:49:55.4599691Z Unexpected exit code 139
2021-02-19T02:49:55.4600330Z
2021-02-19T02:49:55.4601180Z ###########################
2021-02-19T02:49:55.4602154Z # Testing in PlayMode #
2021-02-19T02:49:55.4603128Z ###########################
2021-02-19T02:49:55.4603669Z
2021-02-19T02:50:00.4949408Z Segmentation fault (core dumped)
...
2021-02-19T02:50:00.5050656Z Unable to load libnotify
...
2021-02-19T02:50:00.5056923Z LICENSE SYSTEM [2021219 2:49:54] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored).
2021-02-19T02:50:00.5059435Z [Licensing::Module] Serial number assigned to: "F4-Q8V6-CCV3-78C3-MT56-XXXX"
...
2021-02-19T02:50:00.5234878Z Unable to load player prefs
...
2021-02-19T02:50:00.5729485Z Shader 'Oculus/OVRMRCameraFrameLit': fallback shader 'Alpha-Diffuse' not found
...
2021-02-19T02:50:00.5743652Z Unloading 328 unused Assets to reduce memory usage. Loaded Objects now: 2091.
2021-02-19T02:50:00.5745504Z Total: 18.374100 ms (FindLiveObjects: 0.227300 ms CreateObjectMapping: 0.053800 ms MarkObjects: 8.831700 ms DeleteObjects: 9.260400 ms)
2021-02-19T02:50:00.5746639Z
2021-02-19T02:50:00.5747682Z [Project] Loading completed in 6.153 seconds
2021-02-19T02:50:00.5748893Z Project init time: 0.389 seconds
2021-02-19T02:50:00.5749999Z Template init time: 0.000 seconds
2021-02-19T02:50:00.5751176Z Package Manager init time: 0.000 seconds
2021-02-19T02:50:00.5752383Z Asset Database init time: 0.000 seconds
2021-02-19T02:50:00.5753607Z Global illumination init time: 0.000 seconds
2021-02-19T02:50:00.5754792Z Assemblies load time: 0.000 seconds
2021-02-19T02:50:00.5755979Z Unity extensions init time: 0.001 seconds
2021-02-19T02:50:00.5757195Z Asset Database refresh time: 0.000 seconds
2021-02-19T02:50:00.5758373Z Scene opening time: 0.209 seconds
2021-02-19T02:50:00.5759958Z Caught fatal signal - signo:11 code:1 errno:0 addr:(nil)
2021-02-19T02:50:00.5761141Z Unexpected exit code 139
2021-02-19T02:50:00.5761775Z
2021-02-19T02:50:00.5762631Z ###########################
2021-02-19T02:50:00.5763596Z # Project directory #
2021-02-19T02:50:00.5764579Z ###########################
2021-02-19T02:50:00.5765121Z
2021-02-19T02:50:00.5766081Z total 80K
2021-02-19T02:50:00.5767251Z drwxr-xr-x 12 1001 116 4.0K Feb 19 02:49 .
2021-02-19T02:50:00.5768540Z drwxr-xr-x 5 root root 4.0K Feb 19 02:44 ..
2021-02-19T02:50:00.5769841Z drwxr-xr-x 9 1001 116 4.0K Feb 19 02:41 .git
2021-02-19T02:50:00.5771213Z -rw-r--r-- 1 1001 116 2.9K Feb 19 02:41 .gitattributes
2021-02-19T02:50:00.5772565Z drwxr-xr-x 3 1001 116 4.0K Feb 19 02:41 .github
2021-02-19T02:50:00.5773902Z -rw-r--r-- 1 1001 116 2.6K Feb 19 02:41 .gitignore
2021-02-19T02:50:00.5775390Z drwxr-xr-x 9 1001 116 4.0K Feb 19 02:41 Assets
2021-02-19T02:50:00.5776773Z -rw-r--r-- 1 1001 116 19K Feb 19 02:41 LICENSE.txt
2021-02-19T02:50:00.5778123Z drwxr-xr-x 9 root root 4.0K Feb 19 02:50 Library
2021-02-19T02:50:00.5779495Z drwxr-xr-x 2 root root 4.0K Feb 19 02:44 Logs
2021-02-19T02:50:00.5780836Z drwxr-xr-x 2 1001 116 4.0K Feb 19 02:44 Packages
2021-02-19T02:50:00.5782278Z drwxr-xr-x 2 1001 116 4.0K Feb 19 02:41 ProjectSettings
2021-02-19T02:50:00.5784008Z -rw-r--r-- 1 1001 116 658 Feb 19 02:41 README.md
2021-02-19T02:50:00.5785361Z drwxr-xr-x 2 root root 4.0K Feb 19 02:49 Temp
2021-02-19T02:50:00.5786782Z drwxr-xr-x 2 root root 4.0K Feb 19 02:44 UserSettings
2021-02-19T02:50:00.5788216Z drwxr-xr-x 2 root root 4.0K Feb 19 02:49 artifacts
2021-02-19T02:50:00.5788916Z
2021-02-19T02:50:00.5789771Z ###########################
2021-02-19T02:50:00.5790742Z # Edit Mode Results #
2021-02-19T02:50:00.5791700Z ###########################
2021-02-19T02:50:00.5792225Z
2021-02-19T02:50:00.5793722Z cat: /github/workspace/artifacts/editmode-results.xml: No such file or directory
2021-02-19T02:50:00.5795745Z cat: /github/workspace/artifacts/editmode-results.xml: No such file or directory
2021-02-19T02:50:00.5796712Z
2021-02-19T02:50:00.5797571Z ###########################
2021-02-19T02:50:00.5798530Z # Play Mode Results #
2021-02-19T02:50:00.5799497Z ###########################
2021-02-19T02:50:00.5800038Z
2021-02-19T02:50:00.5801535Z cat: /github/workspace/artifacts/playmode-results.xml: No such file or directory
2021-02-19T02:50:00.5803464Z cat: /github/workspace/artifacts/playmode-results.xml: No such file or directory
2021-02-19T02:50:00.5804414Z
2021-02-19T02:50:00.5805259Z ###########################
2021-02-19T02:50:00.5806194Z # Failure #
2021-02-19T02:50:00.5807102Z ###########################
2021-02-19T02:50:00.5807652Z
2021-02-19T02:50:00.5809404Z Please note that the exit code is not very descriptive.
2021-02-19T02:50:00.5810858Z Most likely it will not help you solve the issue.
2021-02-19T02:50:00.5811589Z
2021-02-19T02:50:00.5812740Z To find the reason for failure: please search for errors in the log above.
2021-02-19T02:50:00.5813585Z
2021-02-19T02:50:01.5435622Z ##[error]The process '/usr/bin/docker' failed with exit code 139
2021-02-19T02:50:01.5605565Z Post job cleanup.
2021-02-19T02:50:01.6708812Z [command]/usr/bin/git version
2021-02-19T02:50:01.6797801Z git version 2.30.0
2021-02-19T02:50:01.6837774Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-02-19T02:50:01.6883450Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-02-19T02:50:01.7204629Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-02-19T02:50:01.7239543Z http.https://github.com/.extraheader
2021-02-19T02:50:01.7252639Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2021-02-19T02:50:01.7299913Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-02-19T02:50:01.7658700Z Cleaning up orphan processes
The complete log: with-tests-log.txt
When i remove the test-runner part, then it builds successfully.
name: Actions 😎
# Controls when the action will run.
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets environment variables
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
name: Build my project ✨
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout repository
uses: actions/[email protected]
with:
lfs: true
# Cache
- uses: actions/[email protected]
with:
path: Library
key: Library
# Build
- name: Build project
uses: game-ci/[email protected]
with:
unityVersion: ${{ secrets.UNITY_VERSION }}
targetPlatform: Android
# Output
- uses: actions/upload-artifact@v2
with:
name: Build
path: build
Some parts of the log:
...
2021-02-19T03:17:51.9325718Z ###########################
2021-02-19T03:17:51.9326713Z # Current build dir #
2021-02-19T03:17:51.9327731Z ###########################
2021-02-19T03:17:51.9328295Z
2021-02-19T03:17:51.9329484Z Creating "/github/workspace/build/Android" if it does not exist.
2021-02-19T03:17:51.9352366Z total 8.0K
2021-02-19T03:17:51.9353755Z drwxr-xr-x 2 root root 4.0K Feb 19 03:17 .
2021-02-19T03:17:51.9355030Z drwxr-xr-x 3 root root 4.0K Feb 19 03:17 ..
2021-02-19T03:17:51.9355665Z
2021-02-19T03:17:51.9356504Z ###########################
2021-02-19T03:17:51.9357485Z # Project directory #
2021-02-19T03:17:51.9358496Z ###########################
2021-02-19T03:17:51.9359023Z
2021-02-19T03:17:51.9372900Z total 64K
2021-02-19T03:17:51.9374912Z drwxr-xr-x 8 1001 116 4.0K Feb 19 03:17 .
2021-02-19T03:17:51.9377265Z drwxr-xr-x 5 root root 4.0K Feb 19 03:17 ..
2021-02-19T03:17:51.9380004Z drwxr-xr-x 9 1001 116 4.0K Feb 19 03:12 .git
2021-02-19T03:17:51.9382920Z -rw-r--r-- 1 1001 116 2.9K Feb 19 03:11 .gitattributes
2021-02-19T03:17:51.9385869Z drwxr-xr-x 3 1001 116 4.0K Feb 19 03:11 .github
2021-02-19T03:17:51.9387054Z -rw-r--r-- 1 1001 116 2.6K Feb 19 03:11 .gitignore
2021-02-19T03:17:51.9388190Z drwxr-xr-x 10 1001 116 4.0K Feb 19 03:17 Assets
2021-02-19T03:17:51.9389322Z -rw-r--r-- 1 1001 116 19K Feb 19 03:11 LICENSE.txt
2021-02-19T03:17:51.9390483Z drwxr-xr-x 2 1001 116 4.0K Feb 19 03:11 Packages
2021-02-19T03:17:51.9391696Z drwxr-xr-x 2 1001 116 4.0K Feb 19 03:11 ProjectSettings
2021-02-19T03:17:51.9392898Z -rw-r--r-- 1 1001 116 658 Feb 19 03:11 README.md
2021-02-19T03:17:51.9394028Z drwxr-xr-x 3 root root 4.0K Feb 19 03:17 build
2021-02-19T03:17:51.9394589Z
2021-02-19T03:17:51.9395377Z ###########################
2021-02-19T03:17:51.9396479Z # Building platform #
2021-02-19T03:17:51.9397481Z ###########################
2021-02-19T03:17:51.9398057Z
2021-02-19T03:17:52.0328109Z [Licensing::Module] Channel doesn't exist: "LicenseClient-root"
...
2021-02-19T03:17:52.6892053Z LICENSE SYSTEM [2021219 3:17:52] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored).
2021-02-19T03:17:52.7040718Z [Licensing::Module] Serial number assigned to: "F4-Q8V6-CCV3-78C3-MT56-XXXX"
...
2021-02-19T03:17:52.7097961Z Successfully changed project path to: /github/workspace/.
2021-02-19T03:17:52.7098940Z /github/workspace
2021-02-19T03:17:52.7099803Z Using Asset Import Pipeline V2.
2021-02-19T03:17:53.4542394Z Rebuilding Library because the asset database could not be found!
...
2021-02-19T03:18:22.5796996Z PlayerPrefs - Creating folder: /github/home/.config/unity3d/DefaultCompany
2021-02-19T03:18:22.5799018Z PlayerPrefs - Creating folder: /github/home/.config/unity3d/DefaultCompany/Harae
2021-02-19T03:18:22.5800446Z Unable to load player prefs
...
2021-02-19T03:39:30.1906799Z Waiting on threads to park on joinable thread list timed out.
2021-02-19T03:39:30.1908934Z debugger-agent: Unable to listen on 30
2021-02-19T03:39:30.3618410Z [Package Manager] Server::Kill -- Server was shutdown
2021-02-19T03:39:30.3744484Z Checking for leaked weakptr:
2021-02-19T03:39:30.3746002Z Found no leaked weakptrs.
2021-02-19T03:39:30.3882707Z ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1613705970387,"processId":85,"allocatedMemory":9817870,"memoryLabels":[{"Default":-3636},{"Thread":151},{"Manager":1832},{"Texture":10368},{"Shader":4491008},{"Font":1606573},{"Physics":1777},{"Serialization":40},{"File":2757100},{"String":372517},{"DynamicArray":188207},{"HashMap":18964},{"Utility":600},{"Curl":5693},{"PoolAlloc":120},{"ScriptManager":28759},{"Sprites":8},{"GI":880},{"CloudService":672},{"VR":3507},{"Image":278528},{"Subsystems":-240},{"EditorUtility":816},{"AssetDatabase":4882},{"AssetImporter":24},{"RestService":64},{"FBXImporter":40},{"License":15104},{"UnityConnect":26576},{"Collab":808},{"Upm":2232},{"Licensing":3896}]}
2021-02-19T03:39:30.4355610Z Build succeeded
2021-02-19T03:39:30.4358730Z
2021-02-19T03:39:30.4365057Z ###########################
2021-02-19T03:39:30.4366090Z # Build directory #
2021-02-19T03:39:30.4367069Z ###########################
2021-02-19T03:39:30.4367617Z
2021-02-19T03:39:30.4388258Z total 32M
2021-02-19T03:39:30.4390094Z drwxr-xr-x 2 root root 4.0K Feb 19 03:39 .
2021-02-19T03:39:30.4391565Z drwxr-xr-x 3 root root 4.0K Feb 19 03:17 ..
2021-02-19T03:39:30.4393090Z -rw-r--r-- 1 root root 32M Feb 19 03:39 Android.apk
2021-02-19T03:39:31.1708699Z ##[group]Run actions/upload-artifact@v2
2021-02-19T03:39:31.1709898Z with:
2021-02-19T03:39:31.1710791Z name: Build
2021-02-19T03:39:31.1711714Z path: build
2021-02-19T03:39:31.1712750Z if-no-files-found: warn
2021-02-19T03:39:31.1713746Z env:
2021-02-19T03:39:31.1730114Z UNITY_LICENSE: ***
2021-02-19T03:39:31.1731104Z ##[endgroup]
2021-02-19T03:39:31.2440143Z With the provided path, there will be 1 file uploaded
2021-02-19T03:39:39.7317110Z Total size of all the files uploaded is 33038370 bytes
2021-02-19T03:39:39.7731730Z Finished uploading artifact Build. Reported size is 33038370 bytes. There were 0 items that failed to upload
2021-02-19T03:39:39.7733869Z Artifact Build has been successfully uploaded!
2021-02-19T03:39:39.7904471Z Post job cleanup.
2021-02-19T03:39:40.0894397Z [command]/bin/tar --posix --use-compress-program zstd -T0 -cf cache.tzst -P -C /home/runner/work/test/test --files-from manifest.txt
2021-02-19T03:39:46.3635630Z Cache Size: ~148 MB (155613714 B)
2021-02-19T03:39:46.4709689Z Cache saved successfully
2021-02-19T03:39:46.4713751Z Cache saved with key: Library
2021-02-19T03:39:46.4971455Z Post job cleanup.
2021-02-19T03:39:46.5999910Z [command]/usr/bin/git version
2021-02-19T03:39:46.6086157Z git version 2.30.0
2021-02-19T03:39:46.6120075Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-02-19T03:39:46.6164465Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-02-19T03:39:46.6526932Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-02-19T03:39:46.6558191Z http.https://github.com/.extraheader
2021-02-19T03:39:46.6569371Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2021-02-19T03:39:46.6605808Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-02-19T03:39:46.6936373Z Cleaning up orphan processes
The full log: without-tests-log.txt
It would be great if i can also run the tests. :-(
For now i have just created some sample tests: https://github.com/vivi90/test/tree/main/Assets/Tests
Like described here: https://docs.unity3d.com/Packages/[email protected]/manual/index.html
Later we want to add real tests.
Would be great, if it works.
Maybe this issue is a duplicate to: #73
In order to not make the branch dirty, test-runner should now create files that are not ignored in git.
There are a few possible approaches:
rm -rf ${{ steps.testRunner.outputs.artifactsPath }}
Currently when using test runner and builder steps in the same job, builder will pick up the artifacts folder as a change in the branch and mark HEAD as dirty. A temporary workaround is to use the flag allowDirtyBuild: true
in builder.
I try to use test runner to build assetbundle and I got error
[Error] Building an AssetBundle for target 'WindowsStandaloneSupport' is not allowed because the required module is not installed.
I keep getting this error when running the test-runner on a self-hosted windows x64 machine,
Result:
Run game-ci/unity-test-runner@v2
with:
githubToken: ***
customParameters: -testPlatform StandaloneWindows64
unityVersion: auto
testMode: all
artifactsPath: artifacts
useNetworkHost: false
checkName: Test Results
env:
UNITY_EMAIL: ***
UNITY_PASSWORD: ***
UNITY_SERIAL: ***
Error: Currently win32-platform is not supported
I tested a custom cmd
using the Unity CLI, and it executes as expected:
- name: Run Unit Tests
shell: cmd
run: |
Unity.exe -runTests -batchmode -projectPath %cd% -testResults %cd%\..\Results\EditModeTests.xml
Any insight into the issue?
Context
I am running game.ci using my own ubuntu runners and I am getting a problem on the second run where it wont do the checkout because of permission issues
Suggested solution
I got around a similar problem when using unity-builder and its build artifacts by adding chownFilesTo in that workflow. But this option does not exist in unity-test-runner, so I suggest that its added for the test and code coverage artifacts.
You can find the code that is ran in build.sh in unity-builder (for both mac and ubuntu)
# Make a given user owner of all artifacts
if [[ -n "$CHOWN_FILES_TO" ]]; then
chown -R "$CHOWN_FILES_TO" "$BUILD_PATH_FULL"
chown -R "$CHOWN_FILES_TO" "$UNITY_PROJECT_PATH"
fi
Adapting this for unity-test-runner it would probably be something like (in run_tests.sh)
# Make a given user owner of all artifacts
if [[ -n "$CHOWN_FILES_TO" ]]; then
chown -R "$CHOWN_FILES_TO" "$FULL_ARTIFACTS_PATH"
chown -R "$CHOWN_FILES_TO" "$FULL_COVERAGE_RESULTS_PATH"
chown -R "$CHOWN_FILES_TO" "$UNITY_PROJECT_PATH"
fi
In run_tests.sh, there are variables that are tested without ever being set, leading to errors such as (this is from tests running edit mode only):
/steps/run_tests.sh: line 162: [: =: unary operator expected
/steps/run_tests.sh: line 180: [: -gt: unary operator expected
This occurs because https://github.com/game-ci/unity-test-runner/blob/main/action/steps/run_tests.sh#L124 sets PLAY_MODE_EXIT_CODE
, but this line is only executed if the condition at https://github.com/game-ci/unity-test-runner/blob/main/action/steps/run_tests.sh#L108 is true. Otherwise, PLAY_MODE_EXIT_CODE
is never set, and the comparison on line 180 throws this error.
The same is true for EDIT_MODE_EXIT_CODE
and the tests of EDIT_MODE
and PLAY_MODE
themselves. All should be initialized at the beginning of the script.
Just trying to update to latest version of test-runner (v2.0-alpha-3). Alls going fine, except that i can't expand check mark to look at test results. I see only summary for Test run.
This is part of my workflow file:
testAllModes:
name: Test code quality
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Cache Library
uses: actions/cache@v2
with:
path: Library
key: Library
- id: tests
name: Run tests in Unity
uses: game-ci/[email protected]
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
createCheck: true
customImage: 'serjame/unity-editor-opencv:2020.2.3f1-opencv3.4'
unityVersion: 2020.2.3f1
- uses: actions/upload-artifact@v2
if: always()
with:
name: Test results
path: ${{ steps.tests.outputs.artifactsPath }}
In attachment you can find artifact, uploaded after running tests
Test results.zip
Logs archive from github action run
logs_174.zip
Full workflow file
unityBuild.yml.zip
Hi!
First of all, thanks to you and all contributors for this repository ❤️
I'm currently open sourcing some Unity packages (tools etc.) from our company to be used with the new Unity Package Manager.
I'm using this repository's action to run tests for those packages.
It seems like Unity requires an Unity project to run tests.
To circumvent this problem I created an empty Unity project at my repository and ignored it with .npmignore
file and just ran tests there using the projectPath variable.
But I cannot help thinking that it is a bit silly to include empty Unity project just for running tests 😄
I think this could be automated and included in this action like so:
Add following lines to dependencies
and testables
sections:
{
"dependencies": {
"com.company.package": "https://github.com/company/repository.git"
},
"testables": [ "com.company.package" ]
}
Perhaps Unity project could also be cached for future action runs?
I'm trying to perform unit tests on GPU shaders and I've gone through setting up my docker (in my self-hosted runner) to use my nvidia GPU (RTX 2080) but I still keep getting errors to do with Compute Shaders in Unity not compiling through docker.
Is there some setting in the Unity Test Runner GitHub Action that could be overwriting this value?
I'm getting Can't find custom attr constructor image: /github/workspace/Library/PackageCache/[email protected]/Editor/UnityEditor.Advertisements.dll mtoken: 0x0a00000f due to: assembly:/opt/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.CoreModule.dll type:UnityAPICompatibilityVersionAttribute member:void {0}(string,string[]) signature:.ctor Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
My .yml config file:
name: UMVC.Editor Tests
on:
push:
branches:
- master
- release/*
- staging/*
- pre-release/*
pull_request:
branches: [ master ]
#env:
# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
jobs:
test:
name: Test UMVC.Editor
runs-on: ubuntu-latest
strategy:
matrix:
unityVersion:
- 2019.3.12f1
targetPlatform:
- StandaloneWindows64
testMode:
- editmode
steps:
- uses: actions/checkout@v2
# Set the UNITY_LICENSE environment variable
- name: Setup license
# This step:
# - Grabs the license file contents from the $LICENSE_FILE_PATH
# - Uses substitution to escape newline characters for GitHub Actions set-env.
# (from: https://github.community/t5/GitHub-Actions/set-output-Truncates-Multiline-Strings/td-p/37870)
# - Set the UNITY_LICENSE env var for all future steps using special GitHub Actions syntax
env:
LICENSE_FILE_PATH: ./Licences/Unity_v2019.x.ulf
run: |
license=$(<"$LICENSE_FILE_PATH")
license="${license//'%'/'%25'}"
license="${license//$'\n'/'%0A'}"
license="${license//$'\r'/'%0D'}"
echo "::set-env name=UNITY_LICENSE::$license"
# Delete unity version file (test runner will crash otherwise)
- name: Delete ProjectVersion.txt
run: sudo rm ./${{ matrix.projectPath }}/ProjectSettings/ProjectVersion.txt
# Run tests - only edit mode supported
- name: Run tests
uses: webbertakken/[email protected]
with:
projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }}
artifactsPath: ./testReports/${{ matrix.targetPlatform }}
testMode: editmode
You can find the log at: https://github.com/loic-lopez/UMVC/pull/16/checks?check_run_id=659008680
Bug description
The test runner gets stuck in the "Testing in playmode" phase. I have tried ubuntu-latest
and windows-2022
docker images.
CI configuration is almost the same as described in https://game.ci/docs/github/getting-started
name: CI
on:
workflow_dispatch: { }
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Unity Tests Workflow
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
unityVersion:
- 2020.3.19f1
steps:
# Checkout (without LFS)
- name: Checkout Repository
uses: actions/checkout@v2
# Git LFS
- name: Create LFS file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
- name: Restore LFS cache
uses: actions/cache@v2
id: lfs-cache
with:
path: .git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}
- name: Git LFS Pull
run: |
git lfs pull
git add .
git reset --hard
# Cache
- uses: actions/cache@v2
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
# Test
- name: Run Tests
uses: game-ci/unity-test-runner@v2
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
gitPrivateToken: ${{ secrets.GIT_PRIVATE_TOKEN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
# Test Results
- name: Upload Test Results
uses: actions/upload-artifact@v2
if: always()
with:
name: Test Restuls
path: ${{ steps.tests.outputs.artifactsPath }}
Run Tests logs:
Run game-ci/unity-test-runner@v2
/usr/bin/docker run --workdir /github/workspace --rm --env UNITY_LICENSE --env UNITY_LICENSE_FILE --env UNITY_EMAIL --env UNITY_PASSWORD --env UNITY_SERIAL --env UNITY_VERSION=2020.3.19f1 --env PROJECT_PATH=. --env CUSTOM_PARAMETERS= --env TEST_PLATFORMS=playmode;editmode;COMBINE_RESULTS --env COVERAGE_OPTIONS=generateAdditionalMetrics;generateHtmlReport;generateBadgeReport --env COVERAGE_RESULTS_PATH=CodeCoverage --env ARTIFACTS_PATH=artifacts --env GITHUB_REF --env GITHUB_SHA --env GITHUB_REPOSITORY --env GITHUB_ACTOR --env GITHUB_WORKFLOW --env GITHUB_HEAD_REF --env GITHUB_BASE_REF --env GITHUB_EVENT_NAME --env GITHUB_WORKSPACE=/github/workspace --env GITHUB_ACTION --env GITHUB_EVENT_PATH --env RUNNER_OS --env RUNNER_TOOL_CACHE --env RUNNER_TEMP --env RUNNER_WORKSPACE --env GIT_PRIVATE_TOKEN=*** --env CHOWN_FILES_TO= --volume /home/runner/work/_temp/_github_home:/root:z --volume /home/runner/work/_temp/_github_workflow:/github/workflow:z --volume /home/runner/work/bird-game/bird-game:/github/works...
Unable to find image 'unityci/editor:ubuntu-2020.3.19f1-linux-il2cpp-1' locally
ubuntu-2020.3.19f1-linux-il2cpp-1: Pulling from unityci/editor
08a6abff8943: Pulling fs layer
17bc3eeef474: Pulling fs layer
7525af58113d: Pulling fs layer
643424925c07: Pulling fs layer
a64283161285: Pulling fs layer
6f8bb29b92de: Pulling fs layer
f93bd952912f: Pulling fs layer
2f3943063d01: Pulling fs layer
b94b5611506d: Pulling fs layer
13f2bc070dfd: Pulling fs layer
4f4fb700ef54: Pulling fs layer
7d1b8006d6d1: Pulling fs layer
643424925c07: Waiting
a64283161285: Waiting
6f8bb29b92de: Waiting
f93bd952912f: Waiting
2f3943063d01: Waiting
b94b5611506d: Waiting
13f2bc070dfd: Waiting
4f4fb700ef54: Waiting
7d1b8006d6d1: Waiting
17bc3eeef474: Verifying Checksum
17bc3eeef474: Download complete
08a6abff8943: Verifying Checksum
08a6abff8943: Download complete
643424925c07: Verifying Checksum
643424925c07: Download complete
a64283161285: Verifying Checksum
a64283161285: Download complete
6f8bb29b92de: Verifying Checksum
6f8bb29b92de: Download complete
f93bd952912f: Verifying Checksum
f93bd952912f: Download complete
b94b5611506d: Verifying Checksum
b94b5611506d: Download complete
13f2bc070dfd: Verifying Checksum
13f2bc070dfd: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
7525af58113d: Verifying Checksum
7525af58113d: Download complete
08a6abff8943: Pull complete
7d1b8006d6d1: Verifying Checksum
7d1b8006d6d1: Download complete
17bc3eeef474: Pull complete
7525af58113d: Pull complete
643424925c07: Pull complete
a64283161285: Pull complete
6f8bb29b92de: Pull complete
f93bd952912f: Pull complete
2f3943063d01: Verifying Checksum
2f3943063d01: Download complete
2f3943063d01: Pull complete
b94b5611506d: Pull complete
13f2bc070dfd: Pull complete
4f4fb700ef54: Pull complete
7d1b8006d6d1: Pull complete
Digest: sha256:d8e7a364522199122b17c750851d5f1e467015b849695188f49e37944520bd49
Status: Downloaded newer image for unityci/editor:ubuntu-2020.3.19f1-linux-il2cpp-1
Changing to "/github/workspace/_activate-license" directory.
/github/workspace/_activate-license /github/workspace
Requesting activation (personal license)
Activation complete.
/github/workspace
/steps/set_gitcredential.sh: line 1: #!/usr/bin/env: No such file or directory
GIT_PRIVATE_TOKEN is set configuring git credentials
---------- git config --list -------------
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
filter.lfs.clean=git-lfs clean -- %f
credential.helper=store
url.https://github.com/.insteadof=ssh://[email protected]/
url.https://github.com/[email protected]
***github.com/.insteadof=https://github.com/
***github.com/.insteadof=ssh://[email protected]/
***github.com/[email protected]:
---------- git config --list --show-origin -------------
file:/etc/gitconfig filter.lfs.smudge=git-lfs smudge -- %f
file:/etc/gitconfig filter.lfs.process=git-lfs filter-process
file:/etc/gitconfig filter.lfs.required=true
file:/etc/gitconfig filter.lfs.clean=git-lfs clean -- %f
file:/root/.gitconfig credential.helper=store
file:/root/.gitconfig url.https://github.com/.insteadof=ssh://[email protected]/
file:/root/.gitconfig url.https://github.com/[email protected]
file:/root/.gitconfig ***github.com/.insteadof=https://github.com/
file:/root/.gitconfig ***github.com/.insteadof=ssh://[email protected]/
file:/root/.gitconfig ***github.com/[email protected]:
Using project path "/github/workspace/.".
Using artifacts path "artifacts" to save test results.
Using coverage results path "CodeCoverage" to save test coverage results.
Using custom parameters .
Using Unity version "2020.3.19f1" to test.
###########################
# Artifacts folder #
###########################
Creating "/github/workspace/artifacts" if it does not exist.
###########################
# Project directory #
###########################
total 56K
drwxr-xr-x 9 1001 121 4.0K Jul 1 06:15 .
drwxr-xr-x 4 root root 4.0K Jul 1 06:15 ..
-rw-r--r-- 1 1001 121 217 Jul 1 06:12 .editorconfig
drwxr-xr-x 9 1001 121 4.0K Jul 1 06:12 .git
-rw-r--r-- 1 1001 121 1.9K Jul 1 06:12 .gitattributes
drwxr-xr-x 3 1001 121 4.0K Jul 1 06:12 .github
-rw-r--r-- 1 1001 121 1.3K Jul 1 06:12 .gitignore
drwxr-xr-x 6 1001 121 4.0K Jul 1 06:12 Assets
-rw-r--r-- 1 1001 121 766 Jul 1 06:12 CHARK.BirdGame.Client.csproj.DotSettings
-rw-r--r-- 1 1001 121 766 Jul 1 06:12 CHARK.BirdGame.Editor.csproj.DotSettings
drwxr-xr-x 2 1001 121 4.0K Jul 1 06:12 Packages
drwxr-xr-x 2 1001 121 4.0K Jul 1 06:12 ProjectSettings
drwxr-xr-x 2 root root 4.0K Jul 1 06:15 _activate-license
drwxr-xr-x 2 root root 4.0K Jul 1 06:15 artifacts
###########################
# Testing in playmode #
###########################
I used secret var ACTIONS_STEP_DEBUG
= true
for enabling verbose logs.
Where could be the problem?
I noticed that unityVersion
is the only input according to action.yml, but obviously this is not the case according to the documentation. The reason I bring this up is I was looking for the official default values for option projectPath
that I assumed was specified in action.yml.
Which brings me to my underlying question: what is the default value of projectPath
?
In the documentation it says it is equal to <your project root>
, but how would the action know what the project root is without the projectPath
option?
Hi,
I'm running into an intermittent issue while using the test runner on my project. Around half of the time the tests will run and pass successfully, but sometimes I'll get the following message in the logs of the job:
###########################
# Testing in PlayMode #
###########################
[0618/122644:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[0618/122647:ERROR:sandbox_linux.cc(308)] InitializeSandbox() called with multiple threads in process gpu-process
corrupted size vs. prev_size
Once this happens, the action just seems to hang and will never complete (until I manually stop it or it hits the timeout).
Unity version: 2019.2.0f1
unity-test-runner version: 1.6
I'm not really sure what other information to provide, but let me know if there's any other information that would be useful and I'll provide it.
EDIT: Adding my workflow file as I think it might be useful to see:
name: Test
on:
pull_request:
branches:
- master
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
jobs:
test:
name: Run Unity tests for ${{ matrix.testMode }} on version ${{ matrix.unityVersion }}
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
projectPath:
- Danki2
unityVersion:
- 2019.2.0f1
testMode:
- playmode
steps:
- name: Checkout
uses: actions/[email protected]
- name: Cache
uses: actions/[email protected]
with:
path: ${{ matrix.projectPath }}/Library
key: Library-${{ matrix.projectPath }}
restore-keys: |
Library-
- name: Test
uses: webbertakken/[email protected]
with:
projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }}
testMode: ${{ matrix.testMode }}
Context
I know it is possible to get code coverage using the custom parameters option like this:
- name: Code Coverage
uses: game-ci/unity-test-runner@v2
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
artifactsPath: code-coverage-artifacts
githubToken: ${{ secrets.GITHUB_TOKEN }}
checkName: Code Coverage Test Results
customParameters: -debugCodeOptimization -enableCodeCoverage -coverageOptions generateHtmlReport;generateBadgeReport;assemblyFilters:+<assets> -coverageResultsPath code-coverage-artifacts
This works great for getting the coverage results for a single editmode or playmode test run, but it is unable to get the combined coverage results from running something similar to the following script:
./Unity.exe -projectPath <project-path> -batchmode -testPlatform editmode -runTests -debugCodeOptimization -enableCodeCoverage -coverageResultsPath <results-path> -coverageOptions "generateAdditionalMetrics;assemblyFilters:+<assets>"
./Unity.exe -projectPath <project-path> -batchmode -testPlatform playmode -runTests -debugCodeOptimization -enableCodeCoverage -coverageResultsPath <results-path> -coverageOptions "generateAdditionalMetrics;assemblyFilters:+<assets>"
./Unity.exe -projectPath "C:/Users/Joshua/Documents/Code Projects/GrizzledOwl/common-ci-cd" -batchmode -debugCodeOptimization -enableCodeCoverage -coverageResultsPath <results-path> -coverageOptions "generateHtmlReport;generateBadgeReport;assemblyFilters:+<assets>" -quit
In a lot of cases this combined report is what a lot of people will want when looking at code coverage.
With the information from this the people/teams using this script would be able to use that metric to enforce a minimum code coverage standard on their repositories.
Suggested solution
In order to support the above, I would suggest adding in a "codeCoverage" option flag to the action. I would have it work as follows:
I would probably add a flag "coverageOnly" so that the test results could be skipped if they aren't needed.
Not only would this support the feature, but it would make it a little clearer to people who are trying to use this action how to get coverage results. In my opinion, it would also make their GitHub actions a little bit more readable.
I would also add an option for "coverageReportType" that would let you specify which reports you are wanting. This would have three options:
I would have this default to the "both" option.
I would add an option for "assemblyFilters" that would let you define what assemblies to include. This would just place your options into the correct place.
To round this out, I would add "coverageOptions". This would be the direct input for the coverageOptions that will be in the batch mode call. Honestly, with this coverageReportType and assemblyFilters wouldn't be needed, but since those options are the ones that are used most often, I think it makes sense to specify them up front in order to make it easier and more readable for people using the action.
Finally, I would add a "minimumCoverage" option. It wouldn't be required, would default to 0, and the allowed values would be a number between 0 and 100. If this is provided, when the coverage results are in, the script would perform a check to see if the coverage meets or exceeds the provided value. If it does, it passes. If it doesn't, it fails.
Using these options would look something like this:
- name: Code Coverage
uses: game-ci/unity-test-runner@v2
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
artifactsPath: code-coverage-artifacts
githubToken: ${{ secrets.GITHUB_TOKEN }}
checkName: Code Coverage Test Results
testMode: all
codeCoverage:
coverageOnly:
coverageReportType: both
assemblyFilters: +<assets>
# coverageOptions: verbosity? generateTestReferences? sourcePaths? etc...
customParameters: -debugCodeOptimization -burst-disable-compilation
minimumCoverage: 80
Considered alternatives
I don't really have any alternatives, outside of writing my own custom script, to handle these things.
Additional details
I thought about writing my own custom script to handle these things, but it seems like something others would want as well. I am already using game-ci in my other GitHub actions for my projects, so I wanted to see if this was a feature that would be desired here.
I have seen other code coverage issues and pull requests, but I wasn't sure if they were just dropped because they only covered the basic solution that can be handled with customParameters, or if directly supporting coverage wasn't desired for this repository.
I was planning on forking the repository and implementing this myself, but I wanted to discuss my solution, and see if this was even desired.
Following in the footsteps of game-ci/unity-builder#141
Current impl imports assets and generates artifacts as root:root, requiring chown to resolve file ownership errors. Recommend adopting the elegant solution introduced in unity-builder Action, running container as correct user/group from the get-go.
I am trying to run unity tests after adding private repos to the manifest.json and the tests are failing with
[Package Manager] Done resolving packages in 7.48s seconds
2021-07-19T03:10:19.0820219Z An error occurred while resolving packages:
2021-07-19T03:10:19.0821267Z Project has invalid dependencies:
2021-07-19T03:10:19.0822847Z com.companyname.somepackage: Error when executing git command. fatal: could not read Username for 'https://github.com': terminal prompts disabled
2021-07-19T03:10:19.0824444Z
2021-07-19T03:10:19.0824936Z You may need to set up a Git credentials helper
2021-07-19T03:10:19.0825527Z to access a private repository.
2021-07-19T03:10:19.0826950Z com.companyname.utility: Error when executing git command. fatal: could not read Username for 'https://github.com': terminal prompts disabled
2021-07-19T03:10:19.0827831Z
2021-07-19T03:10:19.0828300Z You may need to set up a Git credentials helper
2021-07-19T03:10:19.0828870Z to access a private repository.
2021-07-19T03:10:19.0829209Z
2021-07-19T03:10:19.0830234Z A re-import of the project may be required to fix the issue or a manual modification of /github/workspace/Packages/manifest.json file.
I didn't find anything relevant to the topic in this documentation.
Is there a known way to get this to work ?
I did try using githubToken: ${{ secrets.GITHUB_TOKEN }}
and even tried it with a PAT, but the outcome was the same.
I am trying to give the unity test runner some secrets.
Namely, a username and (plaintext)password
The reason is so that my test can authenticate to the live game server in my test, using these credentials.
I am using environment variables to store the secrets. It works on a local Ubuntu PC. The test is successful.
On Ubuntu, i can simply
export USERNAME_SECONDLIFE="thevalue"
inside the bash.rc file. And the unity editor will be able to read the env values usingEnvironment.GetEnvironmentVariable( "USERNAME_SECONDLIFE" )
However, the unity test runner cannot find such environment variables (Environment.GetEnvironmentVariable() returns null string
).
I have added them into my env @ the test-runner job section:
// https://github.com/alexiscatnip/RaindropViewer/blob/2d895a25fb84e93047f80131a99a2949389ba198/.github/workflows/main.yml
# Test
- name: Run tests
uses: game-ci/unity-test-runner@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
> USERNAME_SECONDLIFE: ${{ secrets.USERNAME_SECONDLIFE }}
> PASSWORD_SECONDLIFE: ${{ secrets.PASSWORD_SECONDLIFE }}
> GRIDFRIENDLYNAME_SECONDLIFE: ${{ secrets.GRIDFRIENDLYNAME_SECONDLIFE }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
unityVersion: ${{ matrix.unityVersion }}
Hi.
https://github.com/litefeel/Unity-RenameTools/runs/2248431732?check_suite_focus=true
the file of UnityLicense/2019.4.20f1.ulf
in repository.
Context
Test runner currently saves logs to the artifacts folder. (since #37) That way we can use test results reporter (which generates a html report)
Solution
Either we have to add a section to the readme, about how to run an additional action for producing the html report, or we should integrate the reporter in this action and support it natively. Generating a report doesn't sound too heavy to me.
What are your thoughts?
Do we know how longit takes for the report to generate?
I've got an error when I try to run the latest (2.10) release of the test runner:
##[group***Run game-ci/[email protected]
with:
artifactsPath: test-artifacts
githubToken: ***
checkName: All Modes Test Results
coverageOptions: generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+Aleo.*-Aleo.Tests.*
unityVersion: auto
testMode: all
useHostNetwork: false
env:
UNITY_LICENSE: ***
##[endgroup***
D:\a\_actions\game-ci\unity-test-runner\v2.1.0\dist\main.js:1
index.js
^
ReferenceError: index is not defined
at Object.<anonymous> (D:\a\_actions\game-ci\unity-test-runner\v2.1.0\dist\main.js:1:1)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain*** (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
But it works fine when I run it on ubuntu-latest.
The issue seems to be with the file dist\main.js which seems to be a recent addition to the unity-test-runner repo.
How to reproduce
Use windows-latest
as the value of the job runs-on
parameter.
Expected: the action runs as normal.
Actual:
D:\a\_actions\game-ci\unity-test-runner\v2.1.0\dist\main.js:1
index.js
^
ReferenceError: index is not defined
at Object.<anonymous> (D:\a\_actions\game-ci\unity-test-runner\v2.1.0\dist\main.js:1:1)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain*** (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
Just tried to run the test-runner on windows-latest with the latest release of the test-runner (2.1.0).
First off, your Unity Actions are fantastic, thank you so much for building these!
Would it be possible to make the Unity Version for this action configurable, like it is for the Unity - Builder action? I'm on Unity 2019.2.17f1, and 2019.3 will be dropping any day, so it would be nice not to be limited to 2019.2.11f1.
Also, out of curiosity, why is the Unity - Builder
action configured with with
while this action and Unity - Activate
are both configured with env
?
Context
I'm trying to see how I can use customParameters
to run my tests on the Android platform instead of the default (PC, Mac & Linux Standalone), but neither in the Documentation or the project workflows is there an example on how customParameters is used.
Suggested solution
Create a workflow in the project workflows that passes in even the most basic custom parameter - maybe a parameter that is logged out during an editor test or something
Considered alternatives
Asking in Discord where no one else would see the answer
Additional details
Thanks for the library btw 😄
I'm trying to use 2020.1.17f1-ios-0
but getting an error below:
Run webbertakken/[email protected]
/usr/bin/docker build /home/lvg/actions-runner/_work/_actions/webbertakken/unity-test-runner/v2.0-alpha-1/action --file /home/lvg/actions-runner/_work/_actions/webbertakken/unity-test-runner/v2.0-alpha-1/action/Dockerfile --build-arg IMAGE=unityci/editor:2020.1.17f1-ios-0-base-0 --tag unity-action:2020.1.17f1-ios-0-base-0
Sending build context to Docker daemon 144.4kB
Step 1/14 : ARG IMAGE
Step 2/14 : FROM $IMAGE
manifest for unityci/editor:2020.1.17f1-ios-0-base-0 not found: manifest unknown: manifest unknown
Error: The process '/usr/bin/docker' failed with exit code 1
My workflow:
name: Continuous Integration
on:
pull_request: { }
push: { branches: [ master ] }
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_VERSION: 2020.1.17f1-ios-0
jobs:
unit-tests:
name: Unit Tests
# runs-on: ubuntu-20.04
runs-on: self-hosted
steps:
- name: cleanup #https://github.com/actions/checkout/issues/211
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/[email protected]
with:
path: Library
key: Library
- name: Run tests
id: testRunner
uses: webbertakken/[email protected]
with:
unityVersion: ${{ env.UNITY_VERSION }}
- uses: actions/upload-artifact@v1
with:
name: Test results (all modes)
path: ${{ steps.testRunner.outputs.artifactsPath }}
Looks -base-0
is added on runtime. Are there ability to use editor+modules based docker images eg 2020.1.17f1-ios-0
?
Unfortunately using it's a required workaround for googlesamples/unity-jar-resolver#412
In case it's not supported at that moment I do not mind to add such support myself by PR
Bug description
If two files have the same name but only differ in casing, (e.g: Gamemanager.cs.meta
& GameManager.cs.meta
), it will trigger a loop where Unity will attempt to import the files, print a warning/error, and repeat.
How to reproduce
Gamemanager.cs.meta
& GameManager.cs.meta
)unity-test-runner
Expected behavior
Additional details
In my case, this happened due to renaming a class and its associated file.
Assets/GotoGames/Components/Utils/GameobjectExtensions.cs
Assets/GotoGames/Components/Utils/GameObjectExtensions.cs
(Note the "o" of Gameobject becoming an "O": GameObject)
The meta file was correctly renamed, but a new meta file with the old name was also added to the commit. I did not catch this new addition, and pushed this to the repo.
The test process ran for six hours before being killed by GitHub actions, filling a log file with 46 Megabytes worth of:
The following files have the same name but only differ in casing and will be ignored:
Assets/GotoGames/Components/Utils/GameobjectExtensions.cs.meta
Assets/GotoGames/Components/Utils/GameObjectExtensions.cs.meta
Case sensitive file systems are not fully supported, please move or rename these files.
(Filename: ./Modules/AssetDatabase/Editor/V2/SourceAssetDB.cpp Line: 829)
The following files have the same name but only differ in casing and will be ignored:
Assets/GotoGames/Components/Utils/GameobjectExtensions.cs.meta
Assets/GotoGames/Components/Utils/GameObjectExtensions.cs.meta
Case sensitive file systems are not fully supported, please move or rename these files.
(Filename: ./Modules/AssetDatabase/Editor/V2/SourceAssetDB.cpp Line: 829)
The following files have the same name but only differ in casing and will be ignored:
Assets/GotoGames/Components/Utils/GameobjectExtensions.cs.meta
Assets/GotoGames/Components/Utils/GameObjectExtensions.cs.meta
Case sensitive file systems are not fully supported, please move or rename these files.
(Filename: ./Modules/AssetDatabase/Editor/V2/SourceAssetDB.cpp Line: 829)```
This happens regardless of the editor version I use and regardless of either play mode or edit mode tests. It seems like the personal license is working so I'm struggling to see what's wrong:
Requesting activation (personal license)
Activation complete.
Using project path "/github/workspace/Test-Project".
Using artifacts path "editmode-artifacts" to save test results.
Using custom parameters .
Edit mode selected for testing.
Using Unity version "2020.1.0b4" to test.
###########################
###########################
Creating "/github/workspace/editmode-artifacts" if it does not exist.
###########################
###########################
total 20K
drwxr-xr-x 5 1001 115 4.0K Apr 3 04:44 .
drwxr-xr-x 6 1001 115 4.0K Apr 3 04:46 ..
drwxr-xr-x 4 1001 115 4.0K Apr 3 04:44 Assets
drwxr-xr-x 2 1001 115 4.0K Apr 3 04:44 Packages
drwxr-xr-x 2 1001 115 4.0K Apr 3 04:44 ProjectSettings
###########################
###########################
Segmentation fault (core dumped)
[Licensing::Module] Channel doesn't exist: "LicenseClient-root"
[Licensing::Module] Successfully launched the LicensingClient (PId: 70)
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-root"
[SignatureVerifier] Application signature verification not supported on this platform.
Entitlement-based licensing initiated
[LicensingClient] Licenses updated successfully
Unexpected exit code 139
/steps/run_tests.sh: line 109: [: =: unary operator expected
###########################
###########################
total 20K
drwxr-xr-x 5 1001 115 4.0K Apr 3 04:44 .
drwxr-xr-x 6 1001 115 4.0K Apr 3 04:46 ..
drwxr-xr-x 4 1001 115 4.0K Apr 3 04:44 Assets
drwxr-xr-x 2 1001 115 4.0K Apr 3 04:44 Packages
drwxr-xr-x 2 1001 115 4.0K Apr 3 04:44 ProjectSettings
###########################
###########################
cat: /github/workspace/editmode-artifacts/editmode-results.xml: No such file or directory
cat: /github/workspace/editmode-artifacts/editmode-results.xml: No such file or directory
/steps/run_tests.sh: line 164: [: =: unary operator expected
/steps/run_tests.sh: line 182: [: -gt: unary operator expected
##[error]The process '/usr/bin/docker' failed with exit code 139
Updated to use game-ci/unity-test-runner@v2
instead of webbertakken/[email protected]
and saw that it was unable to find any of the tests. Further it shows the test passing with 0/0 even though there is a compiler error provided down below
-----CompilerOutput:-stdout--exitcode: 136--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-Editor.dll
-----CompilerOutput:-stderr----------
/opt/unity/Editor/Data/Tools/RoslynScripts/unity_csc.sh: line 23: uname: command not found
Failed to load H(~�, error: libunwind.so.8: cannot open shared object file: No such file or directory
Failed to bind to CoreCLR at '/opt/unity/Editor/Data/Tools/Roslyn/libcoreclr.so'
-----EndCompilerOutput---------------
I am using Unity 2019.4.22f1
along with this yaml file for my github action
name: Unity Test Runner
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
on: [push, pull_request]
jobs:
testAllModes:
name: Test in ${{ matrix.testMode }} on version ${{ matrix.unityVersion }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
projectPath:
- ./
unityVersion:
- 2019.4.22f1
testMode:
- playmode
- editmode
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: false # will be true eventually
- name: Cache
uses: actions/cache@v2
with:
path: ${{ matrix.projectPath }}/Library
key: Library-${{ matrix.projectPath }}
restore-keys: |
Library-
- name: Tests
uses: game-ci/unity-test-runner@v2
with:
projectPath: ${{ matrix.projectPath }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
artifactsPath: ${{ matrix.testMode }}-artifacts
unityVersion: ${{ matrix.unityVersion }}
testMode: ${{ matrix.testMode }}
checkName: ${{ matrix.testMode }} Test Results
customParameters: '-nographics'
I expected to see the step to fail along and also not a uname not found error :x
Also see this in logs. Don't know if this is useful
debugger-agent: Unable to listen on 33
...
Unexpected exit code 1
In addition, I am seeing this
Scripts have compiler errors.
(Filename: ./Runtime/Utilities/Argv.cpp Line: 376)
but my scripts compile fine and the tests run locally so unsure what this error is about. Here are the full logs with the serial code removed
Run game-ci/unity-test-runner@v2 /usr/bin/docker build /home/runner/work/_actions/game-ci/unity-test-runner/v2/action --file /home/runner/work/_actions/game-ci/unity-test-runner/v2/action/Dockerfile --build-arg IMAGE=unityci/editor:2019.4.22f1-base-0 --tag unity-action:2019.4.22f1-base-0 Sending build context to Docker daemon 418.8kB Step 1/14 : ARG IMAGE Step 2/14 : FROM $IMAGE 2019.4.22f1-base-0: Pulling from unityci/editor d519e2592276: Pulling fs layer d22d2dfcfa9c: Pulling fs layer b3afe92c540b: Pulling fs layer 7e1e7410d678: Pulling fs layer 61f24b73f8cd: Pulling fs layer 3ad3d81d3cca: Pulling fs layer c21eecde5c96: Pulling fs layer 1517ede893b6: Pulling fs layer bf1490713886: Pulling fs layer 4519c00ea9b8: Pulling fs layer edad0133812d: Pulling fs layer 7e1e7410d678: Waiting 61f24b73f8cd: Waiting 3ad3d81d3cca: Waiting c21eecde5c96: Waiting 1517ede893b6: Waiting bf1490713886: Waiting 4519c00ea9b8: Waiting edad0133812d: Waiting d22d2dfcfa9c: Verifying Checksum d22d2dfcfa9c: Download complete b3afe92c540b: Verifying Checksum b3afe92c540b: Download complete d519e2592276: Verifying Checksum d519e2592276: Download complete 3ad3d81d3cca: Verifying Checksum 3ad3d81d3cca: Download complete 61f24b73f8cd: Verifying Checksum 61f24b73f8cd: Download complete c21eecde5c96: Verifying Checksum c21eecde5c96: Download complete bf1490713886: Verifying Checksum ---> 1359483a75f6 Step 10/14 : ADD steps /steps ---> adebb5047dc2 Step 11/14 : RUN chmod -R +x /steps ---> Running in a151ed0cbd61 Removing intermediate container a151ed0cbd61 ---> d9c48ee1dbde Step 12/14 : ADD entrypoint.sh /entrypoint.sh ---> 8c6755ae20de Step 13/14 : RUN chmod +x /entrypoint.sh ---> Running in 7f614eb3c1e2 Removing intermediate container 7f614eb3c1e2 ---> 3a154e73f015 Step 14/14 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 67ba42684814 Removing intermediate container 67ba42684814 ---> d0b0ba748b6f Successfully built d0b0ba748b6f Successfully tagged unity-action:2019.4.22f1-base-0 /usr/bin/docker run --workdir /github/workspace --rm --env UNITY_LICENSE --env UNITY_LICENSE_FILE --env UNITY_EMAIL --env UNITY_PASSWORD --env UNITY_SERIAL --env UNITY_VERSION=2019.4.22f1 --env PROJECT_PATH=. --env TEST_MODE=editmode --env ARTIFACTS_PATH=editmode-artifacts --env CUSTOM_PARAMETERS=-nographics --env HOME=/github/home --env GITHUB_REF --env GITHUB_SHA --env GITHUB_REPOSITORY --env GITHUB_ACTOR --env GITHUB_WORKFLOW --env GITHUB_HEAD_REF --env GITHUB_BASE_REF --env GITHUB_EVENT_NAME --env GITHUB_WORKSPACE=/github/workspace --env GITHUB_ACTION --env GITHUB_EVENT_PATH --env RUNNER_OS --env RUNNER_TOOL_CACHE --env RUNNER_TEMP --env RUNNER_WORKSPACE --volume /var/run/docker.sock:/var/run/docker.sock --volume /home/runner/work/_temp/_github_home:/github/home --volume /home/runner/work/_temp/_github_workflow:/github/workflow --volume /home/runner/work/Soulbind/Soulbind:/github/workspace --env USE_EXIT_CODE=false unity-action:2019.4.22f1-base-0 Requesting activation (personal license) Activation complete. Using project path "/github/workspace/.". Using artifacts path "editmode-artifacts" to save test results. Using custom parameters -nographics. Edit mode selected for testing. Using Unity version "2019.4.22f1" to test. ########################### # Artifacts folder # ########################### Creating "/github/workspace/editmode-artifacts" if it does not exist. ########################### # Project directory # ########################### total 60K drwxr-xr-x 9 1001 121 4.0K Mar 13 11:27 . drwxr-xr-x 5 root root 4.0K Mar 13 11:27 .. -rw-r--r-- 1 1001 121 8.7K Mar 13 11:25 .editorconfig drwxr-xr-x 8 1001 121 4.0K Mar 13 11:25 .git drwxr-xr-x 3 1001 121 4.0K Mar 13 11:25 .github -rw-r--r-- 1 1001 121 1.2K Mar 13 11:25 .gitignore drwxr-xr-x 9 1001 121 4.0K Mar 13 11:25 Assets drwxr-xr-x 8 1001 121 4.0K Mar 12 12:46 Library drwxr-xr-x 2 1001 121 4.0K Mar 13 11:25 Packages drwxr-xr-x 2 1001 121 4.0K Mar 13 11:25 ProjectSettings -rw-r--r-- 1 1001 121 10 Mar 13 11:25 README.md drwxr-xr-x 2 root root 4.0K Mar 13 11:27 editmode-artifacts -rw-r--r-- 1 1001 121 7 Mar 13 11:25 steam_appid.txt ########################### # Testing in EditMode # ########################### Aborting batchmode due to failure: Scripts have compiler errors. [LicensingClient] ERROR Failed to connect to local IPC [Licensing::Module] Failed to connect to channel: LicenseClient-root [Licensing::Module] Successfully launched the LicensingClient [SignatureVerifier] Application signature verification not supported on this platform. [Licensing::Module] Successfully connected to LicensingClient on channel: LicenseClient-root [Licensing::Module] Successfully launched and connected to LicensingClient Entitlement-based licensing initiated [LicensingClient] Licenses Updated successfully in LicensingClient LICENSE SYSTEM [2021313 11:27:40] Next license update check is after 2021-03-14T11:23:03 LICENSE SYSTEM [2021313 11:27:40] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored). [Licensing::Module] Serial number assigned to: ""\n[Package Manager] Server::Start -- Port 36115 was selected COMMAND LINE ARGUMENTS: /opt/unity/Editor/Unity -batchmode -batchmode -logFile /github/workspace/editmode-artifacts/editmode.log -projectPath /github/workspace/. -runTests -testPlatform editmode -testResults /github/workspace/editmode-artifacts/editmode-results.xml -nographics Successfully changed project path to: /github/workspace/. /github/workspace Using Asset Import Pipeline V2. DisplayProgressbar: Unity Package Manager Adding genesis user token [Package Manager] Done resolving packages in 28.89s seconds [Package Manager] Done checking package constraints in 0.00s seconds [Package Manager] Registered 46 packages: Packages from [https://packages.unity.com]: [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) [email protected] (location: /github/workspace/Library/PackageCache/[email protected]) Built-in packages: [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.ai) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.androidjni) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.animation) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.assetbundle) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.audio) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.cloth) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.director) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.imageconversion) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.imgui) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.jsonserialize) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.particlesystem) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics2d) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.screencapture) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrain) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrainphysics) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.tilemap) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.ui) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.uielements) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.umbra) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unityanalytics) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequest) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestassetbundle) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestaudio) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequesttexture) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestwww) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.vehicles) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.video) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.vr) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.wind) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.xr) [email protected] (location: /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.subsystems) PlayerPrefs - Creating folder: /github/home/.config/unity3d/Soul Punch Games PlayerPrefs - Creating folder: /github/home/.config/unity3d/Soul Punch Games/Soulbind Unable to load player prefs [Subsystems] No new subsystems found in resolved package list. [Package Manager] Done registering packages in 0.04s seconds [Package Manager] Lock file was modified Refreshing native plugins compatible for Editor in 112.81 ms, found 1 plugins. Preloading 0 native plugins for Editor in 0.00 ms. Initialize engine version: 2019.4.22f1 (9fdda2fe27ad) [Subsystems] Discovering subsystems at path /opt/unity/Editor/Data/Resources/UnitySubsystems [Subsystems] Discovering subsystems at path /github/workspace/Assets Forcing GfxDevice: Null GfxDevice: creating device client; threaded=0 NullGfxDevice: Version: NULL 1.0 [1.0] Renderer: Null Device Vendor: Unity Technologies Initialize mono Mono path[0] = '/opt/unity/Editor/Data/Managed' Mono path[1] = '/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/unityjit' Mono config path = '/opt/unity/Editor/Data/MonoBleedingEdge/etc' Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56080 ImportWorker Server TCP listen port: 42887 Begin MonoManager ReloadAssembly Registering precompiled unity dll's ... Register platform support module: /opt/unity/Editor/Data/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll Registered in 0.004919 seconds. Native extension for LinuxStandalone target not found Refreshing native plugins compatible for Editor in 61.05 ms, found 1 plugins. Preloading 0 native plugins for Editor in 0.00 ms. Mono: successfully reloaded assembly - Completed reload, in 1.865 seconds Registering precompiled user dll's ... Registered in 0.093021 seconds. Platform modules already initialized, skipping Validating Project structure ... 0.015637 seconds. Shader import version has changed; will reimport all shaders... Upgrading shader files ...0.013723 seconds. Begin MonoManager ReloadAssembly Native extension for LinuxStandalone target not found Refreshing native plugins compatible for Editor in 0.76 ms, found 1 plugins. Preloading 0 native plugins for Editor in 0.00 ms. Mono: successfully reloaded assembly - Completed reload, in 0.800 seconds Platform modules already initialized, skipping [ScriptCompilation] Recompiling all scripts because: Reload of assemblies failed, assemblies are invalid or forced recompiled - Starting script compilation - Starting compile Library/ScriptAssemblies/UnityEngine.TestRunner.dll - Finished compile Library/ScriptAssemblies/UnityEngine.TestRunner.dll in 4.418363 seconds - Starting compile Library/ScriptAssemblies/UnityEditor.TestRunner.dll - Finished compile Library/ScriptAssemblies/UnityEditor.TestRunner.dll in 4.177824 seconds - Starting compile Library/ScriptAssemblies/UnityEngine.UI.dll - Finished compile Library/ScriptAssemblies/UnityEngine.UI.dll in 4.182333 seconds - Starting compile Library/ScriptAssemblies/UnityEditor.UI.dll - Finished compile Library/ScriptAssemblies/UnityEditor.UI.dll in 3.389395 seconds - Starting compile Library/ScriptAssemblies/Steamworks.dll - Starting compile Library/ScriptAssemblies/Unity.InputSystem.dll - Finished compile Library/ScriptAssemblies/Steamworks.dll in 6.529885 seconds - Starting compile Library/ScriptAssemblies/Unity.TextMeshPro.dll - Finished compile Library/ScriptAssemblies/Unity.InputSystem.dll in 8.999163 seconds - Starting compile Library/ScriptAssemblies/Telepathy.dll - Finished compile Library/ScriptAssemblies/Telepathy.dll in 4.016294 seconds - Starting compile Library/ScriptAssemblies/Unity.RenderPipelines.Core.Runtime.dll - Finished compile Library/ScriptAssemblies/Unity.TextMeshPro.dll in 8.568757 seconds - Starting compile Library/ScriptAssemblies/kcp2k.dll - Finished compile Library/ScriptAssemblies/Unity.RenderPipelines.Core.Runtime.dll in 6.338217 seconds - Starting compile Library/ScriptAssemblies/Unity.RenderPipelines.ShaderGraph.ShaderGraphLibrary.dll - Finished compile Library/ScriptAssemblies/kcp2k.dll in 5.590396 seconds - Starting compile Library/ScriptAssemblies/Unity.RenderPipeline.Universal.ShaderLibrary.dll - Finished compile Library/ScriptAssemblies/Unity.RenderPipelines.ShaderGraph.ShaderGraphLibrary.dll in 3.194255 seconds - Starting compile Library/ScriptAssemblies/Unity.RenderPipelines.Core.ShaderLibrary.dll - Finished compile Library/ScriptAssemblies/Unity.RenderPipeline.Universal.ShaderLibrary.dll in 3.489806 seconds - Starting compile Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Runtime.dll - Finished compile Library/ScriptAssemblies/Unity.RenderPipelines.Core.ShaderLibrary.dll in 3.237239 seconds - Starting compile Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Shaders.dll - Finished compile Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Shaders.dll in 4.030676 seconds - Starting compile Library/ScriptAssemblies/SteamManager.dll - Finished compile Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Runtime.dll in 5.777074 seconds - Starting compile Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll - Finished compile Library/ScriptAssemblies/SteamManager.dll in 4.945181 seconds - Starting compile Library/ScriptAssemblies/Unity.Rider.Editor.dll - Finished compile Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll in 5.64256 seconds - Starting compile Library/ScriptAssemblies/Unity.RenderPipelines.Core.Editor.dll - Finished compile Library/ScriptAssemblies/Unity.Rider.Editor.dll in 5.226077 seconds - Starting compile Library/ScriptAssemblies/Unity.CollabProxy.Editor.dll - Finished compile Library/ScriptAssemblies/Unity.RenderPipelines.Core.Editor.dll in 6.295002 seconds - Starting compile Library/ScriptAssemblies/Unity.VSCode.Editor.dll - Finished compile Library/ScriptAssemblies/Unity.CollabProxy.Editor.dll in 5.407695 seconds - Starting compile Library/ScriptAssemblies/Unity.SysrootPackage.Editor.dll - Finished compile Library/ScriptAssemblies/Unity.VSCode.Editor.dll in 5.221962 seconds - Starting compile Library/ScriptAssemblies/Unity.ShaderGraph.Utilities.dll - Finished compile Library/ScriptAssemblies/Unity.SysrootPackage.Editor.dll in 4.87845 seconds - Starting compile Library/ScriptAssemblies/Mirror.CompilerSymbols.dll - Finished compile Library/ScriptAssemblies/Unity.ShaderGraph.Utilities.dll in 4.506687 seconds - Starting compile Library/ScriptAssemblies/Unity.ShaderGraph.Editor.dll - Finished compile Library/ScriptAssemblies/Mirror.CompilerSymbols.dll in 4.056228 seconds - Starting compile Library/ScriptAssemblies/Mirror.dll - Finished compile Library/ScriptAssemblies/Unity.ShaderGraph.Editor.dll in 8.141725 seconds - Starting compile Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Editor.dll - Finished compile Library/ScriptAssemblies/Mirror.dll in 6.695383 seconds - Starting compile Library/ScriptAssemblies/SimpleWebTransport.dll - Finished compile Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Editor.dll in 6.127439 seconds - Starting compile Library/ScriptAssemblies/Soulbind.dll - Finished compile Library/ScriptAssemblies/SimpleWebTransport.dll in 5.675493 seconds - Starting compile Library/ScriptAssemblies/Mirror.Cloud.dll - Finished compile Library/ScriptAssemblies/Soulbind.dll in 4.969902 seconds - Starting compile Library/ScriptAssemblies/Mirror.Components.dll - Finished compile Library/ScriptAssemblies/Mirror.Cloud.dll in 4.893476 seconds - Starting compile Library/ScriptAssemblies/TestUtils.dll - Finished compile Library/ScriptAssemblies/Mirror.Components.dll in 5.252553 seconds - Starting compile Library/ScriptAssemblies/Mirror.Examples.dll - Finished compile Library/ScriptAssemblies/TestUtils.dll in 5.03149 seconds - Starting compile Library/ScriptAssemblies/Mirror.Examples.Cloud.GUI.dll - Finished compile Library/ScriptAssemblies/Mirror.Examples.dll in 4.760157 seconds - Starting compile Library/ScriptAssemblies/Mirror.Authenticators.dll - Finished compile Library/ScriptAssemblies/Mirror.Examples.Cloud.GUI.dll in 4.724245 seconds - Starting compile Library/ScriptAssemblies/Mirror.Examples.Cloud.Pong.dll - Finished compile Library/ScriptAssemblies/Mirror.Authenticators.dll in 4.635952 seconds - Starting compile Library/ScriptAssemblies/Mirror.Weaver.dll - Finished compile Library/ScriptAssemblies/Mirror.Examples.Cloud.Pong.dll in 4.665686 seconds - Starting compile Library/ScriptAssemblies/Tests.dll - Finished compile Library/ScriptAssemblies/Tests.dll in 4.435415 seconds - Starting compile Library/ScriptAssemblies/Unity.Sysroot.Linux_x86_64.dll - Finished compile Library/ScriptAssemblies/Mirror.Weaver.dll in 5.329312 seconds - Starting compile Library/ScriptAssemblies/Mirror.Editor.dll - Finished compile Library/ScriptAssemblies/Unity.Sysroot.Linux_x86_64.dll in 4.655215 seconds - Starting compile Library/ScriptAssemblies/Unity.Toolchain.Win-x86_64-Linux-x86_64.dll - Finished compile Library/ScriptAssemblies/Mirror.Editor.dll in 4.547327 seconds - Finished compile Library/ScriptAssemblies/Unity.Toolchain.Win-x86_64-Linux-x86_64.dll in 2.909931 seconds - Finished script compilation in 114.861922 seconds Begin MonoManager ReloadAssembly Native extension for LinuxStandalone target not found Refreshing native plugins compatible for Editor in 63.80 ms, found 1 plugins. Preloading 0 native plugins for Editor in 0.00 ms. Find all reader and writers took 110 milliseconds Script Module: UnityEngine.UI.dll Weave behaviours and messages took151 milliseconds Find all reader and writers took 86 milliseconds Script Module: UnityEngine.TestRunner.dll Weave behaviours and messages took50 milliseconds Find all reader and writers took 144 milliseconds Script Module: Unity.RenderPipelines.Universal.Runtime.dll Weave behaviours and messages took91 milliseconds Find all reader and writers took 84 milliseconds Script Module: SimpleWebTransport.dll Weave behaviours and messages took18 milliseconds Find all reader and writers took 96 milliseconds Script Module: Steamworks.dll Weave behaviours and messages took100 milliseconds Find all reader and writers took 127 milliseconds Script Module: Unity.InputSystem.dll Weave behaviours and messages took418 milliseconds Find all reader and writers took 110 milliseconds Script Module: Unity.TextMeshPro.dll Weave behaviours and messages took150 milliseconds Find all reader and writers took 76 milliseconds Script Module: Telepathy.dll Weave behaviours and messages took5 milliseconds Find all reader and writers took 79 milliseconds Script Module: Soulbind.dll [CharacterSelection] NetworkBehaviourProcessor [CharacterSelection] Found NetworkBehaviour CharacterSelection [CharacterSelection] Process Start [CharacterSelection] GenerateSerialization [CharacterSelection] GenerateDeSerialization [CharacterSelection] Process Done [SkillPool] NetworkBehaviourProcessor [SkillPool] Found NetworkBehaviour SkillPool [SkillPool] Process Start [SkillPool] GenerateConstants [SkillPool] GenerateSerialization [SkillPool] GenerateDeSerialization [SkillPool] Process Done [SkillPool] NetworkBehaviourProcessor [WarriorSkillPool] NetworkBehaviourProcessor [WarriorSkillPool] Found NetworkBehaviour WarriorSkillPool [WarriorSkillPool] Process Start [WarriorSkillPool] GenerateSerialization [WarriorSkillPool] GenerateDeSerialization [WarriorSkillPool] Process Done [Party] NetworkBehaviourProcessor [Party] Found NetworkBehaviour Party [Party] Process Start [Party] GenerateConstants [Party] GenerateSerialization [Party] GenerateDeSerialization [Party] Process Done [SteamMatchMaker] NetworkBehaviourProcessor [SteamMatchMaker] Found NetworkBehaviour SteamMatchMaker [SteamMatchMaker] Process Start [SteamMatchMaker] GenerateConstants [SteamMatchMaker] GenerateSerialization [SteamMatchMaker] GenerateDeSerialization [SteamMatchMaker] Process Done [Player] NetworkBehaviourProcessor [Player] Found NetworkBehaviour Player [Player] Process Start [Player] GenerateSerialization [Player] GenerateDeSerialization [Player] Process Done Weave behaviours and messages took39 milliseconds ProcessSitesModule Soulbind.dll elapsed time:00:00:00.0124130 Find all reader and writers took 84 milliseconds Script Module: Unity.RenderPipelines.Core.Runtime.dll Weave behaviours and messages took89 milliseconds Find all reader and writers took 73 milliseconds Script Module: Mirror.Cloud.dll Weave behaviours and messages took8 milliseconds Find all reader and writers took 75 milliseconds Script Module: Mirror.Components.dll [NetworkAnimator] NetworkBehaviourProcessor [NetworkAnimator] Found NetworkBehaviour Mirror.NetworkAnimator [NetworkAnimator] Process Start [NetworkAnimator] Sync Var animatorSpeed System.Single [NetworkAnimator] GenerateConstants [NetworkAnimator] GenerateSerialization [NetworkAnimator] GenerateDeSerialization [NetworkAnimator] Process Done [NetworkRoomPlayer] NetworkBehaviourProcessor [NetworkRoomPlayer] Found NetworkBehaviour Mirror.NetworkRoomPlayer [NetworkRoomPlayer] Process Start [NetworkRoomPlayer] Sync Var readyToBegin System.Boolean [NetworkRoomPlayer] Sync Var index System.Int32 [NetworkRoomPlayer] GenerateConstants [NetworkRoomPlayer] GenerateSerialization [NetworkRoomPlayer] GenerateDeSerialization [NetworkRoomPlayer] Process Done [NetworkLobbyPlayer] NetworkBehaviourProcessor [NetworkLobbyPlayer] Found NetworkBehaviour Mirror.NetworkLobbyPlayer [NetworkLobbyPlayer] Process Start [NetworkLobbyPlayer] GenerateSerialization [NetworkLobbyPlayer] GenerateDeSerialization [NetworkLobbyPlayer] Process Done [NetworkVisibility] NetworkBehaviourProcessor [NetworkVisibility] Found NetworkBehaviour Mirror.NetworkVisibility [NetworkVisibility] Process Start [NetworkVisibility] GenerateSerialization [NetworkVisibility] GenerateDeSerialization [NetworkVisibility] Process Done [NetworkMatchChecker] NetworkBehaviourProcessor [NetworkMatchChecker] Found NetworkBehaviour Mirror.NetworkMatchChecker [NetworkMatchChecker] Process Start [NetworkMatchChecker] Sync Var currentMatchDebug System.String [NetworkMatchChecker] GenerateSerialization [NetworkMatchChecker] GenerateDeSerialization [NetworkMatchChecker] Process Done [NetworkVisibility] NetworkBehaviourProcessor [NetworkProximityChecker] NetworkBehaviourProcessor [NetworkProximityChecker] Found NetworkBehaviour Mirror.NetworkProximityChecker [NetworkProximityChecker] Process Start [NetworkProximityChecker] GenerateSerialization [NetworkProximityChecker] GenerateDeSerialization [NetworkProximityChecker] Process Done [NetworkRoomPlayer] NetworkBehaviourProcessor [NetworkVisibility] NetworkBehaviourProcessor [NetworkSceneChecker] NetworkBehaviourProcessor [NetworkSceneChecker] Found NetworkBehaviour Mirror.NetworkSceneChecker [NetworkSceneChecker] Process Start [NetworkSceneChecker] GenerateSerialization [NetworkSceneChecker] GenerateDeSerialization [NetworkSceneChecker] Process Done [NetworkTransformBase] NetworkBehaviourProcessor [NetworkTransformBase] Found NetworkBehaviour Mirror.NetworkTransformBase [NetworkTransformBase] Process Start [NetworkTransformBase] GenerateConstants [NetworkTransformBase] GenerateSerialization [NetworkTransformBase] GenerateDeSerialization [NetworkTransformBase] Process Done [NetworkTransform] NetworkBehaviourProcessor [NetworkTransform] Found NetworkBehaviour Mirror.NetworkTransform [NetworkTransform] Process Start [NetworkTransform] GenerateSerialization [NetworkTransform] GenerateDeSerialization [NetworkTransform] Process Done [NetworkTransformBase] NetworkBehaviourProcessor [NetworkTransformBase] NetworkBehaviourProcessor [NetworkTransformChild] NetworkBehaviourProcessor [NetworkTransformChild] Found NetworkBehaviour Mirror.NetworkTransformChild [NetworkTransformChild] Process Start [NetworkTransformChild] GenerateSerialization [NetworkTransformChild] GenerateDeSerialization [NetworkTransformChild] Process Done [NetworkLerpRigidbody] NetworkBehaviourProcessor [NetworkLerpRigidbody] Found NetworkBehaviour Mirror.Experimental.NetworkLerpRigidbody [NetworkLerpRigidbody] Process Start [NetworkLerpRigidbody] Sync Var targetVelocity UnityEngine.Vector3 [NetworkLerpRigidbody] Sync Var targetPosition UnityEngine.Vector3 [NetworkLerpRigidbody] GenerateConstants [NetworkLerpRigidbody] GenerateSerialization [NetworkLerpRigidbody] GenerateDeSerialization [NetworkLerpRigidbody] Process Done [NetworkRigidbody] NetworkBehaviourProcessor [NetworkRigidbody] Found NetworkBehaviour Mirror.Experimental.NetworkRigidbody [NetworkRigidbody] Process Start [NetworkRigidbody] Sync Var velocity UnityEngine.Vector3 [NetworkRigidbody] Sync Var angularVelocity UnityEngine.Vector3 [NetworkRigidbody] Sync Var isKinematic System.Boolean [NetworkRigidbody] Sync Var useGravity System.Boolean [NetworkRigidbody] Sync Var drag System.Single [NetworkRigidbody] Sync Var angularDrag System.Single [NetworkRigidbody] GenerateConstants [NetworkRigidbody] GenerateSerialization [NetworkRigidbody] GenerateDeSerialization [NetworkRigidbody] Process Done [NetworkRigidbody2D] NetworkBehaviourProcessor [NetworkRigidbody2D] Found NetworkBehaviour Mirror.Experimental.NetworkRigidbody2D [NetworkRigidbody2D] Process Start [NetworkRigidbody2D] Sync Var velocity UnityEngine.Vector2 [NetworkRigidbody2D] Sync Var angularVelocity System.Single [NetworkRigidbody2D] Sync Var isKinematic System.Boolean [NetworkRigidbody2D] Sync Var gravityScale System.Single [NetworkRigidbody2D] Sync Var drag System.Single [NetworkRigidbody2D] Sync Var angularDrag System.Single [NetworkRigidbody2D] GenerateConstants [NetworkRigidbody2D] GenerateSerialization [NetworkRigidbody2D] GenerateDeSerialization [NetworkRigidbody2D] Process Done [NetworkTransformBase] NetworkBehaviourProcessor [NetworkTransformBase] Found NetworkBehaviour Mirror.Experimental.NetworkTransformBase [NetworkTransformBase] Process Start [NetworkTransformBase] Sync Var clientAuthority System.Boolean [NetworkTransformBase] Sync Var excludeOwnerUpdate System.Boolean [NetworkTransformBase] Sync Var syncPosition System.Boolean [NetworkTransformBase] Sync Var syncRotation System.Boolean [NetworkTransformBase] Sync Var syncScale System.Boolean [NetworkTransformBase] Sync Var interpolatePosition System.Boolean [NetworkTransformBase] Sync Var interpolateRotation System.Boolean [NetworkTransformBase] Sync Var interpolateScale System.Boolean [NetworkTransformBase] Sync Var localPositionSensitivity System.Single [NetworkTransformBase] Sync Var localRotationSensitivity System.Single [NetworkTransformBase] Sync Var localScaleSensitivity System.Single [NetworkTransformBase] GenerateConstants [NetworkTransformBase] GenerateSerialization [NetworkTransformBase] GenerateDeSerialization [NetworkTransformBase] Process Done [NetworkTransform] NetworkBehaviourProcessor [NetworkTransform] Found NetworkBehaviour Mirror.Experimental.NetworkTransform [NetworkTransform] Process Start [NetworkTransform] GenerateSerialization [NetworkTransform] GenerateDeSerialization [NetworkTransform] Process Done [NetworkTransformBase] NetworkBehaviourProcessor [NetworkTransformBase] NetworkBehaviourProcessor [NetworkTransformChild] NetworkBehaviourProcessor [NetworkTransformChild] Found NetworkBehaviour Mirror.Experimental.NetworkTransformChild [NetworkTransformChild] Process Start [NetworkTransformChild] GenerateSerialization [NetworkTransformChild] GenerateDeSerialization [NetworkTransformChild] Process Done Weave behaviours and messages took71 milliseconds ProcessSitesModule Mirror.Components.dll elapsed time:00:00:00.0031820 Find all reader and writers took 82 milliseconds Script Module: Mirror.Examples.dll [Projectile] NetworkBehaviourProcessor [Projectile] Found NetworkBehaviour Mirror.Examples.Tanks.Projectile [Projectile] Process Start [Projectile] GenerateSerialization [Projectile] GenerateDeSerialization [Projectile] Process Done [Tank] NetworkBehaviourProcessor [Tank] Found NetworkBehaviour Mirror.Examples.Tanks.Tank [Tank] Process Start [Tank] GenerateConstants [Tank] GenerateSerialization [Tank] GenerateDeSerialization [Tank] Process Done [NetworkRoomPlayer] NetworkBehaviourProcessor [NetworkRoomPlayerExt] NetworkBehaviourProcessor [NetworkRoomPlayerExt] Found NetworkBehaviour Mirror.Examples.NetworkRoom.NetworkRoomPlayerExt [NetworkRoomPlayerExt] Process Start [NetworkRoomPlayerExt] GenerateSerialization [NetworkRoomPlayerExt] GenerateDeSerialization [NetworkRoomPlayerExt] Process Done [PlayerController] NetworkBehaviourProcessor [PlayerController] Found NetworkBehaviour Mirror.Examples.NetworkRoom.PlayerController [PlayerController] Process Start [PlayerController] GenerateSerialization [PlayerController] GenerateDeSerialization [PlayerController] Process Done [PlayerScore] NetworkBehaviourProcessor [PlayerScore] Found NetworkBehaviour Mirror.Examples.NetworkRoom.PlayerScore [PlayerScore] Process Start [PlayerScore] Sync Var index System.Int32 [PlayerScore] Sync Var score System.UInt32 [PlayerScore] GenerateSerialization [PlayerScore] GenerateDeSerialization [PlayerScore] Process Done [RandomColor] NetworkBehaviourProcessor [RandomColor] Found NetworkBehaviour Mirror.Examples.NetworkRoom.RandomColor [RandomColor] Process Start [RandomColor] Sync Var color UnityEngine.Color32 [RandomColor] GenerateSerialization [RandomColor] GenerateDeSerialization [RandomColor] Process Done [Reward] NetworkBehaviourProcessor [Reward] Found NetworkBehaviour Mirror.Examples.NetworkRoom.Reward [Reward] Process Start [Reward] GenerateSerialization [Reward] GenerateDeSerialization [Reward] Process Done [AddForce] NetworkBehaviourProcessor [AddForce] Found NetworkBehaviour Mirror.Examples.RigidbodyPhysics.AddForce [AddForce] Process Start [AddForce] GenerateSerialization [AddForce] GenerateDeSerialization [AddForce] Process Done [Ball] NetworkBehaviourProcessor [Ball] Found NetworkBehaviour Mirror.Examples.Pong.Ball [Ball] Process Start [Ball] GenerateSerialization [Ball] GenerateDeSerialization [Ball] Process Done [Player] NetworkBehaviourProcessor [Player] Found NetworkBehaviour Mirror.Examples.Pong.Player [Player] Process Start [Player] GenerateSerialization [Player] GenerateDeSerialization [Player] Process Done [MatchController] NetworkBehaviourProcessor [MatchController] Found NetworkBehaviour Mirror.Examples.MultipleMatch.MatchController [MatchController] Process Start [MatchController] Sync Var currentPlayer Mirror.NetworkIdentity [MatchController] GenerateConstants [MatchController] GenerateSerialization [MatchController] GenerateDeSerialization [MatchController] Process Done [PhysicsCollision] NetworkBehaviourProcessor [PhysicsCollision] Found NetworkBehaviour Mirror.Examples.MultipleAdditiveScenes.PhysicsCollision [PhysicsCollision] Process Start [PhysicsCollision] GenerateSerialization [PhysicsCollision] GenerateDeSerialization [PhysicsCollision] Process Done [PlayerController] NetworkBehaviourProcessor [PlayerController] Found NetworkBehaviour Mirror.Examples.MultipleAdditiveScenes.PlayerController [PlayerController] Process Start [PlayerController] GenerateSerialization [PlayerController] GenerateDeSerialization [PlayerController] Process Done [PlayerScore] NetworkBehaviourProcessor [PlayerScore] Found NetworkBehaviour Mirror.Examples.MultipleAdditiveScenes.PlayerScore [PlayerScore] Process Start [PlayerScore] Sync Var playerNumber System.Int32 [PlayerScore] Sync Var scoreIndex System.Int32 [PlayerScore] Sync Var matchIndex System.Int32 [PlayerScore] Sync Var score System.UInt32 [PlayerScore] GenerateSerialization [PlayerScore] GenerateDeSerialization [PlayerScore] Process Done [RandomColor] NetworkBehaviourProcessor [RandomColor] Found NetworkBehaviour Mirror.Examples.MultipleAdditiveScenes.RandomColor [RandomColor] Process Start [RandomColor] Sync Var color UnityEngine.Color32 [RandomColor] GenerateSerialization [RandomColor] GenerateDeSerialization [RandomColor] Process Done [Reward] NetworkBehaviourProcessor [Reward] Found NetworkBehaviour Mirror.Examples.MultipleAdditiveScenes.Reward [Reward] Process Start [Reward] GenerateSerialization [Reward] GenerateDeSerialization [Reward] Process Done [Player] NetworkBehaviourProcessor [Player] Found NetworkBehaviour Mirror.Examples.Chat.Player [Player] Process Start [Player] Sync Var playerName System.String [Player] GenerateConstants [Player] GenerateSerialization [Player] GenerateDeSerialization [Player] Process Done [MonsterMovement] NetworkBehaviourProcessor [MonsterMovement] Found NetworkBehaviour Mirror.Examples.Benchmark.MonsterMovement [MonsterMovement] Process Start [MonsterMovement] GenerateSerialization [MonsterMovement] GenerateDeSerialization [MonsterMovement] Process Done [PlayerMovement] NetworkBehaviourProcessor [PlayerMovement] Found NetworkBehaviour Mirror.Examples.Benchmark.PlayerMovement [PlayerMovement] Process Start [PlayerMovement] GenerateSerialization [PlayerMovement] GenerateDeSerialization [PlayerMovement] Process Done [Player] NetworkBehaviourProcessor [Player] Found NetworkBehaviour Mirror.Examples.Basic.Player [Player] Process Start [Player] Sync Var playerNumber System.Int32 [Player] Sync Var playerData System.Int32 [Player] Sync Var playerColor UnityEngine.Color32 [Player] GenerateSerialization [Player] GenerateDeSerialization [Player] Process Done [PlayerController] NetworkBehaviourProcessor [PlayerController] Found NetworkBehaviour Mirror.Examples.Additive.PlayerController [PlayerController] Process Start [PlayerController] GenerateSerialization [PlayerController] GenerateDeSerialization [PlayerController] Process Done [RandomColor] NetworkBehaviourProcessor [RandomColor] Found NetworkBehaviour Mirror.Examples.Additive.RandomColor [RandomColor] Process Start [RandomColor] Sync Var color UnityEngine.Color32 [RandomColor] GenerateSerialization [RandomColor] GenerateDeSerialization [RandomColor] Process Done [ShootingTankBehaviour] NetworkBehaviourProcessor [ShootingTankBehaviour] Found NetworkBehaviour Mirror.Examples.Additive.ShootingTankBehaviour [ShootingTankBehaviour] Process Start [ShootingTankBehaviour] Sync Var rotation UnityEngine.Quaternion [ShootingTankBehaviour] GenerateSerialization [ShootingTankBehaviour] GenerateDeSerialization [ShootingTankBehaviour] Process Done Weave behaviours and messages took58 milliseconds ProcessSitesModule Mirror.Examples.dll elapsed time:00:00:00.0027750 Find all reader and writers took 80 milliseconds Script Module: TestUtils.dll Weave behaviours and messages took1 milliseconds Find all reader and writers took 76 milliseconds Script Module: Mirror.Examples.Cloud.GUI.dll Weave behaviours and messages took5 milliseconds Find all reader and writers took 81 milliseconds Script Module: kcp2k.dll Weave behaviours and messages took9 milliseconds Find all reader and writers took 80 milliseconds Script Module: Mirror.Examples.Cloud.Pong.dll [Ball] NetworkBehaviourProcessor [Ball] Found NetworkBehaviour Mirror.Cloud.Examples.Pong.Ball [Ball] Process Start [Ball] GenerateSerialization [Ball] GenerateDeSerialization [Ball] Process Done [BallManager] NetworkBehaviourProcessor [BallManager] Found NetworkBehaviour Mirror.Cloud.Examples.Pong.BallManager [BallManager] Process Start [BallManager] GenerateSerialization [BallManager] GenerateDeSerialization [BallManager] Process Done [Player] NetworkBehaviourProcessor [Player] Found NetworkBehaviour Mirror.Cloud.Examples.Pong.Player [Player] Process Start [Player] GenerateSerialization [Player] GenerateDeSerialization [Player] Process Done Weave behaviours and messages took2 milliseconds ProcessSitesModule Mirror.Examples.Cloud.Pong.dll elapsed time:00:00:00.0000820 Find all reader and writers took 72 milliseconds Script Module: Mirror.Authenticators.dll Weave behaviours and messages took2 milliseconds ProcessSitesModule Mirror.Authenticators.dll elapsed time:00:00:00.0001590 Find all reader and writers took 67 milliseconds Script Module: Unity.RenderPipelines.ShaderGraph.ShaderGraphLibrary.dll Weave behaviours and messages took0 milliseconds Find all reader and writers took 73 milliseconds Script Module: Unity.RenderPipeline.Universal.ShaderLibrary.dll Weave behaviours and messages took0 milliseconds Find all reader and writers took 78 milliseconds Script Module: Unity.RenderPipelines.Core.ShaderLibrary.dll Weave behaviours and messages took0 milliseconds Find all reader and writers took 76 milliseconds Script Module: Unity.RenderPipelines.Universal.Shaders.dll Weave behaviours and messages took0 milliseconds Find all reader and writers took 74 milliseconds Script Module: SteamManager.dll Weave behaviours and messages took2 milliseconds Find all reader and writers took 139 milliseconds Script Module: UnityEditor.TestRunner.dll Weave behaviours and messages took71 milliseconds Find all reader and writers took 157 milliseconds Script Module: UnityEditor.UI.dll Weave behaviours and messages took22 milliseconds Find all reader and writers took 100 milliseconds Script Module: Tests.dll Weave behaviours and messages took4 milliseconds Find all reader and writers took 137 milliseconds Script Module: Unity.Toolchain.Win-x86_64-Linux-x86_64.dll Weave behaviours and messages took1 milliseconds Find all reader and writers took 105 milliseconds Script Module: Unity.ShaderGraph.Utilities.dll Weave behaviours and messages took0 milliseconds Find all reader and writers took 93 milliseconds Script Module: Mirror.CompilerSymbols.dll Weave behaviours and messages took0 milliseconds Find all reader and writers took 136 milliseconds Script Module: Unity.Sysroot.Linux_x86_64.dll Weave behaviours and messages took0 milliseconds Mono: successfully reloaded assembly - Completed reload, in 8.987 seconds Platform modules already initialized, skipping - Starting script compilation - Starting compile Library/ScriptAssemblies/Assembly-CSharp-Editor.dll -----Compiler Commandline Arguments: Filename: /opt/unity/Editor/Data/Tools/RoslynScripts/unity_csc.sh Arguments: /noconfig @Temp/UnityTempFile-50d8f9cbb027ad47a848a8246684121b Responsefile: Temp/UnityTempFile-50d8f9cbb027ad47a848a8246684121b Contents: /target:library /nowarn:0169 /nowarn:0649 /out:"Temp/Assembly-CSharp-Editor.dll" /debug:portable /optimize- /nostdlib+ /preferreduilang:en-US /langversion:latest /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.AIModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.ARModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.AccessibilityModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.AndroidJNIModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.AnimationModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.AssetBundleModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.AudioModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.ClothModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.ClusterInputModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.ClusterRendererModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.CoreModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.CrashReportingModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.DSPGraphModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.DirectorModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.GameCenterModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.GridModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.HotReloadModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.IMGUIModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.ImageConversionModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.InputModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.InputLegacyModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.JSONSerializeModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.LocalizationModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.ParticleSystemModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.PerformanceReportingModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.PhysicsModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.Physics2DModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.ProfilerModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.ScreenCaptureModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.SharedInternalsModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.SpriteMaskModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.SpriteShapeModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.StreamingModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.SubstanceModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.SubsystemsModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.TLSModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.TerrainModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.TerrainPhysicsModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.TextCoreModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.TextRenderingModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.TilemapModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UIModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UIElementsModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UNETModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UmbraModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityAnalyticsModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityConnectModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityTestProtocolModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestAssetBundleModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestAudioModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestTextureModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestWWWModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.VFXModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.VRModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.VehiclesModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.VideoModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.WindModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEngine/UnityEngine.XRModule.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEditor.dll" /reference:"Library/ScriptAssemblies/UnityEditor.TestRunner.dll" /reference:"Library/ScriptAssemblies/UnityEngine.TestRunner.dll" /reference:"Library/ScriptAssemblies/Unity.RenderPipeline.Universal.ShaderLibrary.dll" /reference:"Library/ScriptAssemblies/Unity.Toolchain.Win-x86_64-Linux-x86_64.dll" /reference:"Library/ScriptAssemblies/Mirror.Weaver.dll" /reference:"Library/ScriptAssemblies/Soulbind.dll" /reference:"Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Shaders.dll" /reference:"Library/ScriptAssemblies/Unity.VSCode.Editor.dll" /reference:"Library/ScriptAssemblies/SteamManager.dll" /reference:"Library/ScriptAssemblies/Steamworks.dll" /reference:"Library/ScriptAssemblies/Unity.RenderPipelines.Core.Editor.dll" /reference:"Library/ScriptAssemblies/Mirror.Authenticators.dll" /reference:"Library/ScriptAssemblies/Mirror.Components.dll" /reference:"Library/ScriptAssemblies/Unity.InputSystem.dll" /reference:"Library/ScriptAssemblies/Unity.RenderPipelines.Core.Runtime.dll" /reference:"Library/ScriptAssemblies/Mirror.Examples.dll" /reference:"Library/ScriptAssemblies/Mirror.CompilerSymbols.dll" /reference:"Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll" /reference:"Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Runtime.dll" /reference:"Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Editor.dll" /reference:"Library/ScriptAssemblies/UnityEngine.UI.dll" /reference:"Library/ScriptAssemblies/Mirror.Cloud.dll" /reference:"Library/ScriptAssemblies/Unity.CollabProxy.Editor.dll" /reference:"Library/ScriptAssemblies/Telepathy.dll" /reference:"Library/ScriptAssemblies/Mirror.Examples.Cloud.Pong.dll" /reference:"Library/ScriptAssemblies/Unity.Rider.Editor.dll" /reference:"Library/ScriptAssemblies/Unity.RenderPipelines.ShaderGraph.ShaderGraphLibrary.dll" /reference:"Library/ScriptAssemblies/Mirror.dll" /reference:"Library/ScriptAssemblies/Mirror.Editor.dll" /reference:"Library/ScriptAssemblies/kcp2k.dll" /reference:"Library/ScriptAssemblies/TestUtils.dll" /reference:"Library/ScriptAssemblies/Mirror.Examples.Cloud.GUI.dll" /reference:"Library/ScriptAssemblies/Unity.Sysroot.Linux_x86_64.dll" /reference:"Library/ScriptAssemblies/SimpleWebTransport.dll" /reference:"Library/ScriptAssemblies/Unity.ShaderGraph.Editor.dll" /reference:"Library/ScriptAssemblies/Unity.RenderPipelines.Core.ShaderLibrary.dll" /reference:"Library/ScriptAssemblies/Unity.SysrootPackage.Editor.dll" /reference:"Library/ScriptAssemblies/Unity.TextMeshPro.dll" /reference:"Library/ScriptAssemblies/UnityEditor.UI.dll" /reference:"/opt/unity/Editor/Data/UnityExtensions/Unity/UnityVR/Editor/UnityEditor.VR.dll" /reference:"/opt/unity/Editor/Data/Managed/UnityEditor.Graphs.dll" /reference:"/opt/unity/Editor/Data/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll" /reference:"Assets/Mirror/Plugins/Mono.Cecil/Mono.CecilX.Pdb.dll" /reference:"Assets/Mirror/Plugins/Mono.Cecil/Mono.CecilX.dll" /reference:"Assets/Mirror/Plugins/Mono.Cecil/Mono.CecilX.Rocks.dll" /reference:"Assets/Mirror/Plugins/Mono.Cecil/Mono.CecilX.Mdb.dll" /reference:"/github/workspace/Library/PackageCache/[email protected]/Editor/ShaderGenerator/ICSharpCode.NRefactory.dll" /reference:"/github/workspace/Library/PackageCache/[email protected]/net35/unity-custom/nunit.framework.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/mscorlib.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Core.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Runtime.Serialization.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Xml.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Xml.Linq.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Numerics.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Numerics.Vectors.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Net.Http.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Microsoft.CSharp.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Data.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/Microsoft.Win32.Primitives.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.AppContext.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Collections.Concurrent.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Collections.NonGeneric.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Collections.Specialized.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Collections.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.Annotations.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.EventBasedAsync.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.Primitives.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.TypeConverter.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Console.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Data.Common.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.Contracts.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.Debug.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.FileVersionInfo.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.Process.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.StackTrace.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.TextWriterTraceListener.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.Tools.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.TraceSource.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Drawing.Primitives.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Dynamic.Runtime.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Globalization.Calendars.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Globalization.Extensions.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Globalization.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.Compression.ZipFile.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.FileSystem.DriveInfo.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.FileSystem.Primitives.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.FileSystem.Watcher.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.FileSystem.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.IsolatedStorage.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.MemoryMappedFiles.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.Pipes.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.UnmanagedMemoryStream.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Linq.Expressions.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Linq.Parallel.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Linq.Queryable.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Linq.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Http.Rtc.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.NameResolution.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.NetworkInformation.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Ping.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Primitives.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Requests.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Security.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Sockets.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.WebHeaderCollection.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.WebSockets.Client.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.WebSockets.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ObjectModel.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Emit.ILGeneration.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Emit.Lightweight.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Emit.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Extensions.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Primitives.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Resources.Reader.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Resources.ResourceManager.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Resources.Writer.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.CompilerServices.VisualC.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Extensions.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Handles.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.InteropServices.RuntimeInformation.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.InteropServices.WindowsRuntime.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.InteropServices.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Numerics.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Serialization.Formatters.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Serialization.Json.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Serialization.Primitives.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Serialization.Xml.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Claims.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.Algorithms.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.Csp.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.Encoding.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.Primitives.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.X509Certificates.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Principal.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.SecureString.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.Duplex.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.Http.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.NetTcp.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.Primitives.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.Security.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Text.Encoding.Extensions.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Text.Encoding.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Text.RegularExpressions.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Overlapped.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Tasks.Parallel.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Tasks.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Thread.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.ThreadPool.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Timer.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ValueTuple.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.ReaderWriter.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XDocument.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XPath.XDocument.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XPath.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XmlDocument.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XmlSerializer.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/netstandard.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/unityscript/UnityScript.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/unityscript/UnityScript.Lang.dll" /reference:"/opt/unity/Editor/Data/MonoBleedingEdge/lib/mono/unityscript/Boo.Lang.dll" /define:UNITY_2019_4_22 /define:UNITY_2019_4 /define:UNITY_2019 /define:UNITY_5_3_OR_NEWER /define:UNITY_5_4_OR_NEWER /define:UNITY_5_5_OR_NEWER /define:UNITY_5_6_OR_NEWER /define:UNITY_2017_1_OR_NEWER /define:UNITY_2017_2_OR_NEWER /define:UNITY_2017_3_OR_NEWER /define:UNITY_2017_4_OR_NEWER /define:UNITY_2018_1_OR_NEWER /define:UNITY_2018_2_OR_NEWER /define:UNITY_2018_3_OR_NEWER /define:UNITY_2018_4_OR_NEWER /define:UNITY_2019_1_OR_NEWER /define:UNITY_2019_2_OR_NEWER /define:UNITY_2019_3_OR_NEWER /define:UNITY_2019_4_OR_NEWER /define:PLATFORM_ARCH_64 /define:UNITY_64 /define:UNITY_INCLUDE_TESTS /define:ENABLE_AUDIO /define:ENABLE_CACHING /define:ENABLE_CLOTH /define:ENABLE_MICROPHONE /define:ENABLE_MULTIPLE_DISPLAYS /define:ENABLE_PHYSICS /define:ENABLE_TEXTURE_STREAMING /define:ENABLE_UNET /define:ENABLE_LZMA /define:ENABLE_UNITYEVENTS /define:ENABLE_VR /define:ENABLE_WEBCAM /define:ENABLE_UNITYWEBREQUEST /define:ENABLE_WWW /define:ENABLE_CLOUD_SERVICES /define:ENABLE_CLOUD_SERVICES_COLLAB /define:ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS /define:ENABLE_CLOUD_SERVICES_ADS /define:ENABLE_CLOUD_SERVICES_USE_WEBREQUEST /define:ENABLE_CLOUD_SERVICES_CRASH_REPORTING /define:ENABLE_CLOUD_SERVICES_PURCHASING /define:ENABLE_CLOUD_SERVICES_ANALYTICS /define:ENABLE_CLOUD_SERVICES_UNET /define:ENABLE_CLOUD_SERVICES_BUILD /define:ENABLE_CLOUD_LICENSE /define:ENABLE_EDITOR_HUB_LICENSE /define:ENABLE_WEBSOCKET_CLIENT /define:ENABLE_DIRECTOR_AUDIO /define:ENABLE_DIRECTOR_TEXTURE /define:ENABLE_MANAGED_JOBS /define:ENABLE_MANAGED_TRANSFORM_JOBS /define:ENABLE_MANAGED_ANIMATION_JOBS /define:ENABLE_MANAGED_AUDIO_JOBS /define:INCLUDE_DYNAMIC_GI /define:ENABLE_MONO_BDWGC /define:ENABLE_SCRIPTING_GC_WBARRIERS /define:PLATFORM_SUPPORTS_MONO /define:RENDER_SOFTWARE_CURSOR /define:ENABLE_VIDEO /define:PLATFORM_STANDALONE /define:PLATFORM_STANDALONE_LINUX /define:UNITY_STANDALONE_LINUX /define:UNITY_STANDALONE /define:UNITY_STANDALONE_LINUX_API /define:ENABLE_RUNTIME_GI /define:ENABLE_MOVIES /define:ENABLE_NETWORK /define:ENABLE_CRUNCH_TEXTURE_COMPRESSION /define:ENABLE_CLUSTER_SYNC /define:ENABLE_CLUSTERINPUT /define:ENABLE_SPATIALTRACKING /define:ENABLE_MODULAR_UNITYENGINE_ASSEMBLIES /define:ENABLE_WEBSOCKET_HOST /define:ENABLE_MONO /define:NET_4_6 /define:ENABLE_PROFILER /define:DEBUG /define:TRACE /define:UNITY_ASSERTIONS /define:UNITY_EDITOR /define:UNITY_EDITOR_64 /define:UNITY_EDITOR_LINUX /define:ENABLE_UNITY_COLLECTIONS_CHECKS /define:ENABLE_BURST_AOT /define:UNITY_TEAM_LICENSE /define:ENABLE_CUSTOM_RENDER_TEXTURE /define:ENABLE_DIRECTOR /define:ENABLE_LOCALIZATION /define:ENABLE_SPRITES /define:ENABLE_TERRAIN /define:ENABLE_TILEMAP /define:ENABLE_TIMELINE /define:ENABLE_INPUT_SYSTEM /define:STEAM /define:MIRROR /define:MIRROR_1726_OR_NEWER /define:MIRROR_3_0_OR_NEWER /define:MIRROR_3_12_OR_NEWER /define:MIRROR_4_0_OR_NEWER /define:MIRROR_5_0_OR_NEWER /define:MIRROR_6_0_OR_NEWER /define:MIRROR_7_0_OR_NEWER /define:MIRROR_8_0_OR_NEWER /define:MIRROR_9_0_OR_NEWER /define:MIRROR_10_0_OR_NEWER /define:MIRROR_11_0_OR_NEWER /define:MIRROR_12_0_OR_NEWER /define:MIRROR_13_0_OR_NEWER /define:MIRROR_14_0_OR_NEWER /define:MIRROR_15_0_OR_NEWER /define:MIRROR_16_0_OR_NEWER /define:MIRROR_17_0_OR_NEWER /define:MIRROR_18_0_OR_NEWER /define:MIRROR_24_0_OR_NEWER /define:MIRROR_26_0_OR_NEWER /define:MIRROR_27_0_OR_NEWER /define:MIRROR_28_0_OR_NEWER /define:MIRROR_29_0_OR_NEWER /define:MIRROR_30_0_OR_NEWER /define:CSHARP_7_OR_LATER /define:CSHARP_7_3_OR_NEWER "Assets/Editor/Steamworks.NET/RedistCopy.cs" "Assets/Editor/Steamworks.NET/RedistInstall.cs" -----CompilerOutput:-stdout--exitcode: 136--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-Editor.dll -----CompilerOutput:-stderr---------- /opt/unity/Editor/Data/Tools/RoslynScripts/unity_csc.sh: line 23: uname: command not found Failed to load H�(�, error: libunwind.so.8: cannot open shared object file: No such file or directory Failed to bind to CoreCLR at '/opt/unity/Editor/Data/Tools/Roslyn/libcoreclr.so' -----EndCompilerOutput--------------- Weaver: stop because compile errors on target UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:Log (object) Mirror.Weaver.CompilationFinishedHook:OnCompilationFinished (string,UnityEditor.Compilation.CompilerMessage[]) (at Assets/Mirror/Editor/Weaver/CompilationFinishedHook.cs:99) UnityEditor.Compilation.CompilationPipeline/<>c:b__18_3 (string,UnityEditor.Compilation.CompilerMessage[]) (at /home/bokken/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/CompilationPipeline.cs:188) UnityEditor.Scripting.ScriptCompilation.EditorCompilation:InvokeAssemblyCompilationFinished (string,System.Collections.Generic.List`1) (at /home/bokken/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:1847) UnityEditor.Scripting.ScriptCompilation.EditorCompilation/<>c__DisplayClass132_0:b__4 (UnityEditor.Scripting.ScriptCompilation.ScriptAssembly,System.Collections.Generic.List`1) (at /home/bokken/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:1742) UnityEditor.Scripting.ScriptCompilation.CompilationTask:Poll () (at /home/bokken/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/CompilationTask.cs:184) UnityEditor.Scripting.ScriptCompilation.EditorCompilation:PollCompilation () (at /home/bokken/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:2054) UnityEditor.Scripting.ScriptCompilation.EditorCompilation:TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget) (at /home/bokken/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:2047) UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget) (at /home/bokken/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilationInterface.cs:429) (Filename: /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs Line: 37) - Finished script compilation in 0.866213 seconds Reloading assemblies after forced synchronous recompile. RefreshInfo: InitialScriptRefreshV2(NoUpdateAssetOptions) RefreshProfiler: Total: 127137.721ms InvokeBeforeRefreshCallbacks: 0.183ms ApplyChangesToAssetFolders: 0.085ms WriteModifiedImportersToTextMetaFiles: 0.000ms CleanLegacyArtifacts: 0.000ms Scan: 270.883ms OnSourceAssetsModified: 0.000ms UnregisterDeletedAssets: 0.000ms InitializeImportedAssetsSnapshot: 0.273ms GetAllGuidsForCategorization: 0.203ms CategorizeAssets: 94.028ms ImportAndPostprocessOutOfDateAssets: 126745.853ms (126737.181ms without children) ImportManagerImport: 0.000ms (0.000ms without children) ImportInProcess: 0.000ms ImportOutOfProcess: 0.000ms UpdateCategorizedAssets: 0.000ms RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children) RemoteAssetCacheResolve: 0.000ms RemoteAssetCacheDownloadFile: 0.000ms CompileScripts: 0.000ms PostProcessAllAssets: 0.000ms ReloadImportedAssets: 0.000ms VerifyAssetsAreUpToDateAndCorrect: 0.000ms EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.490ms InitializingProgressBar: 0.001ms PostProcessAllAssetNotificationsAddChangedAssets: 0.483ms OnDemandSchedulerStart: 0.000ms RestoreLoadedAssetsState: 0.727ms InvokeProjectHasChanged: 0.000ms UpdateImportedAssetsSnapshot: 6.971ms ReloadSourceAssets: 0.833ms UnloadImportedAssets: 0.004ms Hotreload: 0.088ms FixTempGuids: 0.004ms VerifyGuidPMRegistrations: 0.000ms GatherAllCurrentPrimaryArtifactRevisions: 0.001ms UnloadStreamsBegin: 0.284ms LoadedImportedAssetsSnapshotReleaseGCHandles: 0.359ms GetLoadedSourceAssetsSnapshot: 0.835ms PersistCurrentRevisions: 0.000ms UnloadStreamsEnd: 22.358ms GenerateScriptTypeHashes: 0.086ms Untracked: 1.447ms Refresh completed in 0.137172 seconds. RefreshInfo: RefreshV2(ForceSynchronousImport) RefreshProfiler: Total: 137.164ms InvokeBeforeRefreshCallbacks: 0.190ms ApplyChangesToAssetFolders: 0.110ms WriteModifiedImportersToTextMetaFiles: 0.000ms CleanLegacyArtifacts: 0.000ms Scan: 57.949ms OnSourceAssetsModified: 0.000ms UnregisterDeletedAssets: 0.000ms InitializeImportedAssetsSnapshot: 4.824ms GetAllGuidsForCategorization: 0.202ms CategorizeAssets: 59.899ms ImportAndPostprocessOutOfDateAssets: 6.188ms (2.452ms without children) ImportManagerImport: 0.000ms (0.000ms without children) ImportInProcess: 0.000ms ImportOutOfProcess: 0.000ms UpdateCategorizedAssets: 0.000ms RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children) RemoteAssetCacheResolve: 0.000ms RemoteAssetCacheDownloadFile: 0.000ms CompileScripts: 0.000ms PostProcessAllAssets: 0.001ms ReloadImportedAssets: 0.000ms VerifyAssetsAreUpToDateAndCorrect: 0.000ms EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.694ms InitializingProgressBar: 0.000ms PostProcessAllAssetNotificationsAddChangedAssets: 0.216ms OnDemandSchedulerStart: 1.134ms RestoreLoadedAssetsState: 1.690ms InvokeProjectHasChanged: 0.000ms UpdateImportedAssetsSnapshot: 0.000ms ReloadSourceAssets: 0.891ms UnloadImportedAssets: 0.213ms Hotreload: 0.026ms FixTempGuids: 0.004ms VerifyGuidPMRegistrations: 0.000ms GatherAllCurrentPrimaryArtifactRevisions: 0.481ms UnloadStreamsBegin: 0.018ms LoadedImportedAssetsSnapshotReleaseGCHandles: 1.087ms GetLoadedSourceAssetsSnapshot: 2.590ms PersistCurrentRevisions: 0.000ms UnloadStreamsEnd: 0.018ms GenerateScriptTypeHashes: 1.633ms Untracked: 2.475ms Shader 'Universal Render Pipeline/Particles/Lit': fallback shader 'Universal Render Pipeline/Particles/SimpleLit' not found RefreshInfo: StopAssetImportingV2(ForceSynchronousImport) RefreshProfiler: Total: 11.205ms InvokeBeforeRefreshCallbacks: 0.155ms ApplyChangesToAssetFolders: 0.088ms WriteModifiedImportersToTextMetaFiles: 0.000ms CleanLegacyArtifacts: 0.000ms Scan: 1.345ms OnSourceAssetsModified: 0.000ms UnregisterDeletedAssets: 0.000ms InitializeImportedAssetsSnapshot: 5.507ms GetAllGuidsForCategorization: 0.000ms CategorizeAssets: 0.000ms ImportAndPostprocessOutOfDateAssets: 0.000ms (0.000ms without children) ImportManagerImport: 0.000ms (0.000ms without children) ImportInProcess: 0.000ms ImportOutOfProcess: 0.000ms UpdateCategorizedAssets: 0.000ms RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children) RemoteAssetCacheResolve: 0.000ms RemoteAssetCacheDownloadFile: 0.000ms CompileScripts: 0.000ms PostProcessAllAssets: 0.000ms ReloadImportedAssets: 0.000ms VerifyAssetsAreUpToDateAndCorrect: 0.000ms EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.000ms InitializingProgressBar: 0.000ms PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms OnDemandSchedulerStart: 0.000ms RestoreLoadedAssetsState: 0.000ms InvokeProjectHasChanged: 0.000ms UpdateImportedAssetsSnapshot: 0.000ms ReloadSourceAssets: 0.000ms UnloadImportedAssets: 0.000ms Hotreload: 0.024ms FixTempGuids: 0.003ms VerifyGuidPMRegistrations: 0.000ms GatherAllCurrentPrimaryArtifactRevisions: 0.457ms UnloadStreamsBegin: 0.329ms LoadedImportedAssetsSnapshotReleaseGCHandles: 1.078ms GetLoadedSourceAssetsSnapshot: 0.949ms PersistCurrentRevisions: 0.000ms UnloadStreamsEnd: 0.017ms GenerateScriptTypeHashes: 0.000ms Untracked: 1.254ms Refresh completed in 0.127958 seconds. RefreshInfo: RefreshV2(NoUpdateAssetOptions) RefreshProfiler: Total: 127.950ms InvokeBeforeRefreshCallbacks: 0.001ms ApplyChangesToAssetFolders: 0.084ms WriteModifiedImportersToTextMetaFiles: 0.000ms CleanLegacyArtifacts: 0.000ms Scan: 53.505ms OnSourceAssetsModified: 0.000ms UnregisterDeletedAssets: 0.000ms InitializeImportedAssetsSnapshot: 7.082ms GetAllGuidsForCategorization: 0.197ms CategorizeAssets: 57.010ms ImportAndPostprocessOutOfDateAssets: 4.306ms (1.368ms without children) ImportManagerImport: 0.000ms (0.000ms without children) ImportInProcess: 0.000ms ImportOutOfProcess: 0.000ms UpdateCategorizedAssets: 0.000ms RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children) RemoteAssetCacheResolve: 0.000ms RemoteAssetCacheDownloadFile: 0.000ms CompileScripts: 0.000ms PostProcessAllAssets: 0.001ms ReloadImportedAssets: 0.000ms VerifyAssetsAreUpToDateAndCorrect: 0.000ms EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.539ms InitializingProgressBar: 0.000ms PostProcessAllAssetNotificationsAddChangedAssets: 0.212ms OnDemandSchedulerStart: 0.277ms RestoreLoadedAssetsState: 1.909ms InvokeProjectHasChanged: 0.000ms UpdateImportedAssetsSnapshot: 0.000ms ReloadSourceAssets: 1.349ms UnloadImportedAssets: 0.239ms Hotreload: 0.061ms FixTempGuids: 0.003ms VerifyGuidPMRegistrations: 0.000ms GatherAllCurrentPrimaryArtifactRevisions: 0.453ms UnloadStreamsBegin: 0.341ms LoadedImportedAssetsSnapshotReleaseGCHandles: 1.151ms GetLoadedSourceAssetsSnapshot: 3.104ms PersistCurrentRevisions: 0.000ms UnloadStreamsEnd: 0.016ms GenerateScriptTypeHashes: 0.222ms Untracked: -0.951ms Shader 'Universal Render Pipeline/Particles/Lit': fallback shader 'Universal Render Pipeline/Particles/SimpleLit' not found Initializing Unity extensions: '/opt/unity/Editor/Data/UnityExtensions/Unity/UnityVR/Editor/UnityEditor.VR.dll' GUID: 4ba2329b63d54f0187bcaa12486b1b0f UpdateMenuTitleForLanguage: 10 Unloading 193 Unused Serialized files (Serialized files now loaded: 0) System memory in use before: 54.1 MB. System memory in use after: 53.1 MB. Unloading 243 unused Assets to reduce memory usage. Loaded Objects now: 2696. Total: 6.760700 ms (FindLiveObjects: 0.280900 ms CreateObjectMapping: 0.111500 ms MarkObjects: 5.169300 ms DeleteObjects: 1.198200 ms) Scripts have compiler errors. (Filename: ./Runtime/Utilities/Argv.cpp Line: 376) [Performance] Application.InitializeProject : 1 samples, Peak. 160 s (1.0x), Avg. 160 s, Total. 159.9 s (99.4%) [Performance] Application.PackageManager.StartServer : 1 samples, Peak. 1.25 ms (1.0x), Avg. 1.25 ms, Total. 1.252 ms (0.0%) [Performance] Application.IsBrowserCacheEmpty : 1 samples, Peak. 293 us (1.0x), Avg. 293 us, Total. 292.9 us (0.0%) [Performance] Application.AcquireProjectLock : 1 samples, Peak. 886 us (1.0x), Avg. 886 us, Total. 885.9 us (0.0%) [Performance] Application.InitializeEngineNoGraphics : 1 samples, Peak. 181 ms (1.0x), Avg. 181 ms, Total. 181.5 ms (0.1%) [Performance] Application.PackageManager.Initialize : 1 samples, Peak. 472 ms (1.0x), Avg. 472 ms, Total. 472.0 ms (0.3%) [Performance] CurlRequestCheck : 10 samples, Peak. 78.4 us (2.9x), Avg. 27.2 us, Total. 272.4 us (0.0%) [Performance] PackageManager::RunRequestSynchronously : 568 samples, Peak. 92.5 ms (523.0x), Avg. 177 us, Total. 100.4 ms (0.1%) [Performance] Application.EngineGraphics.Initialize : 1 samples, Peak. 74.6 ms (1.0x), Avg. 74.6 ms, Total. 74.61 ms (0.0%) [Performance] Application.GI.Initialize : 1 samples, Peak. 181 ms (1.0x), Avg. 181 ms, Total. 181.3 ms (0.1%) [Performance] Application.LoadAllDefaultResourcesFromEditor : 1 samples, Peak. 3.85 ms (1.0x), Avg. 3.85 ms, Total. 3.853 ms (0.0%) [Performance] Application.LoadMonoAssemblies : 1 samples, Peak. 2.02 s (1.0x), Avg. 2.02 s, Total. 2.022 s (1.3%) [Performance] ProcessService.EditorAfterLoadAllAssemblies : 3 samples, Peak. 50.8 ms (1.2x), Avg. 42.9 ms, Total. 128.7 ms (0.1%) [Performance] Application.ReadLicenseInfo : 1 samples, Peak. 14.1 ms (1.0x), Avg. 14.1 ms, Total. 14.11 ms (0.0%) [Performance] Application.InitialScriptRefresh : 1 samples, Peak. 127 s (1.0x), Avg. 127 s, Total. 127.1 s (79.0%) [Performance] Application.AssetDatabase.Refresh : 1 samples, Peak. 137 ms (1.0x), Avg. 137 ms, Total. 137.3 ms (0.1%) [Performance] Application.ImportAssetsWithMismatchingAssetImporterVersion : 1 samples, Peak. 181 ms (1.0x), Avg. 181 ms, Total. 180.5 ms (0.1%) [Performance] Application.SyncCurrentColorSpace : 1 samples, Peak. 12.7 ms (1.0x), Avg. 12.7 ms, Total. 12.74 ms (0.0%) [Performance] Application.OnUsbDevicesChanged : 1 samples, Peak. 25.7 us (1.0x), Avg. 25.7 us, Total. 25.70 us (0.0%) [Performance] Application.AssetInstanceCacheUpdate : 1 samples, Peak. 300 ns (1.0x), Avg. 300 ns, Total. 300.0 ns (0.0%) [Performance] Application.UnityExtensions.Initialize : 1 samples, Peak. 1.09 ms (1.0x), Avg. 1.09 ms, Total. 1.087 ms (0.0%) [Performance] Application.InitializeManagedCompilationPipeline : 1 samples, Peak. 85.8 ms (1.0x), Avg. 85.8 ms, Total. 85.78 ms (0.1%) [Performance] Application.ExecuteStartups : 1 samples, Peak. 9.58 ms (1.0x), Avg. 9.58 ms, Total. 9.584 ms (0.0%) [Performance] Application.RebuildOSMenu : 1 samples, Peak. 70.0 ms (1.0x), Avg. 70.0 ms, Total. 69.95 ms (0.0%) [Performance] UpdateAllMenus : 1 samples, Peak. 69.9 ms (1.0x), Avg. 69.9 ms, Total. 69.95 ms (0.0%) [Performance] Application.editorInitializingProject : 1 samples, Peak. 22.4 us (1.0x), Avg. 22.4 us, Total. 22.40 us (0.0%) [Performance] GUIView.RepaintAll.PlayerLoopController : 1 samples, Peak. 400 ns (1.0x), Avg. 400 ns, Total. 400.0 ns (0.0%) [Performance] Application.InvokeFinishedLoadingProject : 1 samples, Peak. 52.6 ms (1.0x), Avg. 52.6 ms, Total. 52.65 ms (0.0%) [Performance] ProcessService.OnProjectLoaded : 1 samples, Peak. 47.5 ms (1.0x), Avg. 47.5 ms, Total. 47.49 ms (0.0%) Cleanup mono debugger-agent: Unable to listen on 37 ./Editor/Platform/Linux/UsbDevices.cpp:UsbDevicesQuery Unexpected exit code 1 ########################### # Project directory # ########################### /steps/run_tests.sh: line 108: [: =: unary operator expected total 60K drwxr-xr-x 9 1001 121 4.0K Mar 13 11:30 . drwxr-xr-x 5 root root 4.0K Mar 13 11:27 .. -rw-r--r-- 1 1001 121 8.7K Mar 13 11:25 .editorconfig drwxr-xr-x 8 1001 121 4.0K Mar 13 11:25 .git drwxr-xr-x 3 1001 121 4.0K Mar 13 11:25 .github -rw-r--r-- 1 1001 121 1.2K Mar 13 11:25 .gitignore drwxr-xr-x 9 1001 121 4.0K Mar 13 11:25 Assets drwxr-xr-x 8 1001 121 4.0K Mar 13 11:30 Library drwxr-xr-x 2 1001 121 4.0K Mar 13 11:28 Packages drwxr-xr-x 2 1001 121 4.0K Mar 13 11:25 ProjectSettings -rw-r--r-- 1 1001 121 10 Mar 13 11:25 README.md drwxr-xr-x 2 root root 4.0K Mar 13 11:27 editmode-artifacts -rw-r--r-- 1 1001 121 7 Mar 13 11:25 steam_appid.txt ########################### # Edit Mode Results # ########################### cat: /github/workspace/editmode-artifacts/editmode-results.xml: No such file or directory cat: /github/workspace/editmode-artifacts/editmode-results.xml: No such file or directory /steps/run_tests.sh: line 162: [: =: unary operator expected /steps/run_tests.sh: line 180: [: -gt: unary operator expected ########################### # Failure # ########################### Please note that the exit code is not very descriptive. Most likely it will not help you solve the issue. To find the reason for failure: please search for errors in the log above. ================= Analyze result: ✅ editmode Test Results - 0/0 - Passed in 0.000s Posting results for ccec31822d7641a923c62a180702c319f3ef02ca
Bug description
The containers created by this action are not cleaned up when the action is terminated either by a timeout or by concurrent workflow.
How to reproduce
Start a workflow with this action and terminate it when it is running this action and created a docker container.
Expected behavior
It should kill created docker containers.
The action can use runs.post
to do cleanup: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost
docker run
has --cidfile
option, that should write the container id to a file, then the cleanup script can just check the file and docker kill the container.
I'll probably take a look at this at some point.
Context
Just an exception with a stack trace can still be useless without context. That context is usually a console output.
Right now it is impossible to figure out what lead to the exception.
Suggested solution
Add the test output provided by the test report to the GitHub check annotation.
The proposed solution is to take the test output and set the Annotation's raw details to be:
[output, stacktrace].join("\n---------\n")
.
Additional details
Here is an example of a failed test that has output
element that is required for understanding the failure context.
<test-case id="1013" name="NewTestScriptSimplePasses" fullname="MP.Tests.ZenjectValidatorTest.NewTestScriptSimplePasses" methodname="NewTestScriptSimplePasses" classname="MP.Tests.ZenjectValidatorTest" runstate="Runnable" seed="983235798" result="Failed" label="Error" start-time="2021-10-18 09:18:32Z" end-time="2021-10-18 09:18:35Z" duration="2.847533" asserts="0">
<properties />
<failure>
<message><![CDATA[Zenject.ZenjectException : Zenject Validation Failed! See errors below for details.]]></message>
<stack-trace><![CDATA[ at Zenject.Internal.ZenUnityEditorUtil.ValidateCurrentSceneSetup () [0x00089] in /github/workspace/Assets/ThirdParty/Zenject/Source/Editor/ZenUnityEditorUtil.cs:84
at Zenject.Internal.ZenUnityEditorUtil.ValidateAllActiveScenes () [0x0006a] in /github/workspace/Assets/ThirdParty/Zenject/Source/Editor/ZenUnityEditorUtil.cs:96
at MP.Tests.ZenjectValidatorTest.NewTestScriptSimplePasses () [0x00000] in /github/workspace/Assets/Tests/ZenjectValidatorTest.cs:16
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd749>:0 ]]></stack-trace>
</failure>
<output><![CDATA[ZenjectException: Found multiple matches when only one was expected for type 'IPlayerInfo' while building object with type 'CameraManager'. Object graph:
SceneKernel
InitializableManager
CameraManager
ZenjectException: Assert hit!
]]></output>
</test-case>
It should be just matter of merging the test output with the stack trace in:
unity-test-runner/src/model/results-parser.js
Line 106 in dfd8e1e
I'm happy to make a pull request.
Note: the previous issue is moved to the referenced issue
Currently 2020.1.x
test runs may not be working properly, ending execution without having ran or evaluated tests.
Please refer to https://github.com/webbertakken/unity-actions/issues/84 for more information and possible solutions.
Feel free to discuss test runner specific issues in here also.
**Description of the bug
Access token is unavailable Error
occurs.**How to reproduce
game-ci/unity-test-runner@v2
.expected behavior.
Additional details
name: Test, Build, and Release My Demo
on:
workflow_dispatch: {}
# schedule:
# - cron: '0 19 * * 1-5'
jobs:
tests:
name: Test Code Quality
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Access to private repo
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Cache Library
uses: actions/cache@v2
with:
path: Library
key: Library
- name: Run EditMode and PlayMode Tests
id: tests
uses: game-ci/unity-test-runner@v2
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
sshAgent: ${{ env.SSH_AUTH_SOCK }}
- uses: actions/upload-artifact@v2
if: always()
with:
name: Test results for ${{ matrix.testMode }}
path: ${{ steps.tests.outputs.artifactsPath }}
###########################
# Play Mode Results #
###########################
<?xml version="1.0" encoding="utf-8"?>
<test-run id="2" testcasecount="0" result="Passed" total="0" passed="0" failed="0" inconclusive="0" skipped="0" asserts="0" engine-version="3.5.0.0" clr-version="4.0.30319.42000" start-time="2022-01-21 09:33:34Z" end-time="2022-01-21 09:33:34Z" duration="0.0027389">
<test-suite type="TestSuite" id="1000" name="My Demo" fullname="MOOOS Demo" runstate="Runnable" testcasecount="0" result="Passed" start-time="2022-01-21 09:33:34Z" end-time="2022-01-21 09:33:34Z" duration="0.002739" total="0" passed="0" failed="0" inconclusive="0" skipped="0" asserts="0">
<properties />
</test-suite>
</test-run><test-run id="2" testcasecount="0" result="Passed" total="0" passed="0" failed="0" inconclusive="0" skipped="0" asserts="0" engine-version="3.5.0.0" clr-version="4.0.30319.42000" start-time="2022-01-21 09:33:34Z" end-time="2022-01-21 09:33:34Z" duration="0.0027389">
Changing to "/github/workspace/_activate-license" directory.
/github/workspace/_activate-license /github/workspace
Unity Editor version: 2021.2.6f1 (8c4e826ba445)
Branch: 2021.2/staging
Build type: Release
Batch mode: YES
System name: Linux
Distro version: #27~20.04.1-Ubuntu SMP Fri Jan 7 15:02:06 UTC 2022
Kernel version: 5.11.0-1025-azure
Architecture: x86_64
Available memory: 6951 MB
[Licensing::Module] Channel doesn't exist: "LicenseClient-root"
[Licensing::Module] Successfully launched the LicensingClient (PId: 2362)
[SignatureVerifier] Application signature verification not supported on this platform.
[LicensingClient] Handshaking with LicensingClient (version: 1.9.0+249add7)
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-root" (connect: 0.45s, validation: 0.09s, handshake: 0.00s)
[Licensing::Module] Connected to LicensingClient (PId: 2362, launch time: 0.00, total connection time: 0.54s)
Entitlement-based licensing initiated
[Licensing::Module] Error: Access token is unavailable
[Licensing::Module] Error: Failed to return entitlement license
I am getting issue with Unity Test Runner with error below:
Followed this tutorial from https://game.ci/docs/github/test-runner
Below is the yml file:
https://paste.myst.rs/k7xo0pp3
Hi !
I tried to add continuous integration in my Unity 2020.1 project, but I got some errors (exit code 139), mentioned in this issue : #68
I decided to try the lastest alpha (v2.0-alpha-1 as of now), but got exactly the same error. I suppose the error is different as it should be fixed ?
Anyway here is an extract of my workflow.yml :
[...]
jobs:
testAllModes:
name: Test in editmode
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Cache Library
uses: actions/cache@v2
with:
path: Library
key: ${{ runner.os }}-library
- uses: webbertakken/[email protected]
id: editmode-tests
with:
unityVersion: 2020.1.16f1
testMode: editmode
artifactsPath: editmode-artifacts
- uses: actions/upload-artifact@v2
with:
name: editmode-results
path: ${{ steps.editmode-tests.outputs.artifactsPath }}
And here is an extract of the logs :
[Project] Loading completed in 413.925 seconds
Project init time: 2.996 seconds
Template init time: 0.000 seconds
Package Manager init time: 0.000 seconds
Asset Database init time: 0.000 seconds
Global illumination init time: 0.000 seconds
Assemblies load time: 0.000 seconds
Unity extensions init time: 0.001 seconds
Asset Database refresh time: 0.000 seconds
Scene opening time: 0.212 seconds
Caught fatal signal - signo:11 code:1 errno:0 addr:(nil)
Obtained 12 stack frames.
#0 0x007f1b1e7b6980 in funlockfile
#1 0x0055f943f046d3 in GetNetActiveWindow()
#2 0x0055f943f045a6 in CloseStaleAuxWindows()
#3 0x0055f943f13a35 in CheckFocus(void*)
#4 0x007f1b1f59cd03 in g_source_get_time
#5 0x007f1b1f59c285 in g_main_context_dispatch
#6 0x007f1b1f59c650 in g_main_context_dispatch
#7 0x007f1b1f59c962 in g_main_loop_run
#8 0x007f1b2134ba25 in gtk_main
#9 0x0055f943f12fba in main
#10 0x007f1b1e3d4bf7 in __libc_start_main
#11 0x0055f940d5be2f in _start
Unexpected exit code 139
[...]
###########################
# Edit Mode Results #
###########################
/steps/run_tests.sh: line 108: [: =: unary operator expected
cat: /github/workspace/artifacts/editmode-results.xml: No such file or directory
cat: /github/workspace/artifacts/editmode-results.xml: No such file or directory
/steps/run_tests.sh: line 162: [: =: unary operator expected
/steps/run_tests.sh: line 180: [: -gt: unary operator expected
###########################
# Failure #
###########################
Please note that the exit code is not very descriptive.
Most likely it will not help you solve the issue.
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
Thanks for your time :)
When a unit test fails and a githubToken
is provided, an annotation is created detailing why the test failed.
Ideally, this annotation would have a link on the right hand side that links to the created check, similar to the "Tests Failed! Check 'Test Results' for details." annotation that links to the "Test Code Quality" check in this image:
Hello.
Using this action, we were able to get test cases for one of the projects I'm helping on to run. Many of the test cases fail, which is to be expected. (Still need to figure out cross platform libraries/dllmaps, etc).
Anyway, after the test cases complete, we get:
<test-suite type="TestFixture" id="1394" name="BumperCollisionTests" fullname="VisualPinball.Unity.Test.VPT.Bumper.BumperCollisionTests" classname="VisualPinball.Unity.Test.VPT.Bumper.BumperCollisionTests" runstate="Runnable" testcasecount="1" result="Passed" start-time="2020-06-27 11:32:42Z" end-time="2020-06-27 11:32:42Z" duration="0.012162" total="1" passed="1" failed="0" inconclusive="0" skipped="0" asserts="0">
<properties />
<test-case id="1395" name="TestSomething" fullname="VisualPinball.Unity.Test.VPT.Bumper.BumperCollisionTests.TestSomething" methodname="TestSomething" classname="VisualPinball.Unity.Test.VPT.Bumper.BumperCollisionTests" runstate="Runnable" seed="1298413224" result="Passed" start-time="2020-06-27 11:32:42Z" end-time="2020-06-27 11:32:42Z" duration="0.005991" asserts="0">
<properties />
</test-case>
</test-suite>
</test-suite>
</test-suite>
</test-suite>
</test-suite>
</test-suite>
</test-suite>
</test-suite>
</test-run>/steps/run_tests.sh: line 157: [: =: unary operator expected
/steps/run_tests.sh: line 175: [: -gt: unary operator expected
##[error]The process '/usr/bin/docker' failed with exit code 2
Run actions/upload-artifact@v1
Even though there are test case errors, shouldn't we still get an artifact with the results xml?
Log: https://github.com/jsm174/vpe_net_standard/runs/813885387?check_suite_focus=true#step:4:13059
Workflow: https://github.com/jsm174/vpe_net_standard/blob/unity-workflow-3/.github/workflows/main.yml
Context
Since we are targeting multiple platforms with several different defines (such as #if UNITY_IOS
and #if UNITY_ANDROID
) in our code base I would like to run tests while targeting these platforms. Currently only the UNITY_LINUX_STANDALONE
define is set when running tests on an ubuntu runner.
This would make it so much easier to catch those simple compile mistakes when PR's lands too.
Suggested solution
I suggest that -targetPlatform
is added as an option. This option would then require the unity project to have a static RunTest
(or something similar) method also defined in a -testMethod
option (similar to how -buildMethod
works for game-ci/unity-builder).
That testMethod would then need to look something like this (in an editor folder):
public static void RunTest()
{
var testRunnerApi = ScriptableObject.CreateInstance<TestRunnerApi>();
var filter = new Filter()
{
testMode = GetTestMode("-testPlatform"),
targetPlatform = GetBuildTarget("-targetPlatform")
};
testRunnerApi.Execute(new ExecutionSettings(filter));
}
Additional details
https://docs.unity3d.com/Packages/[email protected]/manual/extension-run-tests.html
Bug description
When using NUnit's TheoryAttribute
(https://docs.nunit.org/articles/nunit/writing-tests/attributes/theory.html) together with assumptions, it is normal that some test cases of a theory yield an "inconclusive" test result. This is expected, and inconclusive theory results should be filtered out from normal test results, as the NUnit documentation states:
Since the user does not generally care about inconclusive cases under a theory, they are not normally displayed in the Gui. For situations where they are needed - such as debugging - the context menu for the theory provides an option to display them.
However, it seems that Unity returns exit code 2
when having inconclusive tests, and therefore run_tests.sh
marks the run illegally as failed, here:
unity-test-runner/dist/steps/run_tests.sh
Line 96 in cdfccd0
Instead, the step should not be marked as failed at this point, since it leads to a workflow failure, but detection of the final result should be deferred to the test evaluation step.
How to reproduce
Set up a test project having at least one NUnit theory test, similar to this:
using NUnit.Framework;
namespace Tests.EditMode {
[TestFixture]
public class ExampleTheory {
[Theory]
public void SomeTestTheory([Values(1, 2, 3)] int number) {
// This will not run the theory for number == 3.
Assume.That(number != 3);
// This will assert true, since it only runs for number == 1 and number == 2.
Assert.Less(number, 3);
}
}
}
This will create three test cases, two of which run successful, and one which runs without conclusion (so neither success nor failure). While the game.ci test report shows 2 successful tests of a total of 3 tests, and no failure, the test step is marked as failure due to the return code emitted by Unity.
Add a 'createCheck' option which, if enabled, will create a check in GitHub Actions that details all the test results, so that users can view the test results without having to download the artifacts.
Tests pass, but the github action fails due to too many character (I'm not sure what exactly is attempting to be done).
I suspect this is due to me running over 1700 tests. Is there some way for me to get the action to pass properly?
Last lines of test run:
Processing file playmode-results.xml...
Trying to open artifacts/playmode-results.xml
File artifacts/playmode-results.xml parsed...
Start analyzing results: playmode-results.xml
✅ playmode-results.xml - 1721/1721 - Passed in 1353.219s
=================
Analyze result:
✅ Test Results - 1721/1721 - Passed in 1353.219s
Posting results for cdd86d6db71a1e977b579f30a8c8117bf780e8da
Error: Invalid request.
Only 65535 characters are allowed; 233873 were supplied.
[Edit] Forgot to include my yaml:
name: Actions
on: [push, pull_request]
jobs:
test:
name: Build my project
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v2
# Test
- name: Run tests
uses: game-ci/unity-test-runner@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_2019_4_29F1_UBUNTU }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectPath: ProtoPromise_Unity
unityVersion: 2019.4.29f1
testMode: PlayMode
- uses: actions/upload-artifact@v2
if: always()
with:
name: Test results
path: artifacts
Is it possible?
# Run Unity Testrunner
- name : Run Unity Testrunner
uses: game-ci/unity-test-runner@v2
id: tests
with:
projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }}
testMode: ${{ matrix.testMode }}
artifactsPath: ${{ matrix.testMode }}-artifacts
customParameters: -debugCodeOptimization -enableCodeCoverage -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport -coverageResultsPath ${{ matrix.projectPath }}CodeCoverage/
When I define a custom artifacts path, I get this warning:
##[warning]Unexpected input 'artifactsPath', valid inputs are ['unityVersion']
My yaml for the testing step is:
- name: Run tests
id: tests
uses: webbertakken/[email protected]
with:
unityVersion: ${{ matrix.unityVersion }}
artifactsPath: .artifacts
I see in inputs.js
and in the documentation that artifactsPath
is an accepted input.
Am I just doing something wrong, or are the inputs not quite configured properly? This is similar, but not identical to #57 .
Bug description
When running tests for the WebGL platform, it fails when I call JavaScript imported functions:
System.EntryPointNotFoundException : MyJSMethod assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native)
How to reproduce
Import a javascript function and use it :
[DllImport("__Internal")]
internal static extern void MyJSMethod(int arg);
Expected behavior
JavaScript functions being called
Additional details
I don't know if this is related, but I found this in my build logs:
Native extension for WebGL target not found
EDIT: Note that running my tests from the TestRunner of the Editor works well
Thanks in advance
Context
If a user has a lot of tests, they may be unable to use this action to display the test results through the GitHub UI.
They may run into the error: Only 65535 characters are allowed
Furthermore, even if they don't run into this error, they may not want to see a bunch of check marks when they are really only interested in seeing if any tests failed.
Suggested solution
Add an option to the unity-test-runner
called githubCheckFailed
, which, if enabled, would not show green check marks for each passing test case.
Instead, it would only show red crosses for each failed test.
If there are too many failed tests, it would perhaps take only the first few to show.
Considered alternatives
We could instead try to find a way to split the requests to the GitHub API into smaller pieces.
There may be a better name rather than githubCheckFailed
Additional details
This is to fix #142
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.