Search Issue Tracker

Duplicate

Votes

0

Found in

6000.0.0b15

6000.0.21f1

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:

    This crash is caused by APV. We are tracking this in another ticket, so I'm closing this as duplicate.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-76437

Add comment

Log in to post comment