-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FixupCorridor IndexOutOfRangeException #60
Comments
I sent snb to [email protected] |
I'll take a look at this right now. Also on a side note, |
Ok. I also emailed you a demo project. So any news? |
Not yet, been a really busy few weeks, I'm about a week away from being done with my last semester in college, lots of final projects and assignments coming to a head. #61 should have been fixed pending you testing it. When I get a chance I'll move this into NavMeshQuery and update it to use the new |
Ok, then I'll wait a week before testing #61 in case you have anything on this more frequent issue (I need to merge-rebuild-deploy things on our side to test the changes). |
I updated the code to your latest version and it now throws ArgumentOutOfRangeException ( Index was out of range. Must be non-negative and less than the size of the collection.) in
Positions on snb that I emailed you before: From = (X:2.041 Y:3.622 Z:-7.757) X is inverted here. In your code it should be X:-2.041 and X:-6.029624. Here is a screenshot of variables in Locals (but for other random input points): http://screencast.com/t/xnyCCq4Gb |
I understand most of the problem but can't reproduce since the JSON file format has changed since you last emailed me the mesh. Could you regenerate the mesh and email it to me again? I'm going to move this function into the Path class and make it use List operations instead of the directly ported array/buffer stuff. It may work with the changes I'm making before I even get to reproduce the exception on your map. |
Removed need for reflection in snj serialization
@Robmaister, Ok, I'm going to check it now and email you a new repro if still applicable. |
Fixed! |
Great, the solution is less performant than the original, so having a reproducible example will still help in that regard |
@Robmaister, ok, I've sent you the repro. |
I copied your pathfinding code from the example app and sometimes it throws
IndexOutOfRangeException: Index was outside the bounds of the array
in FixupCorridor. I don't have a specific line, unfortunately. I will email you an snb and coordinates.Here is the method:
Related to #52
The text was updated successfully, but these errors were encountered: