Unity 6.6 warnings

Hello,

After updating to Unity 6.6, I’m seeing several warnings that weren’t present before. Do you have an estimate for when an update compatible with the latest Unity version will be available?

Thank you.

Packages\com.arongranberg.astar\Core\Geometry\Triangulation\Triangulator.cs(263,34): warning CS0618: 'UnsafeUtility.ReleaseGCObject(ulong)' is obsolete: 'Use GCHandle.Free instead.'

Packages\com.arongranberg.astar\Core\Geometry\Triangulation\Triangulator.cs(371,14): warning CS0618: ‘UnsafeUtility.PinGCArrayAndGetDataAddress(Array, out ulong)’ is obsolete: ‘Use GCHandle.Alloc with GCHandle.AddrOfPinnedObject instead.’

Packages\com.arongranberg.astar\Drawing\DrawingManager.cs(148,22): warning UAC1001: Field ‘gizmos’ type ‘Pathfinding.Drawing.DrawingData’ is skipped by serialization (missing the [Serializable] attribute). Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Core\Misc\UnityCompatibility.cs(8,39): warning CS0618: ‘FindObjectsSortMode’ is obsolete: ‘FindObjectsSortMode has been deprecated. Use the FindObjectsByType overloads that do not take a FindObjectsSortMode parameter.’

Packages\com.arongranberg.astar\Core\Misc\UnityCompatibility.cs(8,11): warning CS0618: ‘Object.FindObjectsByType(FindObjectsSortMode)’ is obsolete: ‘FindObjectsByType with FindObjectsSortMode parameter has been deprecated. Use FindObjectsByType() or FindObjectsByType(FindObjectsInactive) instead. InstanceID will be replaced in the future with EntityId and previous sort order cannot be maintained.’

Packages\com.arongranberg.astar\Core\Misc\UnityCompatibility.cs(16,39): warning CS0618: ‘FindObjectsSortMode’ is obsolete: ‘FindObjectsSortMode has been deprecated. Use the FindObjectsByType overloads that do not take a FindObjectsSortMode parameter.’

Packages\com.arongranberg.astar\Core\Misc\UnityCompatibility.cs(16,11): warning CS0618: ‘Object.FindObjectsByType(FindObjectsSortMode)’ is obsolete: ‘FindObjectsByType with FindObjectsSortMode parameter has been deprecated. Use FindObjectsByType() or FindObjectsByType(FindObjectsInactive) instead. InstanceID will be replaced in the future with EntityId and previous sort order cannot be maintained.’

Packages\com.arongranberg.astar\Core\Misc\UnityCompatibility.cs(24,68): warning CS0618: ‘FindObjectsSortMode’ is obsolete: ‘FindObjectsSortMode has been deprecated. Use the FindObjectsByType overloads that do not take a FindObjectsSortMode parameter.’

Packages\com.arongranberg.astar\Core\Misc\UnityCompatibility.cs(24,11): warning CS0618: ‘Object.FindObjectsByType(FindObjectsInactive, FindObjectsSortMode)’ is obsolete: ‘FindObjectsByType with FindObjectsSortMode parameter has been deprecated. Use FindObjectsByType() or FindObjectsByType(FindObjectsInactive) instead. InstanceID will be replaced in the future with EntityId and previous sort order cannot be maintained.’

Packages\com.arongranberg.astar\Graphs\NavmeshBase.cs(1049,5): warning CS0618: ‘UnsafeUtility.ReleaseGCObject(ulong)’ is obsolete: ‘Use GCHandle.Free instead.’

Packages\com.arongranberg.astar\Graphs\NavmeshBase.cs(1050,5): warning CS0618: ‘UnsafeUtility.ReleaseGCObject(ulong)’ is obsolete: ‘Use GCHandle.Free instead.’

Packages\com.arongranberg.astar\Graphs\NavmeshBase.cs(1051,23): warning CS0618: ‘UnsafeUtility.ReleaseGCObject(ulong)’ is obsolete: ‘Use GCHandle.Free instead.’

Packages\com.arongranberg.astar\Core\Collections\Span.cs(335,15): warning CS0618: ‘UnsafeUtility.PinGCArrayAndGetDataAddress(Array, out ulong)’ is obsolete: ‘Use GCHandle.Alloc with GCHandle.AddrOfPinnedObject instead.’

Packages\com.arongranberg.astar\Core\Collections\Span.cs(337,5): warning CS0618: ‘UnsafeUtility.ReleaseGCObject(ulong)’ is obsolete: ‘Use GCHandle.Free instead.’

Packages\com.arongranberg.astar\Core\Collections\Span.cs(53,20): warning CS0618: ‘UnsafeUtility.PinGCArrayAndGetDataAddress(Array, out ulong)’ is obsolete: ‘Use GCHandle.Alloc with GCHandle.AddrOfPinnedObject instead.’

