{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/pulls/2","id":35027594,"html_url":"https://github.com/neon-izm/OculusRiftDK2ExtendPreview/pull/2","diff_url":"https://github.com/neon-izm/OculusRiftDK2ExtendPreview/pull/2.diff","patch_url":"https://github.com/neon-izm/OculusRiftDK2ExtendPreview/pull/2.patch","issue_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/issues/2","number":2,"state":"open","locked":false,"title":"暫定OS X対応、エディタ環境による動作切り分け、エラーメッセージ対処","user":{"login":"hammmm","id":618401,"avatar_url":"https://avatars.githubusercontent.com/u/618401?v=3","gravatar_id":"","url":"https://api.github.com/users/hammmm","html_url":"https://github.com/hammmm","followers_url":"https://api.github.com/users/hammmm/followers","following_url":"https://api.github.com/users/hammmm/following{/other_user}","gists_url":"https://api.github.com/users/hammmm/gists{/gist_id}","starred_url":"https://api.github.com/users/hammmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammmm/subscriptions","organizations_url":"https://api.github.com/users/hammmm/orgs","repos_url":"https://api.github.com/users/hammmm/repos","events_url":"https://api.github.com/users/hammmm/events{/privacy}","received_events_url":"https://api.github.com/users/hammmm/received_events","type":"User","site_admin":false},"body":"Macで動かなくなっていたので調整してみましたがいかがでしょう。\r\nWinでの動作は影響ないようにしたつもりですが未確認ですすみませんm(__)m\r\n\r\n・Mac OS X でそれなりに動くようにしました。\r\n・ビルドターゲットによる環境切り分けになっていたので、エディタの実行環境による切り分けに変更しました。\r\n・GameViewがDockされている場合？にCloseGameWindow()を実行すると以下のようなエラーが山のように出るので、開始時のCloseGameWindow()をしないようにしました。\r\n```\r\nNullReferenceException: Object reference not set to an instance of an object\r\nUnityEditor.EditorWindow.SetInternalGameViewRect (Rect rect) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorWindow.gen.cs:708)\r\nUnityEditor.GameView.GameViewAspectWasChanged () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GameView/GameView.cs:136)\r\nUnityEditor.GameView.DoDelayedGameViewChanged () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GameView/GameView.cs:168)\r\nUnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorApplication.gen.cs:268)\r\n```","created_at":"2015-05-08T17:11:00Z","updated_at":"2015-05-08T17:11:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/pulls/2/commits","review_comments_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/pulls/2/comments","review_comment_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/issues/2/comments","statuses_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/statuses/6906337e9f3c8845864845a862637789858a437a","head":{"label":"hammmm:master","ref":"master","sha":"6906337e9f3c8845864845a862637789858a437a","user":{"login":"hammmm","id":618401,"avatar_url":"https://avatars.githubusercontent.com/u/618401?v=3","gravatar_id":"","url":"https://api.github.com/users/hammmm","html_url":"https://github.com/hammmm","followers_url":"https://api.github.com/users/hammmm/followers","following_url":"https://api.github.com/users/hammmm/following{/other_user}","gists_url":"https://api.github.com/users/hammmm/gists{/gist_id}","starred_url":"https://api.github.com/users/hammmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammmm/subscriptions","organizations_url":"https://api.github.com/users/hammmm/orgs","repos_url":"https://api.github.com/users/hammmm/repos","events_url":"https://api.github.com/users/hammmm/events{/privacy}","received_events_url":"https://api.github.com/users/hammmm/received_events","type":"User","site_admin":false},"repo":{"id":35291073,"name":"OculusRiftDK2ExtendPreview","full_name":"hammmm/OculusRiftDK2ExtendPreview","owner":{"login":"hammmm","id":618401,"avatar_url":"https://avatars.githubusercontent.com/u/618401?v=3","gravatar_id":"","url":"https://api.github.com/users/hammmm","html_url":"https://github.com/hammmm","followers_url":"https://api.github.com/users/hammmm/followers","following_url":"https://api.github.com/users/hammmm/following{/other_user}","gists_url":"https://api.github.com/users/hammmm/gists{/gist_id}","starred_url":"https://api.github.com/users/hammmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammmm/subscriptions","organizations_url":"https://api.github.com/users/hammmm/orgs","repos_url":"https://api.github.com/users/hammmm/repos","events_url":"https://api.github.com/users/hammmm/events{/privacy}","received_events_url":"https://api.github.com/users/hammmm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hammmm/OculusRiftDK2ExtendPreview","description":"OculusRift DK2 Unity Editor PreviewScript","fork":true,"url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview","forks_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/forks","keys_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/teams","hooks_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/hooks","issue_events_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/issues/events{/number}","events_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/events","assignees_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/assignees{/user}","branches_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/branches{/branch}","tags_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/tags","blobs_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/statuses/{sha}","languages_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/languages","stargazers_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/stargazers","contributors_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/contributors","subscribers_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/subscribers","subscription_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/subscription","commits_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/contents/{+path}","compare_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/merges","archive_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/downloads","issues_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/issues{/number}","pulls_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/pulls{/number}","milestones_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/milestones{/number}","notifications_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/labels{/name}","releases_url":"https://api.github.com/repos/hammmm/OculusRiftDK2ExtendPreview/releases{/id}","created_at":"2015-05-08T16:56:32Z","updated_at":"2015-05-08T17:03:15Z","pushed_at":"2015-05-08T17:03:15Z","git_url":"git://github.com/hammmm/OculusRiftDK2ExtendPreview.git","ssh_url":"git@github.com:hammmm/OculusRiftDK2ExtendPreview.git","clone_url":"https://github.com/hammmm/OculusRiftDK2ExtendPreview.git","svn_url":"https://github.com/hammmm/OculusRiftDK2ExtendPreview","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"neon-izm:master","ref":"master","sha":"c11e286298d162127980c15ff7ff89de0e889bbd","user":{"login":"neon-izm","id":3115650,"avatar_url":"https://avatars.githubusercontent.com/u/3115650?v=3","gravatar_id":"","url":"https://api.github.com/users/neon-izm","html_url":"https://github.com/neon-izm","followers_url":"https://api.github.com/users/neon-izm/followers","following_url":"https://api.github.com/users/neon-izm/following{/other_user}","gists_url":"https://api.github.com/users/neon-izm/gists{/gist_id}","starred_url":"https://api.github.com/users/neon-izm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neon-izm/subscriptions","organizations_url":"https://api.github.com/users/neon-izm/orgs","repos_url":"https://api.github.com/users/neon-izm/repos","events_url":"https://api.github.com/users/neon-izm/events{/privacy}","received_events_url":"https://api.github.com/users/neon-izm/received_events","type":"User","site_admin":false},"repo":{"id":28740418,"name":"OculusRiftDK2ExtendPreview","full_name":"neon-izm/OculusRiftDK2ExtendPreview","owner":{"login":"neon-izm","id":3115650,"avatar_url":"https://avatars.githubusercontent.com/u/3115650?v=3","gravatar_id":"","url":"https://api.github.com/users/neon-izm","html_url":"https://github.com/neon-izm","followers_url":"https://api.github.com/users/neon-izm/followers","following_url":"https://api.github.com/users/neon-izm/following{/other_user}","gists_url":"https://api.github.com/users/neon-izm/gists{/gist_id}","starred_url":"https://api.github.com/users/neon-izm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neon-izm/subscriptions","organizations_url":"https://api.github.com/users/neon-izm/orgs","repos_url":"https://api.github.com/users/neon-izm/repos","events_url":"https://api.github.com/users/neon-izm/events{/privacy}","received_events_url":"https://api.github.com/users/neon-izm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neon-izm/OculusRiftDK2ExtendPreview","description":"OculusRift DK2 Unity Editor PreviewScript","fork":false,"url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview","forks_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/forks","keys_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/teams","hooks_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/hooks","issue_events_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/issues/events{/number}","events_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/events","assignees_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/assignees{/user}","branches_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/branches{/branch}","tags_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/tags","blobs_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/git/refs{/sha}","trees_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/statuses/{sha}","languages_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/languages","stargazers_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/stargazers","contributors_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/contributors","subscribers_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/subscribers","subscription_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/subscription","commits_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/commits{/sha}","git_commits_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/git/commits{/sha}","comments_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/comments{/number}","issue_comment_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/issues/comments{/number}","contents_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/contents/{+path}","compare_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/merges","archive_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/downloads","issues_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/issues{/number}","pulls_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/pulls{/number}","milestones_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/milestones{/number}","notifications_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/labels{/name}","releases_url":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/releases{/id}","created_at":"2015-01-03T10:00:37Z","updated_at":"2015-05-03T14:28:26Z","pushed_at":"2015-05-03T14:28:26Z","git_url":"git://github.com/neon-izm/OculusRiftDK2ExtendPreview.git","ssh_url":"git@github.com:neon-izm/OculusRiftDK2ExtendPreview.git","clone_url":"https://github.com/neon-izm/OculusRiftDK2ExtendPreview.git","svn_url":"https://github.com/neon-izm/OculusRiftDK2ExtendPreview","homepage":null,"size":148,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/pulls/2"},"html":{"href":"https://github.com/neon-izm/OculusRiftDK2ExtendPreview/pull/2"},"issue":{"href":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/issues/2"},"comments":{"href":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/neon-izm/OculusRiftDK2ExtendPreview/statuses/6906337e9f3c8845864845a862637789858a437a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":28,"deletions":15,"changed_files":1}}