- Home /
Suddenly, mesh colliders everywhere
I'm using Unity with sketchup 13 for a small project, which was almost finished.
Two days ago, I was working on some lightmap work for the "big scenario" asset, imported it, and all went ok. Then, I started retouching materials in some minor assets. I replaced one for an exact copy of itself and the performance dropped to "unrunnable".
After several hours of figuring out (As looking in google for "performance drop" has no sense), it seems each asset in the application suddenly has a "mesh collider" component. I haven't seen any before and didn't even knew why they were for until this "incident".
Well, I just don't know what happened, I don't even know if this is the reason of the ludicrous performance drop. I don't know if an update to Unity automatically added this, or if it has been some kind of black magic going on. Can someone help me on this?
Edit: Just in case: I've manage to run the app after creating the lightmaps smoothly.
ReEdit: I've been deleting all the mesh colliders to no avail. Right now I'm completely clueless as what to do to make the project to work again..
Update/Re-ReEdit: I've managed to get to the "good" and fluid version. Running fine in Windows 7. Move the project to a Mac Book pro and the mesh colliders appears everywhere ruining the performance.
Are you using pro?
If you are, try running the profiler.
I personally had cases where I suddenly had huge unexplained performance drops.... usually it disappeared the same way it appeared....
Also try the following: try running a different scene in the same project, try running a different project.
See if they act the same.
No, I'm using Unity Free. It was some kind of "learning" project I was doing.
The project had this performance drops in 4 different machines (An HP Elite Book 2570p, a HP 8300, a $$anonymous$$ac Book Pro and my machine at home, which I built last year by pieces for ga$$anonymous$$g). The only way to solve it I found was to roll back to a previous version of the application and redo half day worth of work, but the $$anonymous$$eshColliders are again everywhere even though in my last saved version at home they weren't there. $$anonymous$$aybe dropbox sync has messed up my versions (Although the problem is not due Dropbox).
Angrybots works just fine and an old (From one day ago) version works fine (And I can't go back to this version, as it doesn't have several hours of work, besides, I want to know what happened here). And it does not have any mesh collider on the scene.
I don't think the mesh colliders are the problem.
I think It's like in my case, where its completely unexplained and goes ways by itself....
sorry I can't help more.
Do your import settings for the meshes have GenerateColliders ticked?
I think it doesn't have to do with the export settings (although I will check this out later).
Currently I manage to get a "clean, working" version of the project. In Windows 7 not a single asset has mesh colliders and works fine. If I get this same version to OSx, the mesh colliders appears everywhere (And both unity installations are the same version).
Your answer
Follow this Question
Related Questions
Why am I getting terrible performance on devices with > 120 game objects? 1 Answer
Use mesh collider on a lowpoly model instead of multiple boxcolliders? 3 Answers
Mesh Colliders, best practice for large meshes? 1 Answer
Wich is faster? Mesh collider or lots of primitive colliders? 1 Answer
Will mesh collider have the same tringles/veticies of the base mesh? 0 Answers