daydream

Proper way to start and stop DayDream service from activity

寵の児 提交于 2021-02-08 08:55:23
问题 I am developing an application which should display a daydream in special circumstances, I searched everywhere to find a proper way to start my daydream service through my MainActivity class with no luck, Currently i am using following code to start daydream and actually it works, but i need a better solution which provides me a way to stop the daydream. public void startDayDream(){ final Intent intent = new Intent(Intent.ACTION_MAIN); try { // Somnabulator is undocumented--may be removed in

Error: “To use the controller, please upgrade to a version of Unity with the GVR native integration”

女生的网名这么多〃 提交于 2019-12-13 23:18:06
问题 I followed these instructions but instead of the Technical Preview I installed 5.6 beta. I have Pixel XL and so connected my Daydream controller instead of a phone with emulator. When I get into the Editor and load up the demo scene, and run it, I get this message: To use the controller, please upgrade to a version of Unity with the GVR native integration I am not entirely sure what this means, I've searched around a bit and on these forums, and have found no joy. 回答1: Install the latest

Google Daydream Keyboard Unity UI TextInput?

坚强是说给别人听的谎言 提交于 2019-12-13 07:10:15
问题 I am attempting to create an input field in a google daydream app using the latest Google VR SDK for Unity and Unity 5.4.2. I am wondering if someone may have insight into integrating the Daydream Keyboard. I can place a canvas and input field but when I run the application on the Pixel and Daydream View, and select the inputfield the standard android keyboard renders. I am not sure if the Daydream Keyboard needs to be integrated separately in unity. The Daydream keyboard is installed and is

OpenGL error with Unity on Android

↘锁芯ラ 提交于 2019-12-13 03:39:29
问题 I am on a Unity 5.6.5f1 project targeting Android 6.0. The project is VR enabled with Daydream without the gvr sdk since I do not need any interaction. I noticed that most of the time, when I launch the application, I get the stereo view but everything is black, I do not even see the splash screen and in logcat I get the following error: 'E/Unity: OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is not complete or incompatible with command' However, 30% of the time,

Google Daydream Thread with Unity

﹥>﹥吖頭↗ 提交于 2019-12-11 14:18:54
问题 I'm attempting to use threads in my Unity project which is being deployed on an Android phone for use with the Google Daydream VR system. I'm having an issue where the thread isn't dying as I would expect it to. I'm creating a thread like that seen below, and assigning it a function to run while 'alive'. When a specific action occurs (in my case, a UDP network goes down), the thread should stop performing and die. However, the thread stops performing its function but isn't dying. Thread

Daydream Non-VR Mode in Unity 5.4.2f-GVR13 [duplicate]

柔情痞子 提交于 2019-12-10 22:15:21
问题 This question already has an answer here : Enable/Disable VR from code (1 answer) Closed 2 years ago . last week I tried to integrate my Unity project to Daydream, the integration went fine. Now I am trying to seperate the first scenes (which include login process so I need the android soft-keyboard) from the rest of the application - I want the application to open like any android-non-vr application and to switch to VR mode only after the first two scenes. I read in some answer by Unity

Unity ui mask not working on google pixel device

有些话、适合烂在心里 提交于 2019-12-01 06:23:39
I am making a scrolling ui panel and apply mask to ScrollRect component, which should hides parts outside panel area. I am using unity version 5.4.2f2-GVR. Mask work correctly on pc when i deploy it on google pixel device its not working. Is this bug of unity version or something else.... I got around this issue by using RectMask2D Component instead of the regular Mask . If somebody else got this problem and Bahman_Aries solution is not enough, try this: File > Build Settings > Player Settings>XR Settings (or Other settings if you are working in older versions of unity) > Daydream (click on

Unity ui mask not working on google pixel device

余生长醉 提交于 2019-12-01 03:00:15
问题 I am making a scrolling ui panel and apply mask to ScrollRect component, which should hides parts outside panel area. I am using unity version 5.4.2f2-GVR. Mask work correctly on pc when i deploy it on google pixel device its not working. Is this bug of unity version or something else.... 回答1: I got around this issue by using RectMask2D Component instead of the regular Mask . 回答2: If somebody else got this problem and Bahman_Aries solution is not enough, try this: File > Build Settings >

Use Daydream Controller on HoloLens or outside Daydream?

亡梦爱人 提交于 2019-11-27 14:09:43
问题 The daydream controller is awesome and we want to be able to use it in my AR app. It pairs via bluetooth to the HoloLens just fine, but not sure if I can view it in Unity. Both HoloLens and daydream require their own Unity technical previews. The gvr Controller code is online but seems to speak directly to GVR C api. Any thoughts on if accessing daydream controller in Unity outside the daydream tech preview is even possible? 回答1: It is very possible to access the daydream controller without