Deprecated List
Member AIBase.canSearch
This has been superseded by autoRepath.mode.
Member AIBase.centerOffset
Use the height property instead (2x this value)
Member AIBase.repathRate
This has been renamed to autoRepath.period.
Member AIBase.rotationIn2D
Use orientation instead
Member AIBase.target
In 4.1 this will automatically add a AIDestinationSetter component and set the target on that component. Try instead to use the destination property which does not require a transform to be created as the target or use the AIDestinationSetter component directly.
Member AILerp.canSearch
This has been superseded by autoRepath.mode.
Member AILerp.ForceSearchPath ()
Use SearchPath instead.
Member AILerp.OnTargetReached ()
Avoid overriding this method. Instead poll the reachedDestination or reachedEndOfPath properties.
Member AILerp.repathRate
This has been renamed to autoRepath.period.
Member AILerp.rotationIn2D
Use orientation instead
Member AILerp.target
In 4.0 this will automatically add a AIDestinationSetter component and set the target on that component. Try instead to use the destination property which does not require a transform to be created as the target or use the AIDestinationSetter component directly.
Member AIPath.OnTargetReached ()
Avoid overriding this method. Instead poll the reachedDestination or reachedEndOfPath properties.
Member AstarData.AddGraph (string type)
Member AstarData.CreateGraph (string type)
Member AstarData.data_cachedStartup
Deprecated since 3.6, AstarData.file_cachedStartup is now used instead
Member AstarData.GetGraphType (string type)
Member AstarData.GetRaycastableGraphs ()
Deprecated because it is not used by the package internally and the use cases are few. Iterate through the graphs array instead.
Member AstarPath.prioritizeGraphs
This setting has been removed. It was always a bit of a hack. Use NNConstraint.graphMask if you want to choose which graphs are searched.
Member AstarPath.prioritizeGraphsLimit
This setting has been removed. It was always a bit of a hack. Use NNConstraint.graphMask if you want to choose which graphs are searched.
Member AstarSerializer.SerializeNodes ()
Not used anymore
Member FollowerEntity.canSearch
This has been superseded by autoRepath.mode.
Member GraphCollision.rayDirection
Only the Both mode is supported now.
Member GraphNode.GetPortal (GraphNode other, List< Vector3 > left, List< Vector3 > right, bool backwards)
Use GetPortal(GraphNode, out Vector3, out Vector3) instead
Member GridGraph.CalculateConnections (GridNodeBase node)
This method is very slow since 4.3.80. Use RecalculateConnectionsInRegion instead to batch connection recalculations.
Member GridGraph.CalculateConnections (int x, int z)
This method is very slow since 4.3.80. Use RecalculateConnectionsInRegion instead to batch connection recalculations.
Member GridGraph.Linecast (Vector3 from, Vector3 to, GraphNode hint)
The hint parameter is deprecated
Member GridGraph.Linecast (Vector3 from, Vector3 to, GraphNode hint, out GraphHitInfo hit)
The hint parameter is deprecated
Member GridGraph.Linecast (Vector3 from, Vector3 to, GraphNode hint, out GraphHitInfo hit, List< GraphNode > trace)
The hint parameter is deprecated
Member GridGraph.maxClimb
This field has been renamed to maxStepHeight
Member GridGraph.penaltyAngle
Use the RuleAnglePenalty class instead
Member GridGraph.penaltyAngleFactor
Use the RuleAnglePenalty class instead
Member GridGraph.penaltyAnglePower
Use the RuleAnglePenalty class instead
Member GridGraph.penaltyPosition
Use the RuleElevationPenalty class instead
Member GridGraph.penaltyPositionFactor
Use the RuleElevationPenalty class instead
Member GridGraph.penaltyPositionOffset
Use the RuleElevationPenalty class instead
Member GridGraph.SnappedLinecast (Vector3 from, Vector3 to, GraphNode hint, out GraphHitInfo hit)
Use Linecast instead.
Member GridGraph.textureData
Use the RuleTexture class instead
Member GridGraphRules.Add (GridGraphRule.Pass pass, System.Action< Context > action)
Use AddJobSystemPass or AddMainThreadPass instead
Member GridNode.GetConnectionInternal (int dir)
Member IRaycastableGraph.Linecast (Vector3 start, Vector3 end, GraphNode hint)
Member IRaycastableGraph.Linecast (Vector3 start, Vector3 end, GraphNode hint, out GraphHitInfo hit)
Member IRaycastableGraph.Linecast (Vector3 start, Vector3 end, GraphNode hint, out GraphHitInfo hit, List< GraphNode > trace)
Member IWorkItemContext.QueueFloodFill ()
Avoid using. This will force a full recalculation of the connected components. In most cases the HierarchicalGraph class takes care of things automatically behind the scenes now. In pretty much all cases you should be able to remove the call to this function.
Member LevelGridNode.GetConnection (int i)
Use HasConnectionInDirection instead
Class MineBotAI
This script has been replaced by Pathfinding.Examples.MineBotAnimation. Any uses of this script in the Unity editor will be automatically replaced by one AIPath component and one MineBotAnimation component.
Member NavGraph.GetNearestForce (Vector3 position, NNConstraint constraint)
Use GetNearest instead
Member NavGraph.inverseMatrix
Use the transform field (only available on some graph types) instead
Member NavGraph.matrix
Use the transform field (only available on some graph types) instead
Member NavGraph.RelocateNodes (Matrix4x4 oldMatrix, Matrix4x4 newMatrix)
Use RelocateNodes(Matrix4x4) instead. To keep the same behavior you can call RelocateNodes(newMatrix * oldMatrix.inverse).
Member NavGraph.ScanInternal ()
You should use ScanInternal(bool) instead.
Member NavGraph.SetMatrix (Matrix4x4 m)
Use the transform field (only available on some graph types) instead
Member NavmeshBase.nearestSearchOnlyXZ
Set the appropriate fields on the NNConstraint instead.
Member NNConstraint.Default
Use NNConstraint.Walkable instead. It is equivalent, but the name is more descriptive.
Member NNConstraint.distanceXZ
Use distanceMetric = DistanceMetric.ClosestAsSeenFromAbove() instead
Member NNInfo.clampedPosition
This field has been renamed to position
Member Path.GetState ()
Use the Pathfinding.Path.PipelineState property instead
Member Path.Log (string msg)
Use FailWithError instead
Member Path.LogError (string msg)
Use FailWithError instead
Member Path.ReleaseSilent (System.Object o)
Use Release(o, true) instead
Member RecastMeshObj.area
Member RichAI.OnTargetReached ()
Avoid overriding this method. Instead poll the reachedDestination or reachedEndOfPath properties.
Member RVOController.enableRotation
Member RVOController.ForceSetVelocity (Vector3 velocity)
Set the velocity property instead
Member RVOController.mask
Member RVOController.maxSpeed
Member RVOController.rotationSpeed
Member RVOController.Teleport (Vector3 pos)
Use transform.position instead, the RVOController can now handle that without any issues.
Member RVOController.wallAvoidFalloff
This feature is currently disabled as it didn't work that well and was tricky to support after some changes to the RVO system. It may be enabled again in a future version.
Member RVOController.wallAvoidForce
This feature is currently disabled as it didn't work that well and was tricky to support after some changes to the RVO system. It may be enabled again in a future version.
Class RVONavmesh
This component is deprecated. Local avoidance colliders never worked particularly well and the performance was poor. Modify the graphs instead so that pathfinding takes obstacles into account.
Class RVOObstacle
This component is deprecated. Local avoidance colliders never worked particularly well and the performance was poor. Modify the graphs instead so that pathfinding takes obstacles into account.
Member RVOSimulator.doubleBuffering
Double buffering has been removed
Class RVOSquareObstacle
This component is deprecated. Local avoidance colliders never worked particularly well and the performance was poor. Modify the graphs instead so that pathfinding takes obstacles into account.
Member SimulatorBurst.AddAgent (Vector2 position, float elevationCoordinate)
Use AddAgent(Vector3) instead
Member SimulatorBurst.AddAgent (IAgent agent)
Use AddAgent(Vector3) instead
Member StartEndModifier.Interpolate
Use NodeConnection instead.
Member WorkItemProcessor.QueueFloodFill ()
This method no longer does anything.
Class XPath
Use an ABPath with the ABPath.endingCondition field instead.