Page MenuHomeFeedback Tracker

Exp 1.08 SampleNavmeshPosition crash server
Assigned, UrgentPublic

Description

The function stopped working in the experimental branch SampleNavmeshPosition.
If you write zero to the PGFilter, the server will start, but when you try to call this function, the server crashes.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

VasliyP created this task.Jun 18 2020, 8:23 AM
komer added a subscriber: komer.Jun 18 2020, 10:53 AM

why do you write zero? if you need to use so
AIWorld world = GetGame().GetWorld().GetAIWorld();

					if(world)
					{
					PGFilter m_pgFilter = new PGFilter();	
					world.SampleNavmeshPosition(pos,0.5,m_pgFilter,pos)
					}

and don't forget about SetCost and SetFlags

Geez changed the task status from New to Assigned.Jun 18 2020, 11:30 AM