Hello,
I have been using Unity 2021 LTS from the beginning and updating it every 15 days, but with last update I am getting this error:
Failed to find entry-points:
System.AggregateException: One or more errors occurred. (An item with the same key has already been added. Key: ba90c8be510d7e31cc589f2de9f828e6) ---> System.ArgumentException: An item with the same key has already been added. Key: ba90c8be510d7e31cc589f2de9f828e6
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000dd] in <05089c1b6989455fb1452c627044bac4>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <05089c1b6989455fb1452c627044bac4>:0
at Burst.Compiler.IL.Hashing.Storage.NameToTokenDictionary.AddHash (Burst.Compiler.IL.Helpers.Hash128& hash, System.Int32 token) [0x00000] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinitionImpl (System.Reflection.Metadata.TypeDefinitionHandle typeDefinitionHandle, Burst.Compiler.IL.Hashing.CacheBuilder.Util.CachingMetadataReader metadataReader, Burst.Compiler.IL.Helpers.Hash128Builder hashBuilder) [0x000fc] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinition (System.Reflection.Metadata.TypeDefinitionHandle typeDefinitionHandle, Burst.Compiler.IL.Hashing.CacheBuilder.Util.CachingMetadataReader metadataReader) [0x00006] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher+<>c__DisplayClass13_0.<HashImpl>b__5 (System.Reflection.Metadata.TypeDefinitionHandle typeDefinitionHandle, System.Threading.Tasks.ParallelLoopState loopState, System.Int64 i) [0x00000] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.ForEach[T] (System.Collections.Generic.IEnumerable`1[T] elements, System.Action`3[T1,T2,T3] callback) [0x00018] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher+<>c__DisplayClass13_0.<HashImpl>b__0 () [0x00000] in <a2dd15248a25411e914af2a2c82fb63f>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <05089c1b6989455fb1452c627044bac4>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <05089c1b6989455fb1452c627044bac4>:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x001c8] in <05089c1b6989455fb1452c627044bac4>:0
at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <05089c1b6989455fb1452c627044bac4>:0
at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <05089c1b6989455fb1452c627044bac4>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashImpl () [0x00243] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashAssembly (System.String filePath, System.Threading.Tasks.TaskFactory taskFactory) [0x00008] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheLoader.CreateHashingResult (Mono.Cecil.AssemblyNameReference assemblyNameReference, Burst.Compiler.IL.AssemblyLoader assemblyLoader, Burst.Compiler.IL.Helpers.DebugLogWriter debugLogWriter) [0x001b1] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore.GetAssemblyState (System.String assemblyName, Burst.Compiler.IL.AssemblyLoader assemblyLoader) [0x000a0] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Server.EntryPointMethodFinder.LoadAllAssemblyReferences (Mono.Cecil.AssemblyDefinition asmDef, System.Collections.Generic.Dictionary`2[TKey,TValue] visited, System.Collections.Generic.Dictionary`2[TKey,TValue] jobProducers, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader) [0x00020] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Server.EntryPointMethodFinder.LoadAllAssemblyReferences (Mono.Cecil.AssemblyDefinition asmDef, System.Collections.Generic.Dictionary`2[TKey,TValue] visited, System.Collections.Generic.Dictionary`2[TKey,TValue] jobProducers, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader) [0x001de] in <a2dd15248a25411e914af2a2c82fb63f>: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, Burst.Compiler.IL.Helpers.DebugLogWriter debugWriter) [0x00071] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Server.FindMethodsJob.Execute (Burst.Compiler.IL.Server.CompilerServerJobExecutionContext context) [0x00133] in <a2dd15248a25411e914af2a2c82fb63f>:0
---> (Inner Exception #0) System.ArgumentException: An item with the same key has already been added. Key: ba90c8be510d7e31cc589f2de9f828e6
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000dd] in <05089c1b6989455fb1452c627044bac4>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <05089c1b6989455fb1452c627044bac4>:0
at Burst.Compiler.IL.Hashing.Storage.NameToTokenDictionary.AddHash (Burst.Compiler.IL.Helpers.Hash128& hash, System.Int32 token) [0x00000] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinitionImpl (System.Reflection.Metadata.TypeDefinitionHandle typeDefinitionHandle, Burst.Compiler.IL.Hashing.CacheBuilder.Util.CachingMetadataReader metadataReader, Burst.Compiler.IL.Helpers.Hash128Builder hashBuilder) [0x000fc] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinition (System.Reflection.Metadata.TypeDefinitionHandle typeDefinitionHandle, Burst.Compiler.IL.Hashing.CacheBuilder.Util.CachingMetadataReader metadataReader) [0x00006] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher+<>c__DisplayClass13_0.<HashImpl>b__5 (System.Reflection.Metadata.TypeDefinitionHandle typeDefinitionHandle, System.Threading.Tasks.ParallelLoopState loopState, System.Int64 i) [0x00000] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.ForEach[T] (System.Collections.Generic.IEnumerable`1[T] elements, System.Action`3[T1,T2,T3] callback) [0x00018] in <a2dd15248a25411e914af2a2c82fb63f>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher+<>c__DisplayClass13_0.<HashImpl>b__0 () [0x00000] in <a2dd15248a25411e914af2a2c82fb63f>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <05089c1b6989455fb1452c627044bac4>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <05089c1b6989455fb1452c627044bac4>:0 <---
While compiling job:
Anybody could help me with it? Is it a bug with last Unity Editor version?
Thanks!