Completely lost.

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.

1 Like

Forget fair, if something is causing a crash either post it on the asset thread or elsewhere if you think it’s not specific to that asset.

Mostly, you just need to go at this one step at a time and provide more detail. What asset it crashed on, what specifically you mean by crash (did Unity catch the crash, or did it just exit). Be clear about exactly when it crashed (while importing, what the import bar was saying it was doing when it crashed if possible).

And look in the editor log to see what it say’s. If Unity caught the crash, you will usually have a stack trace in the editor log which is very useful.

It’s a pain but the devil is all in the details on this kind of thing. Without details the only thing anyone can do to help, is help show you how to get more details:)

Longshot: are there by chance any files that through some bizarro coincidince have the same CRC checksums or confuse the GUID system in another way? I’ve read a gamasutra article once where they were using CRC sums to track assets in a non-Unity project and had hit a bug because two different files had the same checksum. Changing that was as simple as adding another comment line to a text file in that specific case, but finding the issue was hard.

Or are there maybe assetpreprocessor scripts that conflict with each other in some of the assets?

Good thing you submitted a bug report! But honestly I think the official answer from Unity is a huge copout, as I think if you don’t get at least a clear error message from Unity it’s their system that’s failing, not just the assets (which also have so far not been proven to even be at fault, just the circumstance where the crash happens).

Thanks for the reply.

I could post a list of the assets.

When i say crash, some pop up with Unity’s bug submission window, others just exit. I’ll post the stack trace and crash log too

Interesting, I’ll look into how to check for this.

Thanks

1 Like

If you’re using a version control system you could start by reverting the project back to the last commit just before you applied the assets. After that if you still needed the assets you could experiment with combinations of them to see which ones are causing the problem.

I tried that. Still couldn’t find the issue.

1 Like

Here’s my error.log:

I’ve since uninstalled everything Apple and still get the crashes.

Here are the assets that combined cause the crash:

These are the selection that I suspect might be part of the issue:

3332082--259783--Suspected Crash Assets.PNG

All the assets above combined cause the crash. There are other assets that I use in my project that installed fine and cause no issues.

Have you tried uninstalling Displayfusion and that Tortoise Overlay? I once had the craziest of errors where having one nonstandard windows explorer registry setting - that theoretically shouldn’t affect anything (but I can’t remember what exactly it was) - triger some JRE bug which then caused the suicidator city generator for blender to bug out. Can you narrow the assets down by which have DLLs and which don’t?
Is AstarPP twice in the list?

I only have DisplayFusion on my Desktop as it has 2 monitors, my laptop which also crashes doesn’t have it. I use tortoiseSVN for my version control, that is on both desktop & laptop but I dont really want to remove it, but I have noticed there’s an update for it. I’ll update it & see what happens

1 Like

And yeah, there’s 2 copies of A Star on that list, forgot I put the beta version from the website in that folder, I’ve tried both and same results

1 Like

I updated TortoiseSVN and although the project still crashes, Tortoise Overlay isn’t in the log:

2 Likes

Anyone else have any ideas?