Search Unity

  1. We would like to hear your feedback about Unity and our products. Click here for more information.
    Dismiss Notice

Help Wanted Any Way To Set Terminal Text In Batch Mode?

Discussion in 'Testing & Automation' started by HonorableDaniel, Apr 9, 2019.

  1. HonorableDaniel


    Feb 28, 2007
    When launching Unity in batch mode for auto-building, is there a way in Unity to add text to the Terminal window on Mac? I want to indicate the progress of my build. I tried Console.WriteLine but it didn't work. Any ideas?
  2. superpig


    Quis aedificabit ipsos aedificatores? Unity Technologies

    Jan 16, 2011
    Unfortunately I don't think there's an easy way to do this today.

    The good news is that in 19.2 the Desktops team have make it possible to pass
    -logfile -
    to the Editor and Player when starting up, and this will cause them to write all their log data to stdout instead of to a file. At that point using Console.WriteLine (or Debug.Log) will work just fine.
    Last edited: Apr 9, 2019
    HonorableDaniel likes this.