UCB Failed but building locally works fine

In my compact log i am seeing the following:

352: [Unity] WARNING: ETC texture format is not supported, decompressing texture
353: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
354: [Unity] WARNING: ETC texture format is not supported, decompressing texture
355: [Unity] WARNING: ETC texture format is not supported, decompressing texture
356: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
357: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
358: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
359: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
360: [Unity] WARNING: Shader Unsupported: 'VR/SpatialMapping/Wireframe' - Pass '' has no vertex shader
361: [Unity] WARNING: Shader Unsupported: 'VR/SpatialMapping/Wireframe' - Setting to default shader.
362: [Unity] Shader compiler: internal error compiling shader snippet type=0 platform=5: Protocol error - failed to read correct magic number
363: [Unity] Shader error in 'Particles/Additive': Internal error communicating with the shader compiler process
364: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
365: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
366: [Unity] UnityEngine.Debug:LogWarning(Object)
367: [Unity] WARNING: ETC texture format is not supported, decompressing texture
368: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
369: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
370: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
371: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
372: [Unity] Player export failed. Reason: Shader error in 'Particles/Additive': Internal error communicating with the shader compiler process
373: ! build of 'default-android' failed. compile failed
374: publishing finished successfully.
375: Finished: FAILURE

It seems to be some kind of issue with a shader?

Any advice would be appreciated.
-Stephen

Hey! This looks like a similar issue as what is described here: UCB only error: Shader unsupported: pass Pass has no vertex shader. - Unity Services - Unity Discussions

Feel free to join that discussion and add any additional info you have!

  • Sophia

Thanks for the quick reply!
I’ve added all the information i have in that thread.

HI @SophiaC !

I’m trying to make a UCB on iOS and it can’t compile on Production Build but works fine on Development Build. The log shows that there are an error compiling shader, it fails reading the correct magic number.

The log shows this:

780: [Unity] Shader compiler: internal error compiling shader snippet type=0 platform=5: Protocol error - failed to read correct magic number
781: [Unity] Shader error in ‘Sprites/Default’: Internal error communicating with the shader compiler process
782: [Unity] Script attached to ‘MOF_Floor’ in scene ‘’ is missing or no valid script is attached.
783: [Unity] Script attached to ‘MO_Trigger_BirdsPack’ in scene ‘’ is missing or no valid script is attached.
784: [Unity] WARNING: PVRTC texture format is not supported, decompressing texture
785: [Unity] UnityEngine.Debug:LogWarning(Object)
786: [Unity] UnityEngine.Debug:LogWarning(Object)
787: [Unity] UnityEngine.Debug:LogWarning(Object)
788: [Unity] Player export failed. Reason: Shader error in ‘Sprites/Default’: Internal error communicating with the shader compiler process
789: ! build of ‘ios-release’ failed. compile failed
790: publishing finished successfully.
791: Finished: FAILURE

Could you help me? I don’t know what can I do.
Thanks!!