- Home /
-batchmode output logging
I am using a typical -batchmode command for a commandline build script. I cannot find output_log.txt file (hopefully showing any build errors).
The docs says: -nolog (Windows only) Do not produce output log. Normally output_log.txt is written in the *_Data folder next to the game executable, where Debug.Log output is printed.
I see a working game executable in the target folder, but no *_Data folder or output_log.txt file.
Am I misunderstanding the logging function?
Thanks!
Answer by jashan · Sep 17, 2010 at 09:45 AM
I think you're confusing running the editor and running a game in batchmode. Both is possible. The logfile you're referring to is only created when you run the game.
You should look for the editor logfile. On the Mac, you can easily find this in the Console (FILES / ~/Library/Logs / Unity), under Windows, this forum posting might help, quote:
Mine is written to: C:\Users\me\AppData\Local\Unity\Editor
Regarding editor log files, there's also an existing question (with a nice answer): How can I find editor log file?
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Running Mac Standalone Player In Batchmode 1 Answer
Debug.Log() in build 9 Answers
D3D12: using slow scratch memory!? Anyone knows what it is?? 0 Answers
Meta information for builds installed using Unity Cloud Build 0 Answers