Hi, please can someone help me diagnose this?
My project has been working fine, and runs fine in the editor, but now when I build I just get a crash to desktop when building player.
I have tried disabling antivirus etc, but nothing seems to work and other projects build fine. I have no idea what has caused this to start happening, and I wonder if there is someway to figure out what is causing the problem?
I’ve attached the error.log and crash dump but I cant see anything in there that points to the error, at least anything I can identify.
I am completely stuck now and cannot work, so any help would be greatly appreciated!
3186777–243211–crash and dump.zip (60.8 KB)
Can you share the editor log? Unity - Manual: Log files
I had a quick look at the crash dump, the crash looks like something to do with shader keywords. Did you change something to do with shaders recently?
You can get more info yourself by using the symbol servers: Unity - Manual: Windows debugging
Feel free to file a bug report so we can investigate further, we will need a reproduction project that creates the crash if possible.
Hi, Thanks for the quick reply, here is the Editor Log file as requested. I had no idea that log file existed! You learn something new everyday 
3186972–243227–Editor.zip (24.2 KB)
I am not aware of any recent changes to shaders, but I did a lot of work a while back before I upgraded to 2017.1 As I havent run a build for a while, this could have been an issue from ages ago (I tend to work mostly in the editor unless I am creating a playable testing build).
I guess I have learned here that I should often test standalone builds, rather than rely on the editor always, I may have caught this earlier.
Your callstack and symptoms match this bug: Unity Issue Tracker - Crash in ShaderVariantCollection::GetShaderKeywordSetForShader when building on any platform
The fix has been backported to 2017.1.0p2+.
Try updating to the latest patch.
Ok cool thanks, I’m updating now
1 Like
Huzzah! that fixed it, thanks so much for your help 
1 Like