Search Issue Tracker

Active

Under Consideration for 1.8.X

Votes

0

Found in [Package]

1.8.19

Issue ID

BUR-2849

Regression

No

[Linux] Truncated stack traces when logging from managed code in Burst

Package: Burst

-

Reproduction steps:
1. Open the attached “IN-97990_repro” project
2. Click File > Build and Run
3. When the Player starts, wait a few seconds
4. Exit the Player
5. Observe the Player.log difference on Linux and Windows

Expected results: Stack trace is the same on Linux and Windows
Actual results: Stack trace on Linux is truncated

Reproduced with: 1.8.19 (2022.3.60f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8)

Reproduced on: Ubuntu 24.04
Not reproduced on: Windows 11 Pro

Extracted stack trace beginning on Linux:
Magnum.Burst.Log:ExceptionManaged(Channel, Source, CharArray&, CharArray&)
at Magnum.Burst.Log.ExceptionManaged (Magnum.Burst.Channel channel, Magnum.Burst.Source source, Magnum.Burst.Log+CharArray&
exceptionTemplate, Magnum.Burst.Log+CharArray&messageTemplate) <0x00000 + 0xffffffff> 0 in <00000000000000000000000000000000>:0
Magnum.Burst.Log:ExceptionManaged(Channel, Source, CharArray&, CharArray&)

Extracted stack trace beginning on Windows:
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, ObjeUnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
TestSystem:OnUpdate()
Unity.Entities.SystemBase:Update()
Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
Unity.Entities.SystemBase:Update()

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.