Play solo crashes on PathfindingService usage

In our game we use PathfindingService for GPS navigation. On rare occasions, activating it will cause a studio crash. This happens both on Mac and Windows.

Here’s the block of code that runs before the crash occurs:

local path = PathfindingService:CreatePath({
	AgentRadius = 2,
	AgentHeight = 5,
	AgentCanJump = true,
	WaypointSpacing = 5,
	Costs = {
		Leather = 1,
		Brick = 2,
		Asphalt = 5,--math.huge
		Glass = 100
	}
})

path:ComputeAsync(humanoidRootPart.Position, destination.Position)

Studio will not crash after subsequent uses of pathfinding after this initial crash.

A private message is associated with this bug report

Hey I just encountered this again. Can this be looked into?

Hi Could you please give the place Id so we can look into our logs. Incase this is easily reproducible, you can send us the repro case. That will help us find out why this is happening for you place.

Sure thing! I’ve responded to the private message with the place link

We chatted in DMs about this bug and it ended up being a bug with Highlights. Has this since been fixed?

I can double check with the team but they were about the release the fix when i last checked. Are you still facing the issue?

I haven’t experienced it recently. Was just curious if it was resolved