Search Issue Tracker

In Progress

Under Consideration for 6000.0.X

Fix In Review for 6000.1.X

Votes

0

Found in

6000.0.0b15

6000.0.21f1

6000.1.0a3

Issue ID

UUM-83271

Regression

Yes

Crash on tlsf_free when changing between scenes after entering Play mode

--

-

Reproduction steps:
1. Open the attached project "Repro"
2. Open scene "Scenes/Main Menu"
3. Enter Play mode
4. Without exiting Play mode, switch to the "Lobby" scene
5. Quickly switch back to the "Main Menu" scene again

Expected result: The Editor switches to the "Main Menu" scene
Actual result: The Editor crashes

Reproducible with: 6000.0.0b15, 6000.0.21f1
Not reproducible with: 2021.3.44f1, 2022.3.48f1, 6000.0.0b14

Reproducible on: macOS 14.6.1 (Intel), Windows 11 (User)
Not reproducible on: No other environment tested

Stacktrace:
0x00007FF8A344CBB9 (Unity) tlsf_free
0x00007FF8A0F9FBB0 (Unity) DynamicHeapAllocator::Deallocate
0x00007FF8A0FB1333 (Unity) DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate
0x00007FF8A0FA7925 (Unity) MemoryManager::TryDeallocateWithLabel
0x00007FF8A0FA9143 (Unity) free_alloc_internal

Note:
It might take a few switches to reproduce. If it does not crash after switching back to "Main Menu", re-enter Play mode again.

  1. Resolution Note (fix version 6000.1):

    There was an issue with the streaming buffer when switching between scenes with different internal "chunk size" that we have fixed.

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.