Packages\com.arongranberg.astar\Core\Collections\Span.cs(67,20): warning CS0618: ‘UnsafeUtility.PinGCArrayAndGetDataAddress(Array, out ulong)’ is obsolete: ‘Use GCHandle.Alloc with GCHandle.AddrOfPinnedObject instead.’

Packages\com.arongranberg.astar\Core\Collections\NativeCircularBuffer.cs(104,21): warning CS0618: ‘UnsafeUtility.PinGCArrayAndGetDataAddress(Array, out ulong)’ is obsolete: ‘Use GCHandle.Alloc with GCHandle.AddrOfPinnedObject instead.’

Packages\com.arongranberg.astar\Graphs\Navmesh\RecastMeshGatherer.cs(852,5): warning CS0618: ‘UnsafeUtility.ReleaseGCObject(ulong)’ is obsolete: ‘Use GCHandle.Free instead.’

Packages\com.arongranberg.astar\Graphs\Navmesh\RecastMeshGatherer.cs(853,5): warning CS0618: ‘UnsafeUtility.ReleaseGCObject(ulong)’ is obsolete: ‘Use GCHandle.Free instead.’

Packages\com.arongranberg.astar\Graphs\Navmesh\RecastMeshGatherer.cs(1080,4): warning CS0618: ‘UnsafeUtility.ReleaseGCObject(ulong)’ is obsolete: ‘Use GCHandle.Free instead.’

Packages\com.arongranberg.astar\Core\AI\AIBase.cs(243,30): warning UAC1001: Field ‘movementPlane’ type ‘Pathfinding.Util.SimpleMovementPlane’ is skipped by serialization (missing the [Serializable] attribute). Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Core\AI\TurnBasedAI.cs(11,20): warning UAC1001: Field ‘targetNode’ type ‘Pathfinding.GraphNode’ is skipped by serialization (missing the [Serializable] attribute). Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Core\AI\TurnBasedAI.cs(12,41): warning UAC1001: Field ‘traversalProvider’ type ‘Pathfinding.BlockManager.TraversalProvider’ is skipped by serialization (missing the [Serializable] attribute). Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Core\AI\Seeker.cs(142,20): warning UAC1018: Field ‘graphMask’ has the same name as the [FormerlySerializedAs(“graphMask”)] argument on another field in this type. Refer to the Serialization rules analyzer reference. (https://docs.unity3d.com/Manual/script-serialization-analyzer.html#uac1018)

Packages\com.arongranberg.astar\Core\GraphUpdateScene.cs(104,25): warning UAC1018: Field ‘setTag’ has the same name as the [FormerlySerializedAs(“setTag”)] argument on another field in this type. Refer to the Serialization rules analyzer reference. (https://docs.unity3d.com/Manual/script-serialization-analyzer.html#uac1018)

Packages\com.arongranberg.astar\Core\ECS\Components\DestinationEntity.cs(26,17): warning UAC1001: Field ‘destination’ type ‘Unity.Entities.Entity’ is skipped by serialization (missing the [Serializable] attribute). Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Core\ECS\Components\AgentMovementPlane.cs(22,30): warning UAC1001: Field ‘value’ type ‘Pathfinding.Util.NativeMovementPlane’ is skipped by serialization (missing the [Serializable] attribute). Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Core\ECS\Components\ManagedState.cs(37,21): warning UAC1001: Field ‘pathTracer’ type ‘Pathfinding.PathTracer’ is skipped by serialization (missing the [Serializable] attribute). Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Modifiers\AdvancedSmooth.cs(85,16): warning UAC1002: Type ‘Pathfinding.AdvancedSmooth.MaxTurn’ hierarchy is incomplete: ‘Pathfinding.AdvancedSmooth.TurnConstructor’ lacks the [Serializable] attribute. Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Modifiers\AdvancedSmooth.cs(317,16): warning UAC1002: Type ‘Pathfinding.AdvancedSmooth.ConstantTurn’ hierarchy is incomplete: ‘Pathfinding.AdvancedSmooth.TurnConstructor’ lacks the [Serializable] attribute. Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Utilities\ProceduralGraphMover.cs(81,19): warning UAC1001: Field ‘graph’ type ‘Pathfinding.NavGraph’ is skipped by serialization (missing the [Serializable] attribute). Refer to the Serialization rules analyzer reference. ()

Packages\com.arongranberg.astar\Core\Misc\AssemblySearcher.cs(9,29): warning UAC0005: AppDomain.GetAssemblies() in Unity may return already unloaded assemblies and result in errors or leaks. Use Unity APIs instead, such as ‘CurrentAssemblies.GetLoadedAssemblies()’ or ‘TypeCache.GetTypesDerivedFrom()’.