{"action":"closed","issue":{"url":"https://api.github.com/repos/photonstorm/phaser/issues/1644","labels_url":"https://api.github.com/repos/photonstorm/phaser/issues/1644/labels{/name}","comments_url":"https://api.github.com/repos/photonstorm/phaser/issues/1644/comments","events_url":"https://api.github.com/repos/photonstorm/phaser/issues/1644/events","html_url":"https://github.com/photonstorm/phaser/issues/1644","id":59243528,"number":1644,"title":"onBeginContact giving null on it's first parameter","user":{"login":"rmxhaha","id":1229889,"avatar_url":"https://avatars.githubusercontent.com/u/1229889?v=3","gravatar_id":"","url":"https://api.github.com/users/rmxhaha","html_url":"https://github.com/rmxhaha","followers_url":"https://api.github.com/users/rmxhaha/followers","following_url":"https://api.github.com/users/rmxhaha/following{/other_user}","gists_url":"https://api.github.com/users/rmxhaha/gists{/gist_id}","starred_url":"https://api.github.com/users/rmxhaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmxhaha/subscriptions","organizations_url":"https://api.github.com/users/rmxhaha/orgs","repos_url":"https://api.github.com/users/rmxhaha/repos","events_url":"https://api.github.com/users/rmxhaha/events{/privacy}","received_events_url":"https://api.github.com/users/rmxhaha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-27T14:35:54Z","updated_at":"2015-07-08T14:10:31Z","closed_at":"2015-07-08T14:10:31Z","body":"Though this might not be a bug I want at least documentation if it's not... \r\n\r\nWhen I tried to add collision group to my code, I stumble upon an error which shouldn't be there then I search then I found out that onBeginContact which should give a p2Body on it's first parameter suddenly gives null. If I add \r\n\r\nif( arguments[0] == null ) return;\r\n\r\ninside onBeginContact then the error disappear but now nothing is colliding with each other.\r\n\r\nI've asked this question ( http://www.html5gamedevs.com/topic/12649-phaser-p2js-onbegincontact-gives-null-body/ ) but no one is giving me an answer so I asked again here.\r\n"}}