Closed GoogleCodeExporter closed 8 years ago
I'm unable to repro this case even if I replicate the scenario as in the video.
Can you get call stack of the crash? Or if you place breakpoint to
NavMeshTesterTool::recalc(), and step through the code, can you get the
location of the crash?
Original comment by memono...@gmail.com
on 6 Jul 2012 at 8:13
Simply try to repeat this several times without closing demo, and it will
crash, at least at me it crashes too, just like in video.
Original comment by bma.is...@gmail.com
on 7 Jul 2012 at 7:23
Crash on m_navQuery->findPath()
I am trying to debug.
Original comment by execm...@gmail.com
on 7 Jul 2012 at 8:22
m_navQuery->findPath()
for (unsigned int i = bestPoly->firstLink; i != DT_NULL_LINK; i =
bestTile->links[i].next)
{
// Crash here!
dtPolyRef neighbourRef = bestTile->links[i].ref;
Original comment by execm...@gmail.com
on 7 Jul 2012 at 8:35
For crash start and end locations of OffMesh Connection must be in the same
tile!
Original comment by execm...@gmail.com
on 7 Jul 2012 at 12:17
I record new one video with annotations. :)
http://youtu.be/kG4BCmgmBdE
Watch in 1080p.
Hope this helps.
Original comment by execm...@gmail.com
on 7 Jul 2012 at 12:30
Hmm... do you rebuild the navmesh after you have added off-mesh connections?
Looks like you do not. Unless I rebuild the tiles, I will not get any off-mesh
connections. I'll see if that is causing the problem.
Original comment by memono...@gmail.com
on 7 Jul 2012 at 12:38
Yes. I rebuild navmesh after I added off-mesh connections.
Original comment by execm...@gmail.com
on 7 Jul 2012 at 12:41
In my video I am doing this:
Select Sample "Temp Obstacle". Select Input Mesh: "nav_test.obj". Click "Build".
Step 1: Select "Create Off-Mesh Links". Create link and click "Build".
Step 2: Select "Create Temp Obstacles". Create obstacles and click "Remove All".
Step 3: Select "Test Navmesh". Select "Pathfind Straight". Find Path. Crash!
Original comment by execm...@gmail.com
on 7 Jul 2012 at 12:50
May be it is important. I build (Release) RecastDemo in Visual Studio 2010
Ultimate. SDL version 1.2.14. Recast Navigation R345 (latest) - I don't change
any source code, just Build!
Original comment by execm...@gmail.com
on 7 Jul 2012 at 1:28
I replicated the exact steps from the video, and it does not crash for me. I'm
testing in OSX/xcode.
Does it crash for you in debug mode? That usually means that I have some
uninitialized variable somewhere.
--mikko
Original comment by memono...@gmail.com
on 7 Jul 2012 at 2:21
I got crash in Debug and Release builds.
Original comment by execm...@gmail.com
on 7 Jul 2012 at 3:01
I have idea, Mikko. Instead of Test Navmesh tool, try Crowds tool. Create agent
and send him over connection. No crash, but agent doesn't move, just stay and
does nothing for me.
Original comment by execm...@gmail.com
on 7 Jul 2012 at 5:31
Original comment by memono...@gmail.com
on 16 Sep 2013 at 7:09
Original issue reported on code.google.com by
execm...@gmail.com
on 6 Jul 2012 at 7:42