Everything pink with loading scene asset bundle WebGL

Hello,

I build my scene into an asset bundle, when its loaded dynamically during the game from the server, everything is pink, including the trees, water4Advanced etc (Im running it in the editor).

When I look at the inspector, I see everything looks normal in that the shaders and materials are listed (does not say missing or none), but they are not drawn on the screen.

I notice that if while the game is running in the editor, I click on the water4Advanced Tile, the inspector shows shader as “FX/Water4”. If i simply select that same shader again then suddenly the water appears, where before it was pink (the other objects are still pink like trees etc by the way)

So to summarize, when the scene asset bundle is loaded from the server, everything in that asset is drawn as pink, but if while the game is running i select one of the pink objects, then select the same shader again from the inspector, it suddenly appears and looks normal (no longer pink).

Anybody knows why?

im using Unity 5.4.0b24

Thanks

You must add your shader in the “Always Included Sharers” in your graphics settings ==> Edit ==> Projet Settings ==> Graphics

roka, thanks!