Search Issue Tracker

Active

Under Consideration for 2022.3.X

Votes

0

Found in

2022.3.25f1

6000.0.0b16

Issue ID

UUM-70041

Regression

No

Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled

--

-

How to reproduce:
1. Open the attached “EntityBug.zip“ project
2. Open the “Assets/Scenes/Main.unity“ Scene
3. Enter Play Mode
4. Press the “Space“ button
5. Exit Play Mode

Reproducible with: 1.1.0-pre.3, 1.2.0 (2022.3.25f1, 6000.0.0b16)

Reproducible on: macOS 14.4 Sonoma (Intel)
Not reproducible on: No other environment tested

Note: Sometimes steps 3-5 need to be repeated for the issue to reproduce

First few lines of the stack trace:
0x00007ff6790bde8b (Unity) MemoryProfiler::UnregisterAllocation
0x00007ff678cd3806 (Unity) MemoryManager::Deallocate
0x00007ff678cdc2ea (Unity) free_alloc_internal 0x00007ff6785bfb97 (Unity) UnsafeUtility::Free
0x00007ff67842a797 (Unity) UnsafeUtility_CUSTOM_FreeTracked
0x000001a4d9238545 (Mono JIT Code) (wrapper managed-to-native)
Unity.Collections.LowLevel.Unsafe.UnsafeUtility:FreeTracked (void*,Unity.Collections.Allocator)

Add comment

Log in to post comment