Search Issue Tracker

Active

Under Consideration for 1.0.X

Votes

0

Found in [Package]

1.0.0 - Entities

Issue ID

ECSB-331

Regression

No

Errors when importing the Entities package into a 2D project

Package: Entity Component System (ECS)

-

Steps to reproduce :
* create a new 2D project
* go to Package manager
* press Add package by name
* type in com.unity.entities and notice the errors

 

Failed to find entry-points:
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Unity.Collections.Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ---> System.Exception: Failed to resolve assembly 'Unity.Collections.Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in directories: /Applications/Unity/Hub/Editor/2022.2.20f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unityjit-macos
/Users/silviu/My project (2)/Library/PackageCache/com.unity.burst@1.8.4
/Applications/Unity/Hub/Editor/2022.2.20f1/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport
/Users/silviu/My project (2)/Library/PackageCache/com.unity.burst@1.8.4/Unity.Burst.CodeGen
/Users/silviu/My project (2)/Library/PackageCache/com.unity.visualscripting@1.8.0/Editor/VisualScripting.Core/Dependencies/DotNetZip
/Users/silviu/My project (2)/Library/PackageCache/com.unity.nuget.mono-cecil@1.11.4
/Users/silviu/My project (2)/Library/PackageCache/com.unity.visualscripting@1.8.0/Editor/VisualScripting.Core/EditorAssetResources
/Users/silviu/My project (2)/Library/PackageCache/com.unity.collab-proxy@2.0.4/Lib/Editor/PlasticSCM
/Applications/Unity/Hub/Editor/2022.2.20f1/Unity.app/Contents/Managed
/Users/silviu/My project (2)/Library/PackageCache/com.unity.visualscripting@1.8.0/Editor/VisualScripting.Core/Dependencies/YamlDotNet
/Users/silviu/My project (2)/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom
/Users/silviu/My project (2)/Library/PackageCache/com.unity.collections@2.1.4/Unity.Collections.LowLevel.ILSupport
/Users/silviu/My project (2)/Library/PackageCache/com.unity.entities@1.0.8/Unity.Entities/SourceGenerators
/Users/silviu/My project (2)/Library/PackageCache/com.unity.visualscripting@1.8.0/Runtime/VisualScripting.Flow/Dependencies/NCalc
/Applications/Unity/Hub/Editor/2022.2.20f1/Unity.app/Contents/Managed/UnityEngine
/Users/silviu/My project (2)/Library/ScriptAssemblies ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Unity.Collections.Editor, 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) [0x00013] in <e897daa8366b4183b121ad602adf2292>:0 
   --- End of inner exception stack trace ---
  at zzzUnity.Burst.CodeGen.AssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00060] in <e897daa8366b4183b121ad602adf2292>:0 
  at Burst.Compiler.IL.AssemblyLoader.Resolve (Mono.Cecil.AssemblyNameReference name) [0x0007e] in <e897daa8366b4183b121ad602adf2292>: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 <e897daa8366b4183b121ad602adf2292>:0 
  at Burst.Compiler.IL.Server.FindMethodsJob.Execute (Burst.Compiler.IL.Server.CompilerServerJobExecutionContext context) [0x0011e] in <e897daa8366b4183b121ad602adf2292>:0 

While compiling job:

Add comment

Log in to post comment