Search Issue Tracker
Fixed
Fixed in 6000.5.0a1
Votes
1
Found in
6000.5.0a1
Issue ID
UUM-122850
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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Add comment