Console error: Collision Mesh vertex "non-finite value"

Hello,

I recently bought a package on the asset store, composed of trees and bushes models.

Since I added these into one of my scene, the following message started to appear in the console:

Collision mesh vertex at index 1912 contains a non-finite value (-1.#IND00, -1.#IND00, -1.#IND00). This might cause a crash. Mesh asset path “Assets/Models/Stylized Jungle Pack/Nature/Trees/Models/Tree_2.prefab” Mesh name “Mesh”

The game works fine in editor mode, but when I build and run the game it crash at the loading of scenes where I use these models.

It shows this message for every tree model in the asset.

So, Is there anyone that already had this kind of problem and know how to solve it ?

(I already sent an email to the creator of the asset, will see if he answer me)

Thanks !

I’ve had the same issue for some of my trees. I haven’t found a solution yet, have you heard anything back from the creators of the asset you bought?

Any ideas yet on how to go about fixing this issue with Stylized Jungle Pack tree prefabs? Contacted asset store developer twice now, but yet to hear back on how to troubleshoot the non-finite mesh vertex value error. Also running into this issue on Unity 5.4.0.

I solved this problem by following steps. But, I don’t know cause.

For example, tree1 prefab.

  1. Select GameObject
  2. In Inspector, Try to switch eye icon that mean show / hide.
  3. Identify the node to cause of error.
    (When the node shows, the error message apears in console window)
  4. In Inspector > the node, Decrease Distribution>Frequency until the error message doesn’t appear.

2 Likes

This error means one of the vertices (vertex at index 1912) in the mesh is located very very very far away (NaN or infinity or -infinity) from the pivot point of the model.