I know you said this is only happening in debug, but does it also only happen when the debugger is attached? If you run a debug build without the debugger attached do you hit the same error?
No sorry I meant starting the debug build of the app directly on your iPhone, not launching it through xcode. Just trying to understand if this is a debugging only issue.
ah got it, sorry misunderstood.
when launching the debug app from home screen, it still crashes but less frequently.
im seeing around 1 in 10 launches will crash when moving to AR screen.
I do not repro any of these 2 bugs. Launching from Xcode or the dashboard. Metal validation is on. iPhone 11 with up to date iOS and bjs 7.12.0. This is annoying.
The difference I see is using an iPhone 15.
Can you make a quick try @docEdub and @srzerbetto if you have a more recent iPhone?
testing on a couple other iOS devices, im getting some different crashes which happen on every app run. this on app launch, not during AR initialization. same behaviour for both Debug and Release.
I’m using same Xcode, bjs and MacOS versions.
Except the CPU (Intel CPU for me) and iPhone model, I don’t see a difference. @srzerbetto Did you have the chance to test it on your iPhone?