[iOS] MetalRHI Asserts when screen is switched off during gameplay

Hey guys,

So with our game on iOS I’m hitting an assert whenever I send the app into the background by pressing the power button.

This doesn’t always happen immediately, and sometimes it is possible to actually get back into the game from the background, but in most cases I hit the assert.

Below is a picture of the stack:

It seems as though the render isn’t being paused correctly when it goes into the background, and is still attempting to clear the screen.

I’ll also attach a copy of the log [HERE][2] however it’s not particularly useful.

I have no way to test the project with the 4.12 Preview (As it’s a massive undertaking to upgrade all the content, etc)
So is there a fix for this already? (or at least a bug reported?)



Could you please provide me a sample project where this is occurring or step by step reproduction steps so we can verify what’s going on? Also, are you on a source or binary version of the engine? Did you start with a blank template or no?

Looking forward to hearing back from you, thanks!

Hey ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!