Unity batch mode exits with error code 1
I'm trying to run Unity in batchmode on a CI server (appveyor CI).
When running the following command: C:\"Program Files"\Unity\Editor\Unity.exe -batchmode -nographics -logFile .\unity.log -projectPath .\VR-Keyboard -buildWindows64Player ".\Build\windows\VR-Keyboard.exe"
I get: Command exited with error code 1
with no further explanation or error logs. The errors are probably in .\unity.log but I cannot view them because the CI process has already exited after the error code 1.
How do I debug/investigate this? How do I get more information about the errors that occurred?
I fixed this myself by using a on_failure:
hook as option in appveyor.yml
.
on_failure: - type .\unity.log
Your answer
Follow this Question
Related Questions
Unable to activate Unity free in batchmode 0 Answers
Best way to trigger a quit of Unity app running in batch mode 0 Answers
Screen.width/height are forced to weird values when launched with -batchmode 0 Answers
Image/graphics testing on continuous integration 0 Answers
Cache Server in Batchmode 1 Answer