Search Unity

(0,0): error System.IO.FileNotFoundException when installing Entities package

Discussion in 'Package Manager' started by Matusson, Nov 20, 2020.

  1. Matusson

    Matusson

    Joined:
    Feb 7, 2020
    Posts:
    3
    Hello, I have encountered an issue with the PackageManager (or Entities package). Every time I install it in one specific project, it displays "(0,0): error System.IO.FileNotFoundException: " error twice in the console. There is no extra information in the console.

    There is no mention of this in upm.log, only in Editor.log:
    ILPostPostRunner was started with arguments:
    @F:/Unity/Unity/TestProject/TestProject/Temp/UnityTempFile-4c7a5b0c22b9fbf46a5b57251f50ba7f
    - Finished ILPostProcessorRunner in 0,059141 seconds
    (0,0): error System.IO.FileNotFoundException:
    File name: 'F:/Unity/Unity/TestProject/TestProject/Library/ScriptAssemblies/Unity.Entities.Hybrid.CodeGen.dll'
    at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom(string,bool)
    at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
    at ILPostProcessorRunner+<>c.<ProcessArgs>b__7_6 (System.String p) [0x00000] in <04671920fa244b7da7c644c861e4f88f>:0
    at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].MoveNext () [0x0003a] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
    at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].MoveNext () [0x00038] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
    at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].ToArray () [0x00030] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
    at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
    at ILPostProcessorRunner.ProcessArgs (System.String[] args) [0x001d4] in <04671920fa244b7da7c644c861e4f88f>:0
    at ILPostProcessorRunner.Main (System.String[] args) [0x000a1] in <04671920fa244b7da7c644c861e4f88f>:0

    This happens multiple times, back-to-back, in the log file.

    From what I've tested this seems to only happen in this project - two other projects with the same version of Unity worked as expected. We're using Unity 2020.2.0b11, with URP 10.1.0. The exception is not thrown when installing packages different than Entities.
     
  2. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Hey there,

    Is this happening on a non-beta version of Unity? If it isn't then it's a bug that you'll probably need to file.