Error: "chanType.dimension == 0"

I’m getting wierd error:

chanType.dimension == 0
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)

I have discovered that cause of this error is Particle System component. Error start shows up, when in Particle System i choice my procedurally generated Mesh Shape. It’s almost flat surface, for sure it cannot be name as convex. Except that error, Everything works fine. Particle is generated over whole mesh. Just this error… How i can get rid of it

I also experienced this error with my procedurally generated mesh in the particle system.

It was solved by changing the winding of the triangles making the normals point outwards of the mesh.
I had erroneously winded the triangle indices according to a right-handed coordinate system but Unity uses a left-handed.