Post not yet marked as solved
Post marked as unsolved with 3 replies, 1,784 views
Is anyone else seeing issues with ARkit Body Tracking and SwiftUI?I am finding the the face tracking works fine if you have a view that appears with ARKit, does the tracking then goes away. This can consistently be done over and over by switching to the view and using it.But I can't do the same with BodyTracking. If I have a view that is making use of BodyTracking then it only works if I show ONLY the view with the body tracking as the very first thing to appear when running the app. If I show any other views before switching to the one with the BodyTracking then it does not work. Also if I display that first view (which works fine) the switch to another view and back to the BodyTracking view then it no longer works.This feels like a bug in ARKit, SwiftUI or iPadOS (don't have a phone to try it out).Anyone else running into problems with SwiftUI and BodyTracking?I get the following output when running my App (both when it works and when it doesn't). Feels to me like SwiftUI is causing issues with the tracking.2019-09-30 17:05:24.543484+1300 BodyTracking [2080:711242] Metal GPU Frame Capture Enabled2019-09-30 17:05:24.543752+1300 BodyTracking [2080:711242] Metal API Validation Enabled2019-09-30 17:05:25.318275+1300 BodyTracking [2080:711242] Compiler failed to build request2019-09-30 17:05:25.318408+1300 BodyTracking [2080:711242] [Graphics] makeRenderPipelineState failed [output of type ushort is not compatible with a MTLPixelFormatR16Float color attachement.].2019-09-30 17:05:25.318437+1300 BodyTracking [2080:711242] [Graphics] makeRenderPipelineState failed.2019-09-30 17:05:25.845971+1300 BodyTracking [2080:711618] [Technique] World tracking performance is being affected by resource constraints [3]2019-09-30 17:05:25.846030+1300 BodyTracking [2080:711618] [Technique] VIO error callback: 113455.122269, 3, Frame time stamps are either out of order or repeating