{"action":"created","issue":{"url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/issues/838","repository_url":"https://api.github.com/repos/googlevr/gvr-unity-sdk","labels_url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/issues/838/labels{/name}","comments_url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/issues/838/comments","events_url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/issues/838/events","html_url":"https://github.com/googlevr/gvr-unity-sdk/issues/838","id":289373393,"node_id":"MDU6SXNzdWUyODkzNzMzOTM=","number":838,"title":"iOS stereo image incorrect due to wrong phone orientation before starting VR mode","user":{"login":"fredsa","id":1235362,"node_id":"MDQ6VXNlcjEyMzUzNjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1235362?v=4","gravatar_id":"","url":"https://api.github.com/users/fredsa","html_url":"https://github.com/fredsa","followers_url":"https://api.github.com/users/fredsa/followers","following_url":"https://api.github.com/users/fredsa/following{/other_user}","gists_url":"https://api.github.com/users/fredsa/gists{/gist_id}","starred_url":"https://api.github.com/users/fredsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredsa/subscriptions","organizations_url":"https://api.github.com/users/fredsa/orgs","repos_url":"https://api.github.com/users/fredsa/repos","events_url":"https://api.github.com/users/fredsa/events{/privacy}","received_events_url":"https://api.github.com/users/fredsa/received_events","type":"User","site_admin":false},"labels":[{"id":662324761,"node_id":"MDU6TGFiZWw2NjIzMjQ3NjE=","url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/labels/Unity%20bug","name":"Unity bug","color":"5319e7","default":false},{"id":155942141,"node_id":"MDU6TGFiZWwxNTU5NDIxNDE=","url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/labels/bug","name":"bug","color":"fc2929","default":true},{"id":726274373,"node_id":"MDU6TGFiZWw3MjYyNzQzNzM=","url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/labels/fixed%20in%20upcoming%20release","name":"fixed in upcoming release","color":"ace845","default":false},{"id":1092114549,"node_id":"MDU6TGFiZWwxMDkyMTE0NTQ5","url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/labels/iOS","name":"iOS","color":"fff086","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-01-17T18:50:03Z","updated_at":"2018-12-11T15:39:21Z","closed_at":null,"author_association":"MEMBER","body":"If the phone orientation is set to a portrait rotation when entering VR mode, the VR stereo image will not be rendered correctly.\r\n\r\n![image](https://user-images.githubusercontent.com/1235362/35060621-da2587ca-fb73-11e7-954f-86f9920015af.png)\r\n"},"comment":{"url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/issues/comments/446247243","html_url":"https://github.com/googlevr/gvr-unity-sdk/issues/838#issuecomment-446247243","issue_url":"https://api.github.com/repos/googlevr/gvr-unity-sdk/issues/838","id":446247243,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjI0NzI0Mw==","user":{"login":"atteneder","id":2593014,"node_id":"MDQ6VXNlcjI1OTMwMTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2593014?v=4","gravatar_id":"","url":"https://api.github.com/users/atteneder","html_url":"https://github.com/atteneder","followers_url":"https://api.github.com/users/atteneder/followers","following_url":"https://api.github.com/users/atteneder/following{/other_user}","gists_url":"https://api.github.com/users/atteneder/gists{/gist_id}","starred_url":"https://api.github.com/users/atteneder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atteneder/subscriptions","organizations_url":"https://api.github.com/users/atteneder/orgs","repos_url":"https://api.github.com/users/atteneder/repos","events_url":"https://api.github.com/users/atteneder/events{/privacy}","received_events_url":"https://api.github.com/users/atteneder/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T15:39:21Z","updated_at":"2018-12-11T15:39:21Z","author_association":"NONE","body":"It's not entirely fixed. If you repeatedly en-/disable VR (from portrait mode), the native overlay UI/buttons break.\r\nMy setup: Unity 2018.2.12f1 with bundled GVRSDK; after build I invoked `pod update`, so according to Podfile.lock I use GVRSDK 1.170.\r\nSteps:\r\n* Start Hybrid app with \"None\" XR device in 2D\r\n* In Portrait, start VR (XRDevice.enable=true)\r\n* Observation: VR opens just fine (back button, settings button and white line in the middle of screen are well placed)\r\n![1](https://user-images.githubusercontent.com/2593014/49811191-01e25580-fd63-11e8-942a-200852811a8c.PNG)\r\n* exit VR (via custom back button handler)\r\n* Rotate device back to Portrait\r\n* Enter VR again\r\n* Observation: settings button is gone; white moved to top middle of right eye field; back button is fine.\r\n![2](https://user-images.githubusercontent.com/2593014/49811229-16265280-fd63-11e8-8aeb-013ae51e1464.PNG)\r\n* exit VR\r\n* Rotate device back to Portrait\r\n* Enter VR again\r\n* Observation: settings button still gone; white line gone; back button visually correct, but has no more effect when pressed.\r\n![3plus](https://user-images.githubusercontent.com/2593014/49811238-1e7e8d80-fd63-11e8-8c1d-7b61674ade6d.PNG)\r\n* From now on it stays like this if you Exit/Reenter VR\r\n\r\nI'd be willing to provide the project, if necessary.\r\n\r\n"}}
{"actor":{"display_login":"atteneder"}}