Unity 4.5.2 game crash, Internal-Error Shader.shader could not be loaded

After updating to 4.5.2 any game, including the games I had developed before without any issues will simply crash when I build and run that game on a device. The logcat gives me this error,

E/Unity ( 9688): (Filename: Line: 1115)
E/Unity ( 9688):
E/Unity ( 9688): The resource Internal-ErrorShader.shader could not be loaded from the resource file!

When I downgrade it back to Unity 4.3.4 than I do not get this error and the game will run on my device. Can anybody please help me with this and tell me how to get rid of this error? :slight_smile: I do not wish to keep using Unity 4.3.4 since the new unity update is really cool except ofcourse the above error.

I’m just guessing blindly, but did you try putting the shader the “Always Included Shaders” list? You’ll find it under Edit > Project Settings > Graphics.
Edit: Does it crash immediately after launch? What operating system are you experiencing the crash on? Are you switching shaders during runtime?

Thanks for your reply. Yes the game will crash immediately on my android device. Even for testing if I create a new project with only a background image in the scene that’s all, build and run the scene it will still crash and give the above error, and in this scene there is no list of shaders to add. Are you using Unity 4.5.2? If yes, does your game run on your device?

I am using Unity 4.5.2p2 for my current Linux/Mac/Windows project with no such problems. I am downloading the Android SDK as I type, will try it out for myself and see if that’s the case on my end as well.

It works without a problem. Try updating to the latest patch release and see if that solves your problem (they did not mention such fix in the release notes, but hey, works for me…).

That’s good it works for you. Strange I mean I’m sure not everybody is getting this error otherwise nobody will be able to publish there game using unity 4.5.2. So I’m just wondering what is going wrong since every game even a test game will crash immediately and when I downgrade it to 4.3 they all work on my android device. Yes I will try to get the latest patch and also download 4.5.1 and check if it works.