-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Never get unity logs #3
Comments
The problem can be simulated by using the erroneous: .withBuildOptions({ strict: true }) - should be strictMode. In unity_invoker.js if I modify the function toArgv with:
then I get a log. by default the logFile property is set to true and so nothing gets pushed after it but according to https://docs.unity3d.com/Manual/CommandLineArguments.html -logFile needs a filename after it. |
Hello @RobinHSanner, thanks for the report! What version of Unity do you use? I suspect 2017.x since this used to work before. Yes, I will check if the behaviour has effectively changed in Unity 2017, try to reproduce and fix the problem (implementing a different behaviour based on the version of Unity) and I'll keep you informed. |
Hello again, I can't reproduce with Unity 5.x, nor with Unity 2017.x. Also, what's your OS? Compatibility with Windows is mostly untested, and I wouldn't be surprised if this specific point about logfile/stdout has a different behaviour on Windows. |
Unity 2017.3.0f3 |
Okay, must be a Windows-specific problem. (@fklingler @CrazyTales Wanna fix Windows-ish things?) |
Unity 2017.3.0f3
From: Morgan Touverey-Quilling [mailto:[email protected]]
Sent: Friday, February 2, 2018 03:43
To: mitmadness/AssetBundleCompiler <[email protected]>
Cc: Robin Sanner <[email protected]>; Mention <[email protected]>
Subject: Re: [mitmadness/AssetBundleCompiler] Never get unity logs (#3)
Hello again,
I can't reproduce with Unity 5.x, nor with Unity 2017.x.
Also, what's your OS? Compatibility with Windows is mostly untested, and I wouldn't be surprised if this specific point about logfile/stdout has a different behaviour on Windows.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#3 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AI25k6bC5pUqhivUkEduEJUyUKEXLzuxks5tQsp1gaJpZM4R2XDH>.
|
So that's a problem on Windows indeed: https://answers.unity.com/questions/19566/command-line-feedback.html |
The code:
.withUnityLogger(message =>
{
log.debug(
Unity: ${message}
);console.log(
Unity: ${message}
);})
never gets hit. When unity does have a problem the error is always:
{"unityLog":""}
Lately for no apparent reason i'm getting the error that says unity crashed and the log file it says it created is always empty.
The text was updated successfully, but these errors were encountered: