Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

0

Found in

2021.3.29f1

2022.3.8f1

2023.1.10f1

2023.2.0b6

2023.3.0a2

6000.0.0b11

Issue ID

UUM-47654

Regression

No

Crash on DynamicHeapAllocator::Allocate(unsigned long, int) when entering the Play Mode

--

-

Reproduction steps:
1. Open the attached "PROJECTFILE" project
2. Open the "Assets/Scenes/SampleScene.unity" scene
3. Enter the Play mode

Expected result: The Play mode is entered
Actual result: The Editor crashes

Reproducible with: 2021.3.29f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a2

Reproducible on: macOS 13.4.1 (M1 Max)
Not reproducible on: No other environment tested

Note: Crash may not reproduce consistently

First few lines of stack frames:
#0 0x00000107022028 in block_locate_free
#1 0x00000104defb0c in DynamicHeapAllocator::Allocate(unsigned long, int)
#2 0x00000104df2c68 in MemoryManager::Allocate(unsigned long, unsigned long, MemLabelId, AllocateOptions, char const*, int)
#3 0x00000104df2234 in malloc_internal(unsigned long, unsigned long, MemLabelId const&, AllocateOptions, char const*, int)
#4 0x00000104a45bf4 in UnsafeUtility::Malloc(long long, int, NativeCollection::Allocator, ScriptingExceptionPtr*)
#5 0x00000104a45a68 in UnsafeUtility_CUSTOM_Malloc(long long, int, NativeCollection::Allocator)
#6 0x00000315b05618 in (wrapper managed-to-native) Unity.Collections.LowLevel.Unsafe.UnsafeUtility:Malloc (long,int,Unity.Collections.Allocator) [{0x161ab2d00} + 0x70] (0x315b055a8 0x315b0567c) [0x143cc2a80 - Unity Child Domain]

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.