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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment