SKOverlay Cancelled

Hi,

I have integrated SKOverlay in my application and added logic to handle cases when presenting the overlay fails.

In these scenarios, I send an event with the data of the failure reason. Looking at these events, I saw an error stating:

The operation couldn’t be completed. (SKErrorDomain error 15)

Looking at Apple's documentation, all I am seeing is this:

An error code that indicates the cancellation of an overlay.

Which does not give a lot of information. Does anyone know how this situations happens? Or what could possibly lead to it?

Answered by Asaf_g in 685815022

This error occurs when a dismissal request (dismissOverlayInScene:) is being sent while a presentation operation hasn't been done yet.

Accepted Answer

This error occurs when a dismissal request (dismissOverlayInScene:) is being sent while a presentation operation hasn't been done yet.

SKOverlay Cancelled
 
 
Q