Comments (10)
Which version of Unity did you build with?
from gvr-unity-sdk.
5.0.1f1 Personal
from gvr-unity-sdk.
Confirmed. Just got it to happen. Digging into the logcat...
Edit: This happened when I touched the screen after a couple of minutes. Same for you, or did the ANR just pop up on its own?
Here's what I see in logcat:
I/WindowManager( 891): Input event dispatching timed out sending to com.google.vr.anrtest/com.google.vrtoolkit.cardboard.plugins.unity.UnityCardboardActivity. Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 47. Wait queue head age: 15506.3ms.
Wait queue is 15 seconds deep!
First blush analysis is that this is caused by something in the custom Activity class that is used in the Cardboard SDK, which is how it hooks into the underlying Java SDK, or the problem is in the Java SDK itself. That, and something about the M8.
from gvr-unity-sdk.
Found the CPU usage message a bit further along:
E/ActivityManager( 891): ANR in com.google.vr.anrtest (com.google.vr.anrtest/com.google.vrtoolkit.cardboard.plugins.unity.UnityCardboardActivity), time=734614620
E/ActivityManager( 891): PID: 24417
E/ActivityManager( 891): Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 47. Wait queue head age: 15506.3ms.)
E/ActivityManager( 891): Load: 13.62 / 51.3 / 93.85
E/ActivityManager( 891): CPU usage from 10495ms to 63ms ago:
E/ActivityManager( 891): 110% 24417/com.google.vr.anrtest: 95% user + 14% kernel / faults: 50866 minor
E/ActivityManager( 891): 14% 456/mediaserver: 14% user + 0% kernel
E/ActivityManager( 891): 7.9% 366/surfaceflinger: 3.7% user + 4.2% kernel
That's quite a CPU load there.
from gvr-unity-sdk.
That is exactly what I am seeing (I actually think I had one with 147%)
from gvr-unity-sdk.
What Android version is on your Galaxy S5?
I found a similar looking bug report for Chrome on Lollipop here:
https://code.google.com/p/chromium/issues/detail?id=445138
Edit: The ANR does not happen on my Nexus 5, which is also Lollipop (5.1).
from gvr-unity-sdk.
The s5 is running android 5.0 (also Verizon version)
from gvr-unity-sdk.
Is the source for the custom activity publicly available so I could debug a little further myself?
from gvr-unity-sdk.
from gvr-unity-sdk.
Closing old issues.
from gvr-unity-sdk.
Related Issues (20)
- Not working for LWRP (only left eye rendered) HOT 4
- Building to iOS fails Unity 2019.3.0b + Google VR + Universal Render Pipeline
- Distortion Correction Toggling with Unity and Daydream
- Can it work for Gear VR? HOT 1
- ios 13 beta xcode11 without error log when running, but the splash screen pops out
- Detecting if a recenter event just happened appears to be broken HOT 1
- Still getting "GvrShimUnity: getControllerConnectionStatus device 0 api" even with [email protected] HOT 1
- HLS live 360 playback is distorted on Oculus Go HOT 2
- How to turn on deinterlace using OpenGL
- Mirage Solo instant preview "not connected to editor"
- Mirage Solo - Instant Preview "Not connected to editor"
- googleVR Scaling issue.
- GVR audio engine issue?
- Zoom in Cardbard
- Cardboard stereo view mask does not fit into a Xiaomi with display aspect ratio greater than 2.1
- Weird image glitch with Universal Rendering Pipeline HOT 6
- [Question] Is there a way to use the controller without displaying two eyes
- Arrow on iphone HOT 4
- Camera Viewport Rect
- Magic Window launches with offset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gvr-unity-sdk.