Search Issue Tracker
Fixed in 2018.3.X
Votes
1
Found in
2018.1.0f2
Issue ID
1045122
Regression
No
[Player] '(Filename: .../Debug.bindings.h Line: 43)' line is printed in the Player.log with each 'Debug.Log()' call
1. Open the attached "DebugLog.zip" project.
2. Build and run it as standalone.
3. Open the Player.log.
Actual behavior:
- "(Filename: /home/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43)" is printed after 'test' line.
- This line takes a lot of space in the log when a lot of Debug.Log() calls are made. It doesn't present usefult information.
Expected behavior:
- (Filename: /home/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43) is not printed.
or
- Simple way to disable logging of this line using Debug.Log().
Reproduced with:
2018.3.0a1, 2018.2.0b8, 2018.1.4f1, 2017.4.5f1, 2017.2.3p1
Windows, macOS
Resolution:
To avoid printing the callstack, you should either turn off the traces by setting the StackTraceLogType to None (see https://docs.unity3d.com/ScriptReference/StackTraceLogType.html) or use Console.WriteLine directly.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
rohitvishwakarma1819
Sep 25, 2020 13:51
Hey, Did you find the solution ?
Please reply.
Thanks