Unity-Technologies / SkyboxPanoramicShader

Skybox shader for support of 360/180/cubemap video and static content
282 stars 67 forks source link

Stereo layout not available when using new XR manager #14

Open kumilanka opened 4 years ago

kumilanka commented 4 years ago

New XR manager replaces the 'virtual reality supported' checkbox. As a result, the setting for stereoscopic layout is not available, even when the project is using virtual reality.

Workaround is to avoid the new XR manager and use VR platform integrations via package manager instead.

Morgan-6Freedom commented 4 years ago

Using Unity 2019.3

this is what I got : 2020-02-18 18_23_58-Window

According to the documentation which has not been updated since 3 YEARS !!

This is what I should get : 2020-02-18 18_24_46-DRAFT_ Panoramic 2D and 3D Video Shader in Unity - Google Docs

Oneiros90 commented 4 years ago

Quick fix: Comment out this line

jrjones commented 4 years ago

Argh! Same issue. Do I need to create a custom shader based on the old skybox pano code you linked, or do you expect Unity to fix this at some point? Is there a way to trick the editor into thinking PlayerSettings.virtualRealitySupported = true? (Betting this won't be the only place that we run into this sort of thing.)

EazyAndy commented 4 years ago

Same here. Absolute showstopper for our project. We upgraded everything to the new XR route, dumping all the legacy Oculus Utilities bloat... and now we cant use stereo videos?? The workaround mentioned above - can this still be implemented in the latest Unity 2019.3.14f1 Or do we need to install this shader now? Really hoping someone has an answer on this. Thanks for any insight

EazyAndy commented 4 years ago

Argh! Same issue. Do I need to create a custom shader based on the old skybox pano code you linked, or do you expect Unity to fix this at some point? Is there a way to trick the editor into thinking PlayerSettings.virtualRealitySupported = true? (Betting this won't be the only place that we run into this sort of thing.)

hey man, did you manage to get a workaround for this issue?

jrjones commented 4 years ago

I'll be looking at it next week, will share if I solve.

philjsullivan commented 4 years ago

Same here. Absolute showstopper for our project. We upgraded everything to the new XR route, dumping all the legacy Oculus Utilities bloat... and now we cant use stereo videos?? The workaround mentioned above - can this still be implemented in the latest Unity 2019.3.14f1 Or do we need to install this shader now? Really hoping someone has an answer on this. Thanks for any insight

The fix offered by Oneiros90 worked for me. Put the shader and the script in your project, and commend out line 48 in the script. Skybox/PanoramicBeta shader appears, and has the control you're after.

EazyAndy commented 4 years ago

Funnily enough, I just got back on this last night and figured it out. Had to comment out a couple of lines and all works. Strange that we have to add/edit an outdated beta shader from 3 years ago to get a new feature working... and unsure what implications there will be on Editor upgrade, but for now it works. Thanks for posting your response anyway, much appreciated.

trekimann commented 3 years ago

Hello, completely noob question. I'm just starting out in Unity and the core of the little project I want to do needs this functionality. Where do I change the cs gui file so that the checkbox is enabled? Thank you