PhysicsHistory.cs: error CS1501: No overload for method 'Clone' takes 2 arguments (Unity 6)

Just trying to make a new URP project in Unity 6.
Installed Entities, Netcode for Entities and then tried to install Unity Physics but met with:

Library\PackageCache\com.unity.netcode\Runtime\Physics\PhysicsWorldHistory.cs(314,62): error CS1501: No overload for method 'Clone' takes 2 arguments
Library\PackageCache\com.unity.netcode\Runtime\Physics\PhysicsWorldHistory.cs(330,62): error CS1501: No overload for method 'Clone' takes 3 arguments
Failed to find entry-points:
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Unity.NetCode.Physics.Hybrid, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ---> System.Exception: Failed to resolve assembly 'Unity.NetCode.Physics.Hybrid, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in directories: C:\Program Files\Unity\Hub\Editor\6000.0.21f1\Editor\Data\MonoBleedingEdge\lib\mono\unityjit-win32
C:\Program Files\Unity\Hub\Editor\6000.0.21f1\Editor\Data\MonoBleedingEdge\lib\mono\unityjit-win32\Facades
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.visualscripting\Editor\VisualScripting.Core\Dependencies\DotNetZip
C:\Program Files\Unity\Hub\Editor\6000.0.21f1\Editor\Data\PlaybackEngines\WindowsStandaloneSupport
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.visualscripting\Editor\VisualScripting.Core\EditorAssetResources
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.ide.rider\Rider\Editor
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.transport\Analyzers
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.burst
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.burst\Unity.Burst.CodeGen
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.ext.nunit\net40\unity-custom
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.nuget.mono-cecil
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.collab-proxy\Lib\Editor\PlasticSCM
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.netcode\Runtime\SourceGenerators
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.visualscripting\Editor\VisualScripting.Core\Dependencies\YamlDotNet
C:\Program Files\Unity\Hub\Editor\6000.0.21f1\Editor\Data\Managed
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.collections\Unity.Collections.LowLevel.ILSupport
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.entities\Unity.Entities\SourceGenerators
C:\REPSEJ\UNITY\Reborn\Library\PackageCache\com.unity.visualscripting\Runtime\VisualScripting.Flow\Dependencies\NCalc
C:\Program Files\Unity\Hub\Editor\6000.0.21f1\Editor\Data\Managed\UnityEngine
C:\REPSEJ\UNITY\Reborn\Library\ScriptAssemblies ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Unity.NetCode.Physics.Hybrid, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
  at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x00105] in <853812ae52c341daaef3c62ecdb86b32>:0 
  at zzzUnity.Burst.CodeGen.AssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00007] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
   --- End of inner exception stack trace ---
  at zzzUnity.Burst.CodeGen.AssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00054] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
  at Burst.Compiler.IL.AssemblyLoader.Resolve (Mono.Cecil.AssemblyNameReference name) [0x0007e] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
  at Burst.Compiler.IL.Server.EntryPointMethodFinder.FindEntryPoints (System.String[] rootAssemblyNames, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader, Burst.Compiler.IL.NativeCompilerOptions options, Burst.Compiler.IL.Server.ProfileDelegate profileCallback, System.Boolean includeRootAssemblyReferences, System.Boolean splitTargets) [0x00055] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
  at Burst.Compiler.IL.Server.CompilerServer+<>c__DisplayClass18_1.<FindMethods>b__0 (Burst.Compiler.IL.Server.Caching.CacheManager cacheManager) [0x0005e] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
  at Burst.Compiler.IL.Server.CompilerServer+<>c__DisplayClass26_0`1[TResult].<RunTask>b__0 () [0x00145] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
  at Burst.Compiler.IL.Server.CompilerServer.RunTask[TResult] (Burst.Compiler.IL.Server.TargetKey target, System.String taskName, System.String[] assemblyFolders, System.Threading.CancellationToken cancellationToken, System.Func`2[T,TResult] function) [0x00131] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
  at Burst.Compiler.IL.Server.CompilerServer.FindMethods (Burst.Compiler.IL.Server.CompilerServerOptions options, Burst.Compiler.IL.Aot.AotCompilerOptions aotOptions, Burst.Compiler.IL.AssemblyDefinesDict assemblyDefines, Burst.Compiler.IL.Server.TargetKey target, Burst.Compiler.IL.Server.Caching.CacheManager cacheManager, Burst.Compiler.IL.CompilerStatistics stats, System.Threading.CancellationToken cancellationToken) [0x00299] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
  at Burst.Compiler.IL.Server.CompilerServer+<>c__DisplayClass26_0`1[TResult].<RunTask>b__0 () [0x00145] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
  at Burst.Compiler.IL.Server.CompilerServer.RunTask[TResult] (Burst.Compiler.IL.Server.TargetKey target, System.String taskName, System.String[] assemblyFolders, System.Threading.CancellationToken cancellationToken, System.Func`2[T,TResult] function) [0x00131] in <b2f686352f2e4cbfac0c08cd906a349e>:0 
  at Burst.Compiler.IL.Server.CompilerServer.Compile (Burst.Compiler.IL.Server.CompilerServerOptions options, Burst.Compiler.IL.Server.CompilationMessageStreamer streamer, System.Threading.CancellationToken cancellationToken) [0x001ca] in <b2f686352f2e4cbfac0c08cd906a349e>:0 

While compiling job:

The following asset(s) located in immutable packages were unexpectedly altered. Making changes to immutable packages isn't recommended because the changes can be lost without any warning during Package Manager operations.
  Packages/com.unity.physics/Tests/PlayModeTests/HullGeneration/Material.mat
  Packages/com.unity.physics/Unity.Physics.Hybrid/Assets/DebugDisplay/DebugDisplayResources/PhysicsDynamicDebugMaterial.mat




Make sure Unity Physics is updated to 1.3.2, the referenced method was introduced in 1.3.0-exp.1.

After posting and looking over things a bit more I noticed that Unity Physics and Entities Graphics had a lower version than the rest.

Package Manager for some reason not showing the latest version.

So went to Changelog | Unity Physics | 1.3.2 and Changelog | Unity Physics | 1.3.2 and hit “Add by name” for both and now it works!

I am glad you figured it out.
We are currently looking into why there is this version discrepancy in the package manager for these packages.

An easier way is to select the “Version History” tab in the package manager, select 1.3.5 (or latest) and click “Update”

While it’s a simple interaction, keep in mind the package manager doesn’t always show newer versions that exist. There’s specific recommendations for verified package versions that limits what’s presented to the user in the version history. For instance, Entities Graphics’s latest version doesn’t show up in the newest 2022.3 release. You should also note that OP said this:

So using the package manager UI was the problem for them at the time.

Back to this thread, we made some changes to the internal package registry so that this situation does not happen again. Thank you for reporting!