Search Issue Tracker
Fixed
Fixed in 2022.3.14f1, 2023.2.0b16, 7000.0.0a1
Votes
0
Found in
2022.3.3f1
2023.1.1f1
2023.2.0a20
2023.3.0a3
Issue ID
UUM-40408
Regression
No
Crash on System.Array:ClearInternal when AI GameObjects perform pathfinding coroutine
Reproduction steps:
1. Open the attached “repro-project“
2. Have the “Tutorial_01 Test“, “Core“, “Battlefield“, and “InGame UI“ scenes open in the Hierarchy
3. Enter Play Mode
4. In the Game View select the ”PlayerKrieger” GameObject (the red knight near the trees)
5. Right-click on the ”Enemy” GameObject (the red capsule GameObject under the building in the middle of the map)
6. After the fight scene starts wait for the enemy AI GameObjects to finish their actions
7. Observe the crash
Reproducible with: 2022.3.3f1, 2023.1.1f1, 2023.2.0a20
Could not test with: 2021.3.27f1 (could not downgrade the project)
Reproduced on: Windows 10 Pro
Note: If the issue does not reproduce the first time repeat steps 3-6 until it does
First few lines of the stack trace:
{{0x000001ea45cb6ebc (Mono JIT Code) (wrapper managed-to-native) System.Array:ClearInternal (System.Array,int,int) }}
{{0x000001ea45cb6ce3 (Mono JIT Code) System.Array:Clear (System.Array,int,int) }}
{{0x000001ea45c3927b (Mono JIT Code) Pathfinder:ResetPathfinding () (at C:/Users/agnietemargeviciute/Documents/Unity Projects/IN-43564_HRE-Strategy/Assets/_Scripts/Pathfinding/Pathfinder.cs:78) }}
{{0x000001ea45c38d23 (Mono JIT Code) Battle_AI_Controller/<MoveUnit>d__34:MoveNext () (at C:/Users/agnietemargeviciute/Documents/Unity Projects/IN-43564_HRE-Strategy/Assets/_Scripts/AI/AI Enemy/Battle/Battle_AI_Controller.cs:252) }}
{{0x000001e9e85ef7f0 (Mono JIT Code) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) }}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Add comment