My Unity app uses the Camera feed for multiple systems that the app uses; such as Vuforia, ARKit, and just general Camera feed input.
The issue I'm having is that each one of these requests a different Pixel Format, which seems to cause an issue for the ARKit. This requires YUV, and I don't know how to natively switch the camera pixel format back to this. So I get this error when I try and launch ARKit after the others;
2017-08-21 08:51:38.749452+0100 ar_app[399:105849] [Sensor] Unsupported pixel format: 875704438
2017-08-21 08:51:38.749876+0100 ar_app[399:105849] [Session] Session did fail with error: Error Domain=com.apple.arkit.error Code=104 "Unsupported capture session configuration."
UserInfo={ NSLocalizedRecoverySuggestion=Make sure that the correct device and format are being used for capture.,
NSLocalizedDescription=Unsupported capture session configuration.,
NSLocalizedFailureReason=Input device and/or format of the provided capture session are not supported for the given configuration. }
At least, thats what I think the issue is; that it's not getting the format in YUV. Any help would be much appreciated. . Thanks.