Search Issue Tracker

Fixed

Fixed in 2023.2.17f1

Votes

14

Found in

2023.2.12f1

Issue ID

UUM-65101

Regression

Yes

Crash on BucketAllocator::Allocate when entering Play mode

--

-

Reproduction steps:
1. Open the attached project ("UnityBugMemoryLeak")
2. Open scene "Assets -> Scenes -> Levels -> Debug -> Milestone1 -> milestone1.unity"
3. Enter Play mode

Expected result: The scene opens up
Actual result: The Editor crashes

Reproducible with: 2023.1.2f1, 2023.2.12f1, 2023.3.0a16
Not reproducible with: 2021.3.35f1, 2022.3.12f1, 2023.1.1f1, 2023.3.0a17, 2023.3.0b9

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

Stacktrace:
0x00007FFED10654B7 (Unity) BucketAllocator::Allocate
0x00007FFED105BAF8 (Unity) DualThreadAllocator<DynamicHeapAllocator>::Allocate
0x00007FFED104D701 (Unity) MemoryManager::Allocate
0x00007FFED1057AFE (Unity) malloc_internal
0x00007FFED184D636 (Unity) std::map<_{_}int64,SerializedFile::ObjectInfo,std::less<{_}{_}int64>,stl_allocator<std::pair<{_}_int64 const ,SerializedFile::ObjectInfo>,43,16> >::operator[]
0x00007FFED1855365 (Unity) SerializedFile::ReadMetadata

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.