Missing some legacy shaders after building

We tried building our project yesterday using beta16 and the build version appears to be missing the Legacy Shaders/Self-Illumin/Specular shader. Which works fine in the editor. What makes it extra weird is that the Legacy Shader/Bumped Diffuse and the Legacy Shader/Diffuse have been included just fine.

Is this a bug or am I missing something?

EDIT:

So it would appear that it’s shaders in subcategories that are giving us trouble. Legacy Shaders/Self-Illumin/ and Legacy Shaders/Terrain/ give errors, but all the regular Legacy Shader/ ones show up just fine.

I believe the solution for this sort of thing used to be to explicitly include the shaders in your project. We already did this before switching to Unity 5 when we had similar issues in a previous version, but I’m guessing I have to update those files now. Anyone know where I can get the new shader sources to include?

1 Like

Anyone?

That’s strange, it shows up fine here in b17 - http://grab.by/Db1U
Or is it just that when you upgrade projects already using that shader, you get breakages? If so, a bug report would be great and we can hopefully get someone to look over the issue.

You can also find the latest shader source here: 'Built-in Shaders for Unity 5.0 beta 17’ and also under the same link on the beta page here. Hope it helps!

@peteorstrike

It shows up fine in the menu. It shows up fine when we run everything in the editor. It goes wrong when we create a build and it is indeed an upgraded project. Sadly it’s our core product so I can’t send it to you and it’ll be hard to tear it apart and send you a sample project. :S

I did submit a bug report. Case: 657462

If that’s not enough let me know and I’ll try to set up a sample project for you.