Search Issue Tracker
Active
Votes
0
Found in [Package]
2.1.0
Issue ID
BAR-396
Regression
No
Crash on MemoryProfiler::GetAllocationRoot when switching scenes after Play mode
Reproduction steps:
1. Open the attached "ReproProject_98541" project
2. Open scene "Scenes/PelletGrabber"
3. Enter Play mode, let it run for ~1 minute
4. Without exiting Play mode, switch to scene "Scenes/Zombie AI", let it run for ~1 minute
5. Without exiting Play mode, switch back to "Scenes/PelletGrabber"
Expected result: The Editor switches back to the other scene
Actual result: The Editor crashes
Reproducible with: 2.1.2 (6000.0.46f1, 6000.1.0b14, 6000.2.0a8)
Couldn't test with: 1.6.0-pre.1 (2022.3.61f1) (Issues with scripts)
Reproducible on: Windows 11 (User), MacOS 15.3.2 (Intel)
Not reproducible on: No other environment tested
Note:
If the crash does not occur after Step 5, repeat Steps 2-5 a few times.
Stacktrace:
0x00007FFCE7FCC8DB (Unity) MemoryProfiler::GetAllocationRoot
0x00007FFCE840943C (Unity) MemoryProfiler::UnregisterAllocation
0x00007FFCE7FC74C4 (Unity) MemoryManager::RegisterDeallocation
0x00007FFCE7FC9108 (Unity) MemoryManager::TryDeallocateWithLabel
0x00007FFCE7FCA933 (Unity) free_alloc_internal
0x00007FFCE86E539B (Unity) core::vector<ScrapedMonoScriptInfo,core::allocator<ScrapedMonoScriptInfo,0> >::~vector<ScrapedMonoScriptInfo,core::allocator<ScrapedMonoScriptInfo,0> >
0x00007FFCE86E9343 (Unity) MonoScriptInfoScraper::ClearDataForAssemblyName
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
- Standalone Profiler stays in Dark Theme after switching Editor theme to Light on Ubuntu
- Inconsistency in capitalisation and styling across various nodes and block in VFX Graph
- Package Manager Select all keyboard shortcut selects all packages even if they’re not visible to the user when the Package Manager has no search results and the shortcut is pressed
Add comment