Support Forum

An unknown error occurred. (to be in a hurry)

I sometimes see the following error.
Is there a way to solve this?
I use the Recast Graph.
It uses three Recast Graphs depending on the size of its enemies.

I have to submit the current game to be checked.
Can you please let me know quickly?

Degenerate triangles might have been generated.
Usually this is not a problem, but if you have a static level, try to modify the graph settings slightly to avoid this edge case.
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
Pathfinding.Voxels.Burst.JobBuildMesh:Triangulate(Int32, NativeArray1, NativeArray1&, NativeArray1&) Pathfinding.Voxels.Burst.JobBuildMesh:Execute() Pathfinding.JobBuildTileMesh:Execute() Unity.Jobs.JobStruct1:Execute(T&, IntPtr, IntPtr, JobRanges&, Int32)
Unity.Jobs.ExecuteJobFunction:Invoke(T&, IntPtr, IntPtr, JobRanges&, Int32)

Exception: Ended up at an unexpected poly index
at Pathfinding.Voxels.Burst.JobBuildMesh.Execute () [0x00000] in <00000000000000000000000000000000>:0
at Pathfinding.RecastGraph+JobBuildTileMesh.Execute () [0x00000] in <00000000000000000000000000000000>:0
at Unity.Jobs.IJobExtensions+JobStruct1[T].Execute (T& data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <00000000000000000000000000000000>:0 at Unity.Jobs.IJobExtensions+JobStruct1+ExecuteJobFunction[T].Invoke (T& data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <00000000000000000000000000000000>:0

Hi

Yes, this is a bug. I have fixed it locally though.
You can replace your VoxelMeshBurst.cs script with this: https://pastebin.com/w0sqkReJ to fix it.

Or upgrade to the latest beta (4.3.45).