I’ve been working with Unity for some time now(Not as long as many of you though probably), and I’m starting to see how fragile it can be, and wondering what I can do to keep it from exploding all the time.
I am working on a project with this artist, and seem to be having increasingly nasty complications every time I try to import the new asset package from her for the “newest town” version.
She is newer to Unity, but gotten a lot better, I’ve been telling her the best way to group objects on the scene, reuse textures as much as possible to reduce memory usage and allow for combine children optimizations, but she’ll still have problems here and there that I go in to fix.
One of the most common is the “Check consistency” error where somewhere in the hierarchy is a disconnected or invalid(red) prefab, I can fix those, no biggie, I got a new one though saying “GameObject [some object name] is in the building template twice, re-create the map!” ← something like that, not sure what this one was, but I think I fixed it.
Problem is, now as I navigate the scene to clean stuff up and reduce draw calls/make prefabs out of things that should be instanced, etc, I get this wonderful sudden restart - my computer pulls its own cable and reboots to keep from corrupting memory. Last time it happened I was just moving a light?!
So my question is - when importing packages, will it replace existing assets? This “town” is sort of versioned, so the package contains a lot of stuff already in the project, and I assumed would overwrite things like that - is this trouble? And also, why is the meta data so sensative? Is there a way to “scan” or “clean and rebuild” the metadata in the project? Anything to help me detect where to patch up the holes and make it water-tight? Starting the project up now does not report any errors in the console, but obviously something is hosed or I wouldn’t get sudden restarts. Any thoughts?