OpenGL crashes (iOS 16)

OpenGL crashes when I call 'presentRenderBuffer' in iOS 16 beta. It works fine with iOS 15 or below.

I'm also seeing this crash with EXC_BAD_ACCESS on the simulator. However on a real apple device it works fine.

I am also observing OpenGL crashes with EXC_BAD_ACCESS when I call 'presentRenderBuffer' in iOS 16 beta, is this a bug in iOS 16 beta? Or it is because presentRenderBuffer is deprecated? What can I do to resolve it?

This issue has been fixed in the Beta 3.

I am also observing OpenGL crashes with EXC_BAD_ACCESS when I call 'presentRenderBuffer' in iOS 16.1 release. it‘s a bug in ios 16.1 ? My xcode version is 13.4.1, Is it because of the xcode version?

OpenGL crashes (iOS 16)
 
 
Q