1113
September 5, 2019, 9:25am
1
https://www.babylonjs-playground.com/#SQ5UC1#47
this demo is jump from one playgound to another
https://www.babylonjs-playground.com/#SQ5UC1#49
this demo is jump from one playgound to my project
when i use htc vive and already in VR before,jump from my project to another,firefox browser will show loading screen for long time,i have to quit from VR to break this loading
Can you share console errors? Pinging @RaananW
RaananW
September 6, 2019, 10:11am
3
If I understand correctly, you are trying to move from one url to another, and you want to stay in VR when doing this. Is that correct?
I wonder if there is any browser related error shown. To me it seems like a design decision of the browser. Seems like a security risk - moving from one page to another without the user understanding that.
If I misunderstood, please let me know. I will try to reproduce this anyhow and get back to you
1113
September 6, 2019, 10:21am
4
/*This is not possible because it’s not allowed to execute this action without user input (as the console says).
You could use a info or start screen and when the user closes this screen, you can enter VR in the same moment. But the user has to click something.*/
I haven’t read your last sentence sorry. It is possible if you were already in VR before.
You have to grab the vrdisplayactivate event from your browser:
This ‘counts as’ a user click and you can enter VR when this event gets fire…
Yes,you get it,i get the way to keep vr mode from this question,but it’s unuseful.
1113
September 6, 2019, 10:48am
5
@Deltakosh @RaananW console nothing but i get the logcat from adblog.zip (20.4 KB)
Do you mind creating a bug issue on the repo so @RaananW can have a look?
1113
September 6, 2019, 6:35pm
7
your mean is i create the same topic as bugs category?
Hey @1113
I believe @Deltakosh is referring to creating a new issue here:
Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework. - BabylonJS/Babylon.js