{"action":"created","issue":{"url":"https://api.github.com/repos/googlesamples/cardboard-unity/issues/117","labels_url":"https://api.github.com/repos/googlesamples/cardboard-unity/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/googlesamples/cardboard-unity/issues/117/comments","events_url":"https://api.github.com/repos/googlesamples/cardboard-unity/issues/117/events","html_url":"https://github.com/googlesamples/cardboard-unity/issues/117","id":115282223,"number":117,"title":"Android Cardboard app crashes on tilt","user":{"login":"tework2015","id":15671240,"avatar_url":"https://avatars.githubusercontent.com/u/15671240?v=3","gravatar_id":"","url":"https://api.github.com/users/tework2015","html_url":"https://github.com/tework2015","followers_url":"https://api.github.com/users/tework2015/followers","following_url":"https://api.github.com/users/tework2015/following{/other_user}","gists_url":"https://api.github.com/users/tework2015/gists{/gist_id}","starred_url":"https://api.github.com/users/tework2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tework2015/subscriptions","organizations_url":"https://api.github.com/users/tework2015/orgs","repos_url":"https://api.github.com/users/tework2015/repos","events_url":"https://api.github.com/users/tework2015/events{/privacy}","received_events_url":"https://api.github.com/users/tework2015/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-05T13:19:19Z","updated_at":"2015-11-11T16:32:05Z","closed_at":null,"body":"See my stackoverflow post for details: http://stackoverflow.com/questions/33544158/cardboard-demo-crashes-on-android-on-tilt?noredirect=1#comment54869379_33544158\r\n\r\nIn short, I've made a new Cardboard project (in Unity 5.2.1f1) with some minimal changes and the app crashes when I tilt the phone. Not every time, but 90% of the time maybe."},"comment":{"url":"https://api.github.com/repos/googlesamples/cardboard-unity/issues/comments/155836382","html_url":"https://github.com/googlesamples/cardboard-unity/issues/117#issuecomment-155836382","issue_url":"https://api.github.com/repos/googlesamples/cardboard-unity/issues/117","id":155836382,"user":{"login":"smdol","id":10277940,"avatar_url":"https://avatars.githubusercontent.com/u/10277940?v=3","gravatar_id":"","url":"https://api.github.com/users/smdol","html_url":"https://github.com/smdol","followers_url":"https://api.github.com/users/smdol/followers","following_url":"https://api.github.com/users/smdol/following{/other_user}","gists_url":"https://api.github.com/users/smdol/gists{/gist_id}","starred_url":"https://api.github.com/users/smdol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smdol/subscriptions","organizations_url":"https://api.github.com/users/smdol/orgs","repos_url":"https://api.github.com/users/smdol/repos","events_url":"https://api.github.com/users/smdol/events{/privacy}","received_events_url":"https://api.github.com/users/smdol/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T16:32:05Z","updated_at":"2015-11-11T16:32:05Z","body":"Change the line\r\n\r\n    if (Cardboard.SDK.Tilted) ...\r\n\r\nTo\r\n\r\n   if (Cardboard.SDK.Tilted || Input.GetKeyUp(KeyCode.P)) ...\r\n\r\nNow play the first scene in the editor and hit the 'P' key to simulate a tilt.  (You can use some other KeyCode if you want...)\r\n\r\nI did that yesterday and saw that same warning message about singletons in the Unity console.  That's when I noticed the 2nd game object with its own Cardboard script that was in scene2.  \r\n\r\nTry this too, and see if you also still get that warning."}}