Search Issue Tracker
Active
Under Consideration for 1.8.X
Votes
0
Found in [Package]
1.8.24
Issue ID
BUR-2900
Regression
Yes
LogStringToConsole function takes too long in the Profiler when compiled with Burst
How to reproduce:
1. Extract and open the attached “IN-112617.zip“ project
2. In the Assets, open the “scene.unity“ Scene
3. Enter Play mode
4. Exit Play mode quickly after entering Play mode (This helps reload all resources; the first run may take longer)
5. Enter Play mode
6. Exit Play mode quickly after entering Play mode, otherwise the Profiler will miss the initial frames.
7. Observe the first frame of the Profiler
Expected result: LogStringToConsole function compiled via Burst takes the same amount of time (~0.14ms) as one compiled without Burst
Actual result: LogStringToConsole takes seemingly too long (~0.6ms) as compared to other functions compared without Burst
Reproducible with:
1.7.0-pre.1 (2023.1.0a5, 6000.0.57f1, 6000.2.4f1, 6000.3.0b1)
1.8.24 (2023.1.0a5, 6000.0.57f1, 6000.2.4f1, 6000.3.0b1)
Not reproducible with:
1.6.6 (2023.1.0a1, 6000.0.57f1, 6000.2.4f1, 6000.3.0b1),
1.7.0-pre.1 (2023.1.0a4 (77dfbc7234b7)),
1.8.24 (2023.1.0a4 (77dfbc7234b7))
Reproducible on: Windows 11, MacOS 15.6.1
Not reproducible on: No other environment tested
Notes:
- Since the expected runtime for the function is not defined, the increase in execution time is interpreted as a regression in this case
- The times mentioned in the “Reproducible with“ section near the version number, are timings of the LogStringToConsole function, as seen in the Profiler
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Terrain's "Add Tree" error helpbox uses the wrong styling
- Error is thrown when deleting "Snapshot" with another Snapshot present in Audio Mixer window
- Prefab Source and Override content bounds are misaligned
- Prefab Source and Override foldouts are not functional
- Terrain Component uses "?" near the "Random" checkbox in "Paint Trees" tool
Add comment