Mesh loading time too slow [Resolve]

Dear Unity’s community,

I’m currently working on a blood vessels visualization project using unity 5.6 and I need in this program to have a mesh rendered 100 times or more.
I created a (prefab) gameObject that contains a meshfilter, a meshRenderer, a RigidBody and a meshCollider.

My problem is, when I want to instantiate 100 times this gameObject using a script, it takes several minutes, the same if I simply add 100 of this gameObject to the hierarchy before running the program. After the loading time, the program runs perfectly (100 FPS).

Here is some details of the configuration:
The mesh is composed of 1500 verticies
My computer specs is:
-intel i7 7700K
-32 Go Ram
-nvidia GeForce GTX 1080

I tought it could be possible to only load the mesh data once and then rendering it many times but I didn’t found how…
Also I tried to load another 3D model that is composed by way more verticies or triangles than my 100 meshes, and it tooks less than a second to load :eyes:

Do you think it is possible to have it loading faster ?

Thanks for your help !

up

Yes.

Why don’t you post your script, since no one know can possibly help you without seeing the script.

OK, I found the issue…

It seems that the slow loading time is due to a complex mesh collider… By reducing the number of triangle it resolve the issue…

here is another post on the same problem
http://answers.unity3d.com/questions/531705/meshcollider-slow-loading.html