The bug still exists
unity : 2021.3.18f1c1
burst : 1.8.3
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 <1f66344f2f89470293d8b67d71308c07>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <1f66344f2f89470293d8b67d71308c07>:0
at Burst.Compiler.IL.Hashing.Storage.NameToTokenDictionary.AddHash (Burst.Compiler.IL.Helpers.Hash128& hash, System.Int32 token) [0x00000] in <a60580435cf345a18c987df05e687648>: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 <a60580435cf345a18c987df05e687648>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinition (System.Reflection.Metadata.TypeDefinitionHandle typeDefinitionHandle, Burst.Compiler.IL.Hashing.CacheBuilder.Util.CachingMetadataReader metadataReader) [0x00006] in <a60580435cf345a18c987df05e687648>: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 <a60580435cf345a18c987df05e687648>: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 <a60580435cf345a18c987df05e687648>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher+<>c__DisplayClass13_0.<HashImpl>b__0 () [0x00000] in <a60580435cf345a18c987df05e687648>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <1f66344f2f89470293d8b67d71308c07>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <1f66344f2f89470293d8b67d71308c07>: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 <1f66344f2f89470293d8b67d71308c07>:0
at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <1f66344f2f89470293d8b67d71308c07>:0
at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <1f66344f2f89470293d8b67d71308c07>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashImpl () [0x00243] in <a60580435cf345a18c987df05e687648>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashAssembly (System.String filePath, System.Threading.Tasks.TaskFactory taskFactory) [0x00008] in <a60580435cf345a18c987df05e687648>: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 <a60580435cf345a18c987df05e687648>:0
at Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore.GetAssemblyState (System.String assemblyName, Burst.Compiler.IL.AssemblyLoader assemblyLoader) [0x000a0] in <a60580435cf345a18c987df05e687648>: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) [0x00025] in <a60580435cf345a18c987df05e687648>: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) [0x001e3] in <a60580435cf345a18c987df05e687648>: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) [0x00071] in <a60580435cf345a18c987df05e687648>:0
at Burst.Compiler.IL.Server.FindMethodsJob.Execute (Burst.Compiler.IL.Server.CompilerServerJobExecutionContext context) [0x0011e] in <a60580435cf345a18c987df05e687648>: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 <1f66344f2f89470293d8b67d71308c07>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <1f66344f2f89470293d8b67d71308c07>:0
at Burst.Compiler.IL.Hashing.Storage.NameToTokenDictionary.AddHash (Burst.Compiler.IL.Helpers.Hash128& hash, System.Int32 token) [0x00000] in <a60580435cf345a18c987df05e687648>: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 <a60580435cf345a18c987df05e687648>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinition (System.Reflection.Metadata.TypeDefinitionHandle typeDefinitionHandle, Burst.Compiler.IL.Hashing.CacheBuilder.Util.CachingMetadataReader metadataReader) [0x00006] in <a60580435cf345a18c987df05e687648>: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 <a60580435cf345a18c987df05e687648>: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 <a60580435cf345a18c987df05e687648>:0
at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher+<>c__DisplayClass13_0.<HashImpl>b__0 () [0x00000] in <a60580435cf345a18c987df05e687648>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <1f66344f2f89470293d8b67d71308c07>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <1f66344f2f89470293d8b67d71308c07>:0 <---
While compiling job:
Build:
BuildFailedException: Burst compiler (1.8.3) failed running
stdout:
Error: Failed to find entry-points:
System.AggregateException: ����һ���������� ---> System.ArgumentException: ������˾�����ͬ�����
�� System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
�� System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
�� Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinitionImpl(TypeDefinitionHandle typeDefinitionHandle, CachingMetadataReader metadataReader, Hash128Builder hashBuilder)
�� Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinition(TypeDefinitionHandle typeDefinitionHandle, CachingMetadataReader metadataReader)
�� Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.<>c__DisplayClass13_0.<HashImpl>b__5(TypeDefinitionHandle typeDefinitionHandle, ParallelLoopState loopState, Int64 i)
BuildFailedException: Burst compiler (1.8.3) failed running
stdout:
Error: Failed to find entry-points:
System.AggregateException: ����һ���������� —> System.ArgumentException: ������˾�����ͬ�����
�� System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
�� System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
�� Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinitionImpl(TypeDefinitionHandle typeDefinitionHandle, CachingMetadataReader metadataReader, Hash128Builder hashBuilder)
�� Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeDefinition(TypeDefinitionHandle typeDefinitionHandle, CachingMetadataReader metadataReader)
�� Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.<>c__DisplayClass13_0.b__5(TypeDefinitionHandle typeDefinitionHandle, ParallelLoopState loopState, Int64 i)