Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
7
Found in
2019.2.0a1
2019.4
2019.4.0f1
2020.1
2020.2
Issue ID
1257220
Regression
Yes
Editor crashes on MemoryManager::GetAllocator when selecting NavMeshAgent Component in the Inspector window
Reproduction steps:
1. Open the user's attached "Zombie.zip" project
2. Load the "TeddyLab" scene
3. Select "Enemy" GameObject in the Hierarchy window
4. Click on NavMeshAgent Component in the Inspector window
-- Observe the crash
Reproducible with: 2019.2.0a1, 2019.2.21f1 2019.4.0f1, 2020.1.0b14, 2020.2.0a16
Not reproducible with: 2018.4.23f1, 2019.1.14f1
Note: in some version, the crash occurs when selecting a GameObject with NavMeshAgent Component
First lines of the stack trace:
0x00007ff7b57d9ecc (Unity) MemoryManager::Allocate
0x00007ff7b57ef51c (Unity) malloc_internal
0x00007ff7b4d434ae (Unity) core::StringStorageDefault<char>::allocate
0x00007ff7b6b04790 (Unity) NavMesh_CUSTOM_GetSettingsNameFromID
0x000001738011153e (Mono JIT Code) (wrapper managed-to-native) UnityEngine.AI.NavMesh:GetSettingsNameFromID (int)
<...>
-
adriant
Jul 29, 2020 12:33
Quick workaround: To correct the issue in the project and avoid the crash please open the file ProjectSettings\NavMeshAreas.asset in a text editor and make sure that the properties "m_Settings:" and "m_SettingNames:" have the same number of items declared under them.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mouse inputs cannot be inputted when searching the Shortcuts Menu by type "Shortcut"
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
- Inspector Asset Bundle section has no indication for Variants, AssetBundle is written without a space, and Variant dropdown menu is available without setting the Asset Bundle first
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0b2
Quick workaround:
To correct the issue in the project please open the file ProjectSettings\NavMeshAreas.asset in a text editor and make sure that the properties "m_Settings:" and "m_SettingNames:" have the same number of items declared under them.
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.6f1.4510
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.11f1