Deprecated List
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 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.interval.
Member AIBase.rotationIn2D
Use orientation instead
Member AILerp.canSearch
This has been superseded by autoRepath.mode.
Member AILerp.ForceSearchPath ()
Use SearchPath instead.
Member AILerp.repathRate
This has been renamed to autoRepath.interval.
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.CalculateVelocity (Vector3 position)
This method no longer calculates the velocity. Use the desiredVelocity property instead.
Member AIPath.speed
Use maxSpeed instead
Member AIPath.targetDirection
Only exists for compatibility reasons. Use desiredVelocity or steeringTarget instead instead.
Member AIPath.TargetReached
When unifying the interfaces for different movement scripts, this property has been renamed to reachedEndOfPath
Member AIPath.turningSpeed
This field has been renamed to rotationSpeed and is now in degrees per second instead of a damping factor.
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.astarData
The 'astarData' field has been renamed to 'data'
Member AstarPath.BlockUntilPathQueueBlocked ()
Use PausePathfinding instead. Make sure to call Release on the returned lock.
Member AstarPath.EnsureValidFloodFill ()
This method has been moved. Use the method on the context object that can be sent with work item delegates instead
Member AstarPath.FloodFill (GraphNode seed, uint area)
Not meaningful anymore. The HierarchicalGraph takes care of things automatically behind the scenes
Member AstarPath.FloodFill ()
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.
Member AstarPath.FloodFill (GraphNode seed)
Not meaningful anymore. The HierarchicalGraph takes care of things automatically behind the scenes
Member AstarPath.FlushThreadSafeCallbacks ()
Use FlushWorkItems instead
Member AstarPath.FlushWorkItems (bool unblockOnComplete, bool block)
Use FlushWorkItems() instead.
Member AstarPath.graphTypes
Member AstarPath.IsAnyGraphUpdatesQueued
Use IsAnyGraphUpdateQueued instead
Member AstarPath.limitGraphUpdates
This field has been renamed to batchGraphUpdates.
Member AstarPath.maxGraphUpdateFreq
This field has been renamed to graphUpdateBatchingInterval.
Member AstarPath.OnGraphsWillBeUpdated
Member AstarPath.OnGraphsWillBeUpdated2
Member AstarPath.QueueWorkItemFloodFill ()
This method has been moved. Use the method on the context object that can be sent with work item delegates instead
Member AstarPath.RegisterSafeUpdate (System.Action callback)
Use AddWorkItem(System.Action) instead. Note the slight change in behavior (mentioned above).
Member AstarPath.WaitForPath (Path path)
This method has been renamed to BlockUntilCalculated.
Member AstarSerializer.SerializeNodes ()
Not used anymore
Member GraphCollision.rayDirection
Only the Both mode is supported now.
Member GraphNode.RecalculateConnectionCosts ()
This method is deprecated because it never did anything, you can safely remove any calls to this method.
Member GraphUpdateObject.requiresFloodFill
Not necessary anymore
Member GraphUpdateScene.LockToY ()
The Y coordinate is no longer important. Use the position of the object instead.
Member GraphUpdateScene.ToggleUseWorldSpace ()
World space can no longer be used as it does not work well with rotated graphs. Use transform.InverseTransformPoint to transform points to local space.
Member GridGraph.CalculateConnections (int x, int z, GridNode node)
Use CalculateConnections(x,z) or CalculateConnections(node) instead
Member GridGraph.CalculateConnections (GridNode node)
Use the instance function instead
Member GridGraph.GenerateMatrix ()
This method has been renamed to UpdateTransform
Member GridGraph.GetNodeConnection (int index, int x, int z, int dir)
Member GridGraph.GetNodeConnection (GridNode node, int dir)
Member GridGraph.GetNodesInArea (Bounds bounds, GraphUpdateShape shape)
This method has been renamed to GetNodesInRegion
Member GridGraph.GetNodesInArea (GraphUpdateShape shape)
This method has been renamed to GetNodesInRegion
Member GridGraph.GetNodesInArea (Bounds bounds)
This method has been renamed to GetNodesInRegion
Member GridGraph.HasNodeConnection (int index, int x, int z, int dir)
Member GridGraph.HasNodeConnection (GridNode node, int dir)
Member GridGraph.Linecast (Vector3 from, Vector3 to, GraphNode hint, out GraphHitInfo hit, List< GraphNode > trace)
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)
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.SetNodeConnection (GridNode node, int dir, bool value)
Member GridGraph.SetNodeConnection (int index, int x, int z, int dir, bool value)
Member GridGraph.SnappedLinecast (Vector3 from, Vector3 to, GraphNode hint, out GraphHitInfo hit)
Use Linecast instead.
Member GridGraph.textureData
Use the RuleTexture class instead
Member GridGraph.UpdateNodePositionCollision (GridNode node, int x, int z, bool resetPenalty=true)
Use RecalculateCell instead which works both for grid graphs and layered grid graphs.
Member GridGraph.UpdateSizeFromWidthDepth ()
Use SetDimensions instead
Member GridGraphRules.Add (GridGraphRule.Pass pass, System.Action< Context > action)
Use AddJobSystemPass or AddMainThreadPass instead
Member GridNode.GetConnectionInternal (int dir)
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 LayerGridGraph.CalculateConnections (int x, int z, int layerIndex, LevelGridNode node)
Use CalculateConnections(x,z,layerIndex) or CalculateConnections(node) instead
Member LayerGridGraph.CheckConnection (LevelGridNode node, int dir)
Use node.HasConnectionInDirection instead
Class LegacyAIPath
Use the AIPath class instead. This class only exists for compatibility reasons.
Class LegacyRichAI
Use the RichAI class instead. This class only exists for compatibility reasons.
Class LegacyRVOController
Use the RVOController class instead. This class only exists for compatibility reasons.
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.DeserializeSettingsCompatibility (GraphSerializationContext ctx)
This is deprecated now, but the deserialization code is kept to avoid loosing data when upgrading from older versions.
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.ScanGraph ()
Use AstarPath.Scan() instead
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 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.recycled
Has been renamed to 'pooled' to use more widely underestood terminology
Member Path.ReleaseSilent (System.Object o)
Use Release(o, true) instead
Member Pathfinding.OnScanStatus (Progress progress)
Member RecastGraph.ClosestPointOnNode (TriangleMeshNode node, Vector3 pos)
Use Pathfinding.TriangleMeshNode.ClosestPointOnNode instead
Member RecastGraph.ContainsPoint (TriangleMeshNode node, Vector3 pos)
Use Pathfinding.TriangleMeshNode.ContainsPoint instead
Member RecastGraph.forcedBounds
Obsolete since this is not accurate when the graph is rotated (rotation was not supported when this property was created)
Member RecastMeshObj.area
Member RichAI.anim
Use the onTraverseOffMeshLink event or the ... component instead. Setting this value will add a ... component
Member RichAI.ApproachingPartEndpoint
Use approachingPartEndpoint (lowercase 'a') instead
Member RichAI.ApproachingPathEndpoint
Use approachingPathEndpoint (lowercase 'a') instead
Member RichAI.DistanceToNextWaypoint
Use Vector3.Distance(transform.position, ai.steeringTarget) instead.
Member RichAI.NextWaypoint
Use steeringTarget instead.
Member RichAI.PathPending
Use pathPending instead (lowercase 'p').
Member RichAI.TargetPoint
This property has been renamed to steeringTarget
Member RichAI.TargetReached
When unifying the interfaces for different movement scripts, this property has been renamed to reachedEndOfPath
Member RichAI.TraversingSpecial
This property has been renamed to 'traversingOffMeshLink'
Member RichAI.UpdatePath ()
Use SearchPath instead
Member RichAI.Velocity
Use velocity instead (lowercase 'v').
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.
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 Seeker.GetNewPath (Vector3 start, Vector3 end)
Use ABPath.Construct(start, end, null) instead.
Member Seeker.StartMultiTargetPath (MultiTargetPath p, OnPathDelegate callback=null, int graphMask=-1)
You can use StartPath instead of this method now. It will behave identically.
Member SimulatorBurst.AddAgent (Vector2 position, float elevationCoordinate)
Use AddAgent(Vector3) instead
Member StartEndModifier.Interpolate
Use NodeConnection instead.
Class TileHandlerHelper
Use AstarPath.navmeshUpdates instead
Member WorkItemProcessor.QueueFloodFill ()
This method no longer does anything.