I’ve been developing my project without any issues throughout this year, deploying iterative builds successfully on both iOS and Android. Recently, my builds have not been working on both platforms but developing in the editor is fine. At this stage, I feel that the issue is linked to upgrading my Unity editor but I can’t be sure. (I’m using Unity 2019.2.9f1)
I found an error in the device logs stating a file related to masking wasn’t present. The mask error was fished out of logcat on Android and appeared to point to Unity internal resources, not specific to my project.
While testing on iOS, I removed the item from my scene that had a sprite mask component and found a new problem. It displayed a message that a shader ‘mobile/particles/alpha blended’ wasn’t supported. I haven’t changed much in my project recently as it’s almost finished & Unity 2019.1.14f1 worked fine.
I changed the material for the offending object to use ‘Sprites/Default’ and now I get a different error:
Metal: Error creating pipeline state (Hidden/Internal-GUITexture): depthAttachmentPixelFormat is not valid and shader writes to depth
I’ve checked my source control logs to verify I haven’t changed anything related to these errors. My recent updates are just animation values to polish things off. The only thing that stands out is the Unity version changes.
Now, I could theoretically avoid these issues by downgrading my Unity version but Unity crashes when I attempt this - so I’m fairly stuck.
Is this a bug? If so, I would have expected to find similar conversations but it seems I’m on my own with this one. Any advice?