Viro: ViroSceneNavigator: vrModeEnabled not switch to pre-VR (mono) mode (React Native)

Created on 21 Nov 2017  路  10Comments  路  Source: viromedia/viro

I set vrModeEnabled={this.state.vrMode} and i use Viro360Video in VR Sence. Default vrMode = false, when i click change mode to setState vrMode = true => full VR mode (working). After i click change mod to setState vrMode = false ( back to mono mode but not woking). VR is always flicker, i don't know why.
I doing something wrong? Or this is issue?
Can you help me fix this!?
Thanks

Most helpful comment

Hi all,

Thanks for reporting this issue, it has now been fixed in our React Viro v2.2.0 release:

https://docs.viromedia.com/docs/releases

Let us know if you have any other issues!

All 10 comments

Hi @minhchienwikipedia,

What device are you seeing this on? A specific model would help.

It does look like we have an issue with Android devices currently, but I'm not seeing the flickering. I am seeing that the screen goes to non-VR (360) mode but renders only black.

Thanks,

Andy

I seeing this on Android S7.

Hi @minhchienwikipedia,

Thanks for the update. It looks like it's a bug with our platform.

I've filed the bug and when we release a fix, we'll be sure to update this issue.

Thanks,

Andy

I has test on iOS, when i switch pre-VR (mono) mode to full VR mode but it's not working, i see VR 360 mode, but i have black screen, video not run. But if i set vrModeEnabled default = true, it's work.
I think Viro not yet support switch mode! I hope this issue can be fix early.
Thanks

I have the same problem while switching mono to vr mode.

code sample:

<View style={{ flex: 1 }}>
        <Text>Welcome to VR</Text>
        <ViroSceneNavigator
          apiKey="API_KEY"
          vrModeEnabled={this.state.vrModeEnabled}
          initialScene={{
            scene: () => (
              <ViroScene
                onClick={() =>
                  this.setState(prev => ({
                    vrModeEnabled: !prev.vrModeEnabled
                  }))
                }
                onRotate={(rotateState, rotationFactor, source) => {
                  console.log('onRotate', rotateState, rotationFactor, source);
                }}
              >
                <Viro360Video source={require('./360.mp4')} />
              </ViroScene>
            )
          }}
          onExitViro={this._exitViro}
        />
      </View>

The Navigator switched to vr mode, sound of video continuously run with black screen (Cannot see video content).

Thanks @anhtuank7c and @minhchienwikipedia, we have identified the root cause of the issue and am currently working on a fix. This thread will be updated once the fix is deployed into release.

Hi all,

Thanks for reporting this issue, it has now been fixed in our React Viro v2.2.0 release:

https://docs.viromedia.com/docs/releases

Let us know if you have any other issues!

Closing this issue as problem has been fixed.

Hello @dam00n , @dthian

I still get this issue with "react-viro": "2.14.0" in android app.
Exactly it is "The Navigator switched to vr mode, sound of video continuously run with black screen (Cannot see video content)."

Do you know what causes the regression and how we can solve this?

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

starantino picture starantino  路  6Comments

yabeow picture yabeow  路  4Comments

u-can-miracle picture u-can-miracle  路  3Comments

WillGeller picture WillGeller  路  3Comments

parideis picture parideis  路  4Comments