keijiro / Rcam2

Remote depth camera with iPad Pro with LiDAR sensor
The Unlicense
383 stars 40 forks source link

Consistent crashes with iOS 15 #11

Open ylevtov opened 2 years ago

ylevtov commented 2 years ago

Hi @keijiro. We've started getting consistent crashes with iOS 15 and just wondering if this comes under the umbrella of some of the other issues you've already logged with Unity re. their implementation of Metal, or if it's something fixable within this repo.

FYI these builds were built with NDI5 (due to no longer being able to find NDI4.5 online) and KlakNDI 2.0.3 instead of 1.0.12. Other than that, the logs below were built with this repo as-is.

Here's a crash report and some info from the debugger (obtained from TestFlight): crashlog-orig.log

Screenshot 2022-05-14 at 13 26 29 Screenshot 2022-05-14 at 13 26 14

Xcode Crashpoint (zipped - may require project files): O2nr6MpEOKzNbsB5GhvER.xccrashpoint.zip

We also have a fork of this project (very few changes, and none that I'd have thought would affected rendering) where the project has crashed in slightly different place (TexturesMetal::AddCreatedTexture()): crashlog-fork.log

167112477-17b4b817-65ca-4f65-96ab-8049323b6ef5 167112609-4d14b898-724d-4fbf-b294-b88125ea9b86

Xcode Crashpoint (zipped - may require project files): DRJH6FJev_JvKLFpnwzVo5.xccrashpoint.zip

Also just FYI I'm aware that you never intended/tested this project on the iPhone 12 or 13, however, pre-iOS 15, I can definitely say that the project was working very well on those devices.

Any help/pointers greatly appreciated. Let me know if there's any additional info I can provide.

keijiro commented 2 years ago

Honestly saying, I have no idea about it. The crash point seems like a generic graphics issue -- not very relevant to NDI nor Rcam.

My wild guess is that that's a compatibility issue in Unity. You might able to solve the problem by upgrading the project and the NDI plugin to the latest versions.

ylevtov commented 2 years ago

OK got it - shall give that a go. Thanks!