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
- Spring Joint shows only one anchor gizmo in Scene view when "Auto Configure Connected Anchor" is enabled
- Crash on _platform_memmove after entering large value in Graphics settings Preloaded Shaders field
- Disproportionally large impact on CPU frame time when writing to a rendering entity's LocalToWorld
- "Constant Force" Component numeric fields drift out of view while entering a really big value in the Inspector
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
Add comment