- Home /
How do you do a verbose Build, so that compiler errors appear in the Command Line?
When running Unity from the Command Line (on Windows) to build a standalone player, I'm wondering if there's a way to see verbose logs.
For example, if there are compile errors in any of my scripts, this will correctly cause the build to fail, but I'd love to see the compiler error message right there in the Command Line where I ran the build script.
Any way to do this?
Thanks!
EDIT:
Similarly, is there a way to return the text (stdout and stderr) from the compile?
Answer by tscizzlebg · Jan 06, 2020 at 04:23 PM
-logFile <pathname>
is documented in the command line args page of Unity docs.
It says to add -logFile -
(note the hyphen at the end) to make the logs appear in the console instead of a file.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Log files in server build 0 Answers
Debug.Log now showing in build in Unity 2021.2.18 0 Answers
command-line build: output to stdout instead of log ? 2 Answers
Script Reference Problem... 1 Answer