Search Issue Tracker

Active

Votes

0

Found in

1.8.28

Issue ID

UUM-134803

Regression

No

"UnityEngine::UnityException" and "ALLOC_TEMP_MAIN has unfreed allocations" errors are thrown when when calling Debug.LogError with a burst-compiled job and Error Pause

Burst

-

Steps to reproduce:
1. Open the attached project “IN-131574”
2. In Project window, open “Scene” → “SampleScene”
3. Ensure Jobs -> Burst -> Enable Compilation is checked
4. In Console window, enable Error Pause
5. Start the Play mode
6. Unpause the Play mode
7. Observe the Console window

Actual result: Console shows two errors
Expected result: Project should only show an error that Burst is enabled and additional info

Reproducible with: 1.7.4 (2023.1.0a3), 1.8.28 (6000.0.67f1, 6000.3.9f1, 6000.4.0b9, 6000.5.0a7)

Reproducible on: macOS 26.1 (M1 Pro), Windows 11
Not reproducible on: No other environment tested

Notes: Errors thrown in the console:
- UnityEngine::UnityException: ProgressBarPushScope can only be called from the main thread.
- TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 18948

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.