{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/292","repository_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity","labels_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/292/comments","events_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/292/events","html_url":"https://github.com/Microsoft/HoloToolkit-Unity/issues/292","id":183686429,"number":292,"title":"Sharing sample -> User joins session but never joins room","user":{"login":"Holo-Krzysztof","id":22612985,"avatar_url":"https://avatars.githubusercontent.com/u/22612985?v=3","gravatar_id":"","url":"https://api.github.com/users/Holo-Krzysztof","html_url":"https://github.com/Holo-Krzysztof","followers_url":"https://api.github.com/users/Holo-Krzysztof/followers","following_url":"https://api.github.com/users/Holo-Krzysztof/following{/other_user}","gists_url":"https://api.github.com/users/Holo-Krzysztof/gists{/gist_id}","starred_url":"https://api.github.com/users/Holo-Krzysztof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Holo-Krzysztof/subscriptions","organizations_url":"https://api.github.com/users/Holo-Krzysztof/orgs","repos_url":"https://api.github.com/users/Holo-Krzysztof/repos","events_url":"https://api.github.com/users/Holo-Krzysztof/events{/privacy}","received_events_url":"https://api.github.com/users/Holo-Krzysztof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-18T13:29:04Z","updated_at":"2016-10-18T16:41:01Z","closed_at":null,"body":"I've noticed a strange bug which seems like a race condition: sometimes, when looking at the debug output of the Sharing sample you get a \"User joining session\" debug print but after that it seems to be stuck forever in the AnchorStore_Initialized state because the sharing service never gets marked as ready.\r\nThis happens because `SharingSessionTracker.SendJoinEvent()` is called before `ImportExportAnchorManager` gets to subscribe to this event.\r\n\r\nThe problem went away after moving `SharingSessionTracker.Instance.SessionJoined += Instance_SessionJoined;` from `SharingManagerConnected()` to `Start()` , so I'd propose that as a solution.\r\nCan anyone else reproduce this issue and give me some more insight?"},"comment":{"url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/comments/254566440","html_url":"https://github.com/Microsoft/HoloToolkit-Unity/issues/292#issuecomment-254566440","issue_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/292","id":254566440,"user":{"login":"NeerajW","id":13281538,"avatar_url":"https://avatars.githubusercontent.com/u/13281538?v=3","gravatar_id":"","url":"https://api.github.com/users/NeerajW","html_url":"https://github.com/NeerajW","followers_url":"https://api.github.com/users/NeerajW/followers","following_url":"https://api.github.com/users/NeerajW/following{/other_user}","gists_url":"https://api.github.com/users/NeerajW/gists{/gist_id}","starred_url":"https://api.github.com/users/NeerajW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeerajW/subscriptions","organizations_url":"https://api.github.com/users/NeerajW/orgs","repos_url":"https://api.github.com/users/NeerajW/repos","events_url":"https://api.github.com/users/NeerajW/events{/privacy}","received_events_url":"https://api.github.com/users/NeerajW/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T16:41:01Z","updated_at":"2016-10-18T16:41:01Z","body":"I can believe this. Were you in Debug mode? This was a relatively recent change by @alexdrenea inside SharingStage. Seems reasonable to move SharingSessionTracker.Instance.SessionJoined += Instance_SessionJoined; to Start().\r\n\r\n@alexdrenea any thoughts on this?\r\n\r\n\r\n"}}
{"actor":{"display_login":"NeerajW"}}