Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Unity as library crash: Texture at colorAttachment[0] has usage (0x01) which doesn't specify MTLTextureUsageRenderTarget (0x04)

$
0
0
Hi, we have been using Unity as Library in a project that was working on iOS until two weeks ago. We had made no serious changes and now it crashes:
validateRenderPassDescriptor:702: failed assertion `Texture at colorAttachment[0] has usage (0x01) which doesn't specify MTLTextureUsageRenderTarget (0x04)'

Versions:
-Unity 2020.1.13f1
-XCode 12.4, swift to integrate Unity Library to the app.

Packages:
- Wikitude
- ARFoundation
- Firebase
- Unity UI Extensions (Particle System)
- ARFoundation, plane detection.

We have tried:
- Disabling metal validation
- XCode setting: OpenGL ES instead of metal
- Crashes after loading the scene with wikitude camera (no use of ARFoundation in this scene), after a scene where we check ARFoundation support and camera permission on the device.


Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>