XR Texture objects allocating 800MB at runtime, Meta Quest 3 OpenXR

Hi,

I have issues where my Unity OpenXR URP + Vulkan app is crashing on first load on Quest3. When I switch to OpenGL, it doesn’t crash.

As I was looking for clues in the memory profiler, I noticed three render textures (XR Texture[…] )that use a huge amount of graphics memory. At first I thought this were the textures for passthrough, but they are still here even after disabling passthrough, and using the same amount of memory…


Does someone know what these are ?

Thanks

1 Like

Also, why is the graphics memory usage doubled from Vulkan to OpenGL ?

These are the exact same app, the only difference is Vulkan vs OpenGLES3 in player settings.




1 Like

I’m seeing the same (“XR Texture [7]” x3), but mine are only 248.5MB.

I have no idea what they are, but if we’re both seeing these, odds are they are supposed to be there. Maybe? The different sizes could be render settings, or version/settings of some random xr plugin. I don’t feel motivated enough to investigate further. I just wanted to reassure you that someone else is seeing this too (and give this a bump in case someone that knows what they are could reply).

Please file a bug report so Unity can look at it

1 Like