You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On iOS with unity plugin when URP is with Linear color space initialisation fails with pixel format mismatch error
For color attachment 0, the render pipeline's pixelFormat (MTLPixelFormatBGRA8Unorm) does not match the framebuffer's pixelFormat (MTLPixelFormatBGRA8Unorm_sRGB).
SMARTPHONE (please complete the following information):
Device: iPhone XR
OS
Android
[ X] iOS
OS version 16.6.1
STEPS TO REPRODUCE THE ISSUE
I dont have sample app. Assuming will occur with URP+Linear for any app.
EXPECTED BEHAVIOR
Should be able to see the VR view.
VERSIONS USED
What version of Google Cardboard are you using?
Cardboard XR Plugin 1.21.0
If you are using Cardboard XR Plugin:
What version of Unity are you using?
2022.3.8f1
Select in which graphics API you can reproduce the bug.
OpenGL ES2
OpenGL ES3
Metal
LINK TO A REPOSITORY WITH CODE TO REPRODUCE THE BUG
(This is not mandatory but it allows us to faster reproduce, prioritize, debug and fix the reported issue)
[e.g. https://github.com/googlevr/cardboard]
SCREENSHOTS
If applicable, add screenshots to help depict your problem.
ADDITIONAL CONTEXT
Following is from logs
Cardboard Setup
Initializing XR...
2023-11-03 14:46:39.190066+0530 vrgallery[39897:5256811] [/Users/jballoffet/Documents/cardboard/sdk/unity/xr_unity_plugin/cardboard_display_api.cc : 415] Configured Metal as Graphics API.
2023-11-03 14:46:39.190428+0530 vrgallery[39897:5256811] [/Users/jballoffet/Documents/cardboard/sdk/unity/xr_unity_plugin/cardboard_input_api.cc : 144] Configured viewport orientation as landscape left.
[Subsystems] Loading plugin GfxPluginCardboard for subsystem CardboardDisplay...
[Subsystems] Cardboard successfully registered Provider for CardboardDisplay
[XR] [CardboardXrMain]: Display subsystem successfully loaded.
[Subsystems] Cardboard successfully registered Provider for CardboardInput
[Subsystems] Cardboard successfully registered Provider for CardboardDisplay
[XR] [CardboardXrMain]: Input subsystem successfully loaded.
[Subsystems] Loading plugin GfxPluginCardboard for subsystem CardboardInput...
[XR] [CardboardXrInputProvider]: Lifecycle initialized
[CardboardApi] Device params found.
XR initialized.
Starting XR...
[XR] [CardboardXrInputProvider]: Lifecycle started
XR started.
[XR] [CardboardXrDisplayProvider]: Initializes Cardboard API.
RequestCreateTexture
RequestCreateTexture
SetupRenderTextureFromXRRequest (id: 1 col: 0x283de6300 d: 0x0 sr: 0x0)
RenderTexture::Create (id: 1)
IVRDeviceCallback_CreateEyeTextureResources 0x283de6300
SetupRenderTextureFromXRRequest (id: 2 col: 0x283de5c70 d: 0x0 sr: 0x0)
RenderTexture::Create (id: 2)
IVRDeviceCallback_CreateEyeTextureResources 0x283de5c70
-[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1604: failed assertion `Set Render Pipeline State Validation
For color attachment 0, the render pipeline's pixelFormat (MTLPixelFormatBGRA8Unorm) does not match the framebuffer's pixelFormat (MTLPixelFormatBGRA8Unorm_sRGB).
The text was updated successfully, but these errors were encountered:
SPECIFIC ISSUE ENCOUNTERED
On iOS with unity plugin when URP is with Linear color space initialisation fails with pixel format mismatch error
For color attachment 0, the render pipeline's pixelFormat (MTLPixelFormatBGRA8Unorm) does not match the framebuffer's pixelFormat (MTLPixelFormatBGRA8Unorm_sRGB).
SMARTPHONE (please complete the following information):
STEPS TO REPRODUCE THE ISSUE
I dont have sample app. Assuming will occur with URP+Linear for any app.
EXPECTED BEHAVIOR
Should be able to see the VR view.
VERSIONS USED
What version of Google Cardboard are you using?
Cardboard XR Plugin 1.21.0
If you are using Cardboard XR Plugin:
What version of Unity are you using?
2022.3.8f1
Select in which graphics API you can reproduce the bug.
LINK TO A REPOSITORY WITH CODE TO REPRODUCE THE BUG
(This is not mandatory but it allows us to faster reproduce, prioritize, debug and fix the reported issue)
[e.g. https://github.com/googlevr/cardboard]
SCREENSHOTS
If applicable, add screenshots to help depict your problem.
ADDITIONAL CONTEXT
Following is from logs
Cardboard Setup
Initializing XR...
2023-11-03 14:46:39.190066+0530 vrgallery[39897:5256811] [/Users/jballoffet/Documents/cardboard/sdk/unity/xr_unity_plugin/cardboard_display_api.cc : 415] Configured Metal as Graphics API.
2023-11-03 14:46:39.190428+0530 vrgallery[39897:5256811] [/Users/jballoffet/Documents/cardboard/sdk/unity/xr_unity_plugin/cardboard_input_api.cc : 144] Configured viewport orientation as landscape left.
[Subsystems] Loading plugin GfxPluginCardboard for subsystem CardboardDisplay...
[Subsystems] Cardboard successfully registered Provider for CardboardDisplay
[XR] [CardboardXrMain]: Display subsystem successfully loaded.
[Subsystems] Cardboard successfully registered Provider for CardboardInput
[Subsystems] Cardboard successfully registered Provider for CardboardDisplay
[XR] [CardboardXrMain]: Input subsystem successfully loaded.
[Subsystems] Loading plugin GfxPluginCardboard for subsystem CardboardInput...
[XR] [CardboardXrInputProvider]: Lifecycle initialized
[CardboardApi] Device params found.
XR initialized.
Starting XR...
[XR] [CardboardXrInputProvider]: Lifecycle started
XR started.
[XR] [CardboardXrDisplayProvider]: Initializes Cardboard API.
RequestCreateTexture
RequestCreateTexture
SetupRenderTextureFromXRRequest (id: 1 col: 0x283de6300 d: 0x0 sr: 0x0)
RenderTexture::Create (id: 1)
IVRDeviceCallback_CreateEyeTextureResources 0x283de6300
SetupRenderTextureFromXRRequest (id: 2 col: 0x283de5c70 d: 0x0 sr: 0x0)
RenderTexture::Create (id: 2)
IVRDeviceCallback_CreateEyeTextureResources 0x283de5c70
-[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1604: failed assertion `Set Render Pipeline State Validation
For color attachment 0, the render pipeline's pixelFormat (MTLPixelFormatBGRA8Unorm) does not match the framebuffer's pixelFormat (MTLPixelFormatBGRA8Unorm_sRGB).
The text was updated successfully, but these errors were encountered: