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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Add comment