Search Issue Tracker

Fixed in 2019.1.X

Votes

29

Found in

5.6.0f3

Issue ID

900754

Regression

No

Command line -logFile with no parameters outputs to screen on OS X but not on Windows

Windows

-

Steps to reproduce:
1. Find attached project in command line Windows
2. Launch Unity with parameters -batchmode -quit -logFile
3. Notice that in -logFile we didn't input any path for the log file to be saved
4. Observe nothing being output
5. Repeat process in terminal on Mac OS
6. Observe logFile being output to terminal

Expected behaviour: The command should function the same on both Mac OS and Windows
Actual behaviour: No output in Windows, while Mac OS outputs the logFile to the terminal

Reproduces on 2017.1.0b1, 5.6.0f3, 5.6.0f2, 5.5.3p1

Notes: This behaviour is likely due to no handlers existing for -logFile command with no parameters.
Notes: The output is written in Windows, but it defaults to a location that the user probably doesn't expect: %LOCALAPPDATA%\Unity\Editor.

  1. Juixa

    Sep 28, 2018

    Hey, here is a response from dev team:
    "It has been on our radar for quite some time. Unfortunately the current situation with priorities is such that we might not have the bandwidth to address this issue until at least 19.1+."

  1. Resolution Note (fix version 2019.1):

    Logging now defaults to stdout on all platforms when running in batchmode. Note that on Windows, this still means output won't go to console by default as Windows applications don't have stdout handle by default. Output will, however, go to stdout if you launch Unity with a valid stdout handle. I.e. launching as a child process of a build system with redirected handles

Comments (34)

  1. japkdownload

    Mar 08, 2022 07:11

    Your article has piqued a lot of positive interest. I can see why since you have done such a good job of making it interesting Apkdownload.com

  2. unity_K99WJS2TxGpRtA

    Aug 22, 2020 12:59

    I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
    Gothic Shop https://lovegothic1.doodlekit.com/

  3. unity_K99WJS2TxGpRtA

    Aug 19, 2020 11:25

    This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free. It is the old what goes around comes around routine.
    Skull Jewelry https://skullring.shop/

  4. unity_K99WJS2TxGpRtA

    Aug 12, 2020 11:06

    This is a truly good site post. Not too many people would actually, the way you just did. I am really impressed that there is so much information about this subject that have been uncovered and you’ve done your best, with so much class. If wanted to know more about green smoke reviews, than by all means come in and check our stuff.
    exchange rate html code https://forum.cs-cart.com/user/91784-exchangess/

  5. unity_K99WJS2TxGpRtA

    Aug 12, 2020 09:08

    Thanks for your post. I’ve been thinking about writing a very comparable post over the last couple of weeks, I’ll probably keep it short and sweet and link to this instead if thats cool. Thanks.
    free currency exchange https://artmight.com/user/profile/102359

  6. unity_K99WJS2TxGpRtA

    Aug 11, 2020 11:15

    Nice to read your article! I am looking forward to sharing your adventures and experiences.
    hire freelancers make things happen https://www.mylaborjob.com/pro/freelancers-ny

  7. unity_K99WJS2TxGpRtA

    Aug 11, 2020 07:42

    This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information...
    freelancers for hire any job https://disqus.com/by/disqus_w6EyU4Awel/

  8. unity_K99WJS2TxGpRtA

    Aug 10, 2020 07:50

    Your article has piqued a lot of positive interest. I can see why since you have done such a good job of making it interesting.
    Odkup vozil http://avto-zero.ezblogz.com/24047194/tips-for-buying-cars-online

  9. cozyurt_unity

    Jul 17, 2020 13:57

    kedi maması köpek maması www.patilimama.com

  10. pyjehefy

    Jul 06, 2020 16:37

    I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts.
    this website https://www.google.com.np/url?sa=t&url=https://merpessentials.com/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.