Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2019.4.13f1
2020.1
2020.2
2021.1
2021.2
Issue ID
1297742
Regression
No
Crash on entering Play mode when a script is calling NavMeshSurface.UpdateNavMesh()
How to reproduce:
1. Open the attached project named "NavMeshTest.zip"
2. Open the Game Scene located in Assets/Src/Scenes/Game
3. Enter Play mode. If the crash does not occur, exit and enter the Play mode a few times
Expected results: The Scene is loaded and Editor enters into Play mode
Actual results: Editor crashes when entering Play mode
Reproducible with: 2019.4.20f1, 2020.1.17f1, 2020.2.5f1, 2021.1.0b7, 2021.2.0a4
Could not test with: 2018.4.30f1(Project breaks on downgrade)
Notes:
1. Crash usually occurs when trying to enter the Play mode for the second time
2. If line 12 in Map.cs is removed, the crash does no longer occur
3. Start(), FixedUpdate() and Update() methods were tested for the UpdateNavMesh call. The issue would reproduce in all test cases
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a3
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b7