googlevr / cardboard

Open source Cardboard SDK and samples
Other
1.47k stars 246 forks source link

Anti Aliasing (MSXAA 4x) causes black screen in VR on some phones #456

Open MiCkSoftware opened 4 months ago

MiCkSoftware commented 4 months ago

SPECIFIC ISSUE ENCOUNTERED

Unity 2021 LTS OPEN GL 3.2 When enabling MSXAA 4x Anti Aliasing, screen is full black when VR is enabled (works fine in plain 3D)

SMARTPHONE (please complete the following information):

STEPS TO REPRODUCE THE ISSUE

  1. Launch a game with Anti Aliasing options (eg. Whispering Eons Season 1) on a pixel 7
  2. Disable AA and launch VR, graphics are fine
  3. Enable AA and launch VR
  4. See error

EXPECTED BEHAVIOR

AA should not cause black screen

VERSIONS USED

What version of Google Cardboard are you using? Cardboard SDK/Cardboard XR Plugin 1.23.0

If you are using Cardboard XR Plugin:

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) Repo is private, email me to gain access. https://play.google.com/store/apps/details?id=com.mick.we.ep1&hl=en&gl=US

SCREENSHOTS

If applicable, add screenshots to help depict your problem.

ADDITIONAL CONTEXT

Add any other context about the problem here.

MiCkSoftware commented 4 months ago

PS: works fine on a Nokia X20

arilow commented 4 months ago

Thanks @MiCkSoftware for reaching out to us. Unfortunately, we haven’t been able to repro this locally.

In order to allow us to reproduce this issue, could you please answer the following items:

Thanks!

MiCkSoftware commented 4 months ago

Hi !

You can test directly with my project setup : https://github.com/MiCkSoftware/weons1/tree/googlevr_report_issue

I gave you access. If you compile and run : it will not work on a pixel 7 and will work on many devices.