Unity always crashes because of the particle system

Hello! I created a smoke particle system. In shape, I chose the sprite type and use sprite with text, and now I keep getting these errors and Unity always crashes.

Mesh.the vertices are too small. The provided vertex array contains fewer vertices than specified in the triangles array.

Mesh.uv goes beyond the scope. The provided array must be the same size as the array of cells.vertices.

The particle system tries to create a grid with zero surface area

Hi, can you report it as a bug via Help/Report a Bug in the Editor please?

It shouldn’t crash, but I wonder, is the mesh valid? It sounds malformed, but I don’t know if it’s just a valid setup I don’t know about!

I sent the report. I created the grid manually using the sprite editor → skin editor. The effect was also controlled by the animator, by turning the object on and off using animation.

Now it turned out that the crashes were caused by another effect, the lightning effect. It used trails, the minimum vertical distance was 0.1 and I forgot to turn off size over life time to 0. There were 4 such particle systems with 1-6 lightning bolts each.

After I redid the lightning effects, the crashes stopped, but I still get this error due to the smoke effect. I also get this error in an almost empty project where the effect is not controlled by animation.

1 Like