Unity ARKit Plugin: The application closes when the video feed is dark.

I'm developing a test app with ARKit on IPad Pro.
When I put my ipad on the table, and then the video feed become dark, the app quit, like it crashes.
Any ideas?