ReactVision / viro

ViroReact: The AR and VR library for React Native 📳💙💛🤍💚
MIT License
1.4k stars 164 forks source link

GVR only showing Viro360Image on left eye #62

Open robertjcolley opened 2 years ago

robertjcolley commented 2 years ago

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. Device OS & Version: Android 10
  3. Version: "@viro-community/react-viro": "^2.21.1", "react-native": "0.66.2",
  4. Device(s): Pixel XL

Description

I'm only seeing the image on one side of the screen. There is a small blue sparkle which I couldn't make out for the right eye. Zooming in with a screenshot didn't help either.

Screenshot_20211124-145920

grid.jpeg

Reproducible Demo

export default function Screen() {
  return (
    <ViroVRSceneNavigator
      initialScene={{
        scene: MyStartScene,
      }}
    />
  );
}

export const MyStartScene = () => {
  return (
    <ViroScene>
      <Viro360Image source={require('../../../../assets/images/grid.jpeg')} />
    </ViroScene>
  );
};
robertjcolley commented 2 years ago

I did see something about stereoMode having issues with items other than 'None' - is it possible that the steroMode is not being set down through react --> android?

https://forum.unity.com/threads/google-vr-unity-2019-2-1-lwrp-only-showing-left-eye-right-eye-blank.735389/

robertjcolley commented 2 years ago

Reproduced here