My team is encountering an issue with Depthkit and wanted to provide detailed information for further troubleshooting:
Device and Build Behavior:
The included Xcode build provided by your team works on our device, and we can see both the Depthkit content and visual effects. However, the app crashes after approximately 2 minutes of running.
Custom Unity Build Issue:
When building from the Unity project your team provided, the build compiles and runs successfully, but Depthkit content and visual effects do not render.
Steps Taken:
Verified Unity and Xcode settings match the configurations in the provided project.
we checked the logs but didn’t find any obvious errors related to Depthkit rendering.
Any insights into why the Depthkit content renders in the provided Xcode build but not in our Unity build would be greatly appreciated. Let me know if there are additional logs or settings you’d like me to share.
@YiXiWu - If the example Xcode build provided works (setting aside the asset, not app, pausing after 2 minutes issue for a moment), but the Depthkit assets fail to appear when you build from the same Unity project yourself, then something must be set incorrectly in Unity’s Player or Build settings, or in Xcode. Are you applying any changes to the Xcode project (e.g. clicking “Fix” to any of the warnings which appear) aside from changing the device signing settings?
Can you provide screenshots of the Unity Project Settings, particularly player settings, as well as screenshots of both Xcode projects? We can take a look to see if there are any discrepancies with the working project on our end.
(Discourse has a one-image-attachment limit for most users, so to share multiple screenshots, you may need to upload them to a cloud drive like Google Drive / Dropbox and share that instead.)
@YiXiWu - We haven’t heard any updates from you or your team regarding this issue, so I am going to close the ticket. If this or any other issues continue to persist, please provide the additional material requested above, and I’ll reopen the ticket.