Hey guys, I’m looking for some advice please.
My project was going well, I’ve been working on it full time for a few years until July this year. I installed an asset from the Asset Store, I use a few of them in my project as I’m sure plenty of you do, the usual image FX, character controller, pathfinding, behaviour trees etc.
Anyway, this time it crashed on import. I removed the plugin and it worked again. I tried it in a new empty project and it was fine, tried it again in my project and it crashed again on import. So I decided to not use the asset.
A few weeks later I tried to install another asset, same thing happened, crashed on import. So I decided I needed to find out what was going on. I started by installing every asset I used in my project into a new project, once that was done I planned to add my own scripts and models etc to the project however, whilst installing assets from the Asset Store I got to the point where the crashes started again. I removed the asset that I’d tried to install before the crash and carried on installing but other packages caused a crash too but at least I could rule out any of my own work.
I spent weeks trying to figure out what was causing the crashes, I even filed a 12gb bug report to Unity and waited for a reply. A few weeks later I received my reply from Unity, stating that the issue was with 3 possible assets & if I remove them it will work and that I should contact the asset developers directly.
I removed those assets and continued installing assets from the store, and the crashes started again.
I’ve tried over the months to fix this issue without success. Every time I think I’ve found the root cause another asset causes a crash. I have a list of assets that have crashed when installed but when I put them in a new scene together they do not crash. I’ve tried installing them in different orders, it’s always the last one I get to on the list to cause the crash. I get the same crashes on my laptop as well as my desktop PC so i know it’s not hardware related. I’ve updated Unity from 5.x that I started with to various releases and patch releases up to 2017.2.p4 and it makes no difference.
I’ve not worked on my game since this started in July and I’m still no closer to solving the issue. What’s to stop this happening to every game I make in the future? I’ve tried removing all assets I can live without but I still get crashes, I really need to find the issue rather than avoid using assets. It seems that assets are clashing with each other. Also, annoyingly the auto API updater won’t work, it complains that it cannot complete due to errors, but there are no errors in the console. So I have to open plugins in another project, let unity update the API and then repackage them and import them into my working project.
I’ve not named any assets as I’ve no idea which are the cause and it’s unfair to name any. I thought about offering a reward to anyone who finds the issue but then I’d have to share 12gb of assets I paid for and that’s not a good idea due to piracy.
So, I know it’s a long shot but does anyone have any ideas what my next move should be? Perhaps there’s a process of elimination that I should use? I’m so confused by it now I’m not sure what to do.
Sorry it’s a long post, Thanks if you read it all.