Search Issue Tracker

Fixed in 1.2.0

Votes

0

Found in [Package]

2020.3

2021.2

2022.1

2022.1.0a7

Issue ID

1370994

Regression

No

Unity crashes on calling dispose multiple times

Package: Unity Native Collections

-

How to reproduce:
1. Open the attached "CrashBug.zip" user project
2. In the top bar menu click the "HERE" button
3. Click the "CrashWindowButton" button
4. In the new window click the "Crash" button

Reproducible with: 2020.3.19f1, 2021.2.0b14, 2022.1.0a10
Could not test with: 2019.4.31f1, 2021.1.23f1 ("HERE" button doesn't appear)

First lines of stack trace:
(Unity) DynamicHeapAllocator::Deallocate
(Unity) DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate
(Unity) MemoryManager::Deallocate
(Unity) free_alloc_internal
(Unity) UnsafeUtility::Free
(Unity) UnsafeUtility_CUSTOM_Free

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.