Assertion on line assert(surface->systemColorBuffer != 0 && surface->systemDepthBuffer != 0);

Hello!

IOS build of my game crash in file GlesHelper.mm on line assert(surface->systemColorBuffer != 0 && surface->systemDepthBuffer != 0);

Game work on iphones5 and 6, but crash on Ipad 3.

I use Unity 2019.2.8f1. How I can fix this crash?

Thanks!

Hi, @AndreyMesheryakov any updates on this?, were you able to solved this problem?

For me helps move all init code from Start to Awake

I’m running into this now. Surely that can’t be the solution… I use Awake and Start very deliberately; it would break game logic to just move everything to Awake.

Anybody have another idea what causes this, and how to fix it?