When trying to run VR in playmode in editor using OpenXR on a laptop with a 1070 in it, I get this error every frame that leads to one of these Temp Buffer render textures:
RenderTexture.Create failed: Texture is 2D but depth is set to a non-default value (default is 1).
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
VR works in Builds, it worked before, it works in editor on at least 4 other PCs that have pulled this same project. I’ve tried switching from Vulkan to D11, I’ve tried tweaking camera settings, etc.
Updated drivers, reloaded project onto a fresh SSD, rebooted, restarted, re-imported. Compared all settings with the working versions on other PCs.
Tried Quest 3 with Link Cable, Air Link, Steam Link. Oculus runtime, Steam Runtime.
Also tried Quest 1 and 2.
Here’s what it looks like in VR:
It’s hard to tell from this image but you can see level geometry, it’s just washed out as if the gamma is maxed out. The left/right eyes don’t match up either. And for some reason our menu UI (a camera at a depth of 1, vs the player camera at a depth of 0) renders almost normally, though still not aligned left/right eyes.
But again, this is only busted like this on 1 PC and works on every other rig we have, both AMD and Nvidia gfx cards.
So my suspicion is there’s some tiny setting somewhere that needs toggled, or this is some jankness in the ol’ 1070 and it’s time to just retire this laptop as a workhorse. (But again… VR works on the laptop, just not in Unity editor playmode)
I’ll try a bit more to fix, but likely this will be one of those threads a future dev finds and cries alongside us.