{"action":"created","issue":{"url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/265","repository_url":"https://api.github.com/repos/recastnavigation/recastnavigation","labels_url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/265/comments","events_url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/265/events","html_url":"https://github.com/recastnavigation/recastnavigation/issues/265","id":215846635,"number":265,"title":"No NearestPolygon returned after some time","user":{"login":"TheNoobCompany","id":1161961,"avatar_url":"https://avatars0.githubusercontent.com/u/1161961?v=3","gravatar_id":"","url":"https://api.github.com/users/TheNoobCompany","html_url":"https://github.com/TheNoobCompany","followers_url":"https://api.github.com/users/TheNoobCompany/followers","following_url":"https://api.github.com/users/TheNoobCompany/following{/other_user}","gists_url":"https://api.github.com/users/TheNoobCompany/gists{/gist_id}","starred_url":"https://api.github.com/users/TheNoobCompany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheNoobCompany/subscriptions","organizations_url":"https://api.github.com/users/TheNoobCompany/orgs","repos_url":"https://api.github.com/users/TheNoobCompany/repos","events_url":"https://api.github.com/users/TheNoobCompany/events{/privacy}","received_events_url":"https://api.github.com/users/TheNoobCompany/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-21T19:06:12Z","updated_at":"2017-03-22T12:51:29Z","closed_at":null,"body":"Hello,\r\n\r\nI have an issue with `DetourStatus FindNearestPolygon(array<float>^ center, array<float>^ extents, QueryFilter^ filter, [Out] array<float>^% nearestPoint)`\r\n\r\nAfter some time, it'll return \"0\" for a certain position in my meshes, if I restart my  application, and check the exact same path, it'll be fine, so looks like the mesh is not the issue.\r\n\r\nAny idea what could somehow corrupt the _query instance over time ?\r\n\r\nI'll be having a work-arround => reinitialize the pathing system if I don't have a valid nearest polygon, but that issue is not really easy to reproduce unfortunatly so I don't know if it'll fix my problem."},"comment":{"url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/comments/288388642","html_url":"https://github.com/recastnavigation/recastnavigation/issues/265#issuecomment-288388642","issue_url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/265","id":288388642,"user":{"login":"hymerman","id":154886,"avatar_url":"https://avatars1.githubusercontent.com/u/154886?v=3","gravatar_id":"","url":"https://api.github.com/users/hymerman","html_url":"https://github.com/hymerman","followers_url":"https://api.github.com/users/hymerman/followers","following_url":"https://api.github.com/users/hymerman/following{/other_user}","gists_url":"https://api.github.com/users/hymerman/gists{/gist_id}","starred_url":"https://api.github.com/users/hymerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hymerman/subscriptions","organizations_url":"https://api.github.com/users/hymerman/orgs","repos_url":"https://api.github.com/users/hymerman/repos","events_url":"https://api.github.com/users/hymerman/events{/privacy}","received_events_url":"https://api.github.com/users/hymerman/received_events","type":"User","site_admin":false},"created_at":"2017-03-22T12:51:29Z","updated_at":"2017-03-22T12:51:29Z","body":"I guess given the `^`, `&` and `[Out]` that you're using a managed wrapper around Recast, right? If you're finding objects become corrupted, I'd suspect something in the wrapper. I haven't heard of any problems like this in the native library. When you say 'return 0' do you mean `nearestPoint` is the zero vector? What's the return code from the function - is it failing?"}}
{"actor":{"display_login":"hymerman"}}