Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

ILPostProcessorRunner caught the following exception Version 2021.1.3f1

Discussion in 'Editor & General Support' started by Taison03, Apr 22, 2021.

  1. Taison03

    Taison03

    Joined:
    Jan 9, 2019
    Posts:
    5
    I updated my project from 2019.4 to 2020.1 then to Version 2021.1.3f1.
    I'm receiving the following exception.
    what should I do?


    - Starting ILPostProcessorRunner
    ILPostProcessorRunner caught the following exception while processing arguments:
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
    Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
    at System.Reflection.RuntimeModule.GetTypes()
    at System.Reflection.Assembly.GetTypes()
    at ILPostProcessorRunner.<>c.<ProcessArgs>b__7_7(Assembly asm)
    at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
    at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    at ILPostProcessorRunner.ProcessArgs(String[] args)
    System.IO.FileLoadException: Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    File name: 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'
    ---> ILPostProcessorErrorException: Could not find assembly file for assembly named 'Mono.Cecil'.
    Tried the following paths:
    Library/Bee/artifacts/1900b0aE.dag\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed/UnityEngine\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/LinuxStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/MacStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/nuget.mono-cecil@0.1.6-preview\Mono.Cecil.dll
    Assets/Behavior Designer/Editor\Mono.Cecil.dll
    Assets/Behavior Designer/Runtime\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3/AnalyticsStandardEvents\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.burst@1.4.1\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.collections@0.15.0-preview.21/Unity.Collections.LowLevel.ILSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime\Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args)
    at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
    at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName)
    System.IO.FileLoadException: Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    File name: 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'
    ---> ILPostProcessorErrorException: Could not find assembly file for assembly named 'Mono.Cecil'.
    Tried the following paths:
    Library/Bee/artifacts/1900b0aE.dag\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed/UnityEngine\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/LinuxStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/MacStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/nuget.mono-cecil@0.1.6-preview\Mono.Cecil.dll
    Assets/Behavior Designer/Editor\Mono.Cecil.dll
    Assets/Behavior Designer/Runtime\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3/AnalyticsStandardEvents\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.burst@1.4.1\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.collections@0.15.0-preview.21/Unity.Collections.LowLevel.ILSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime\Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args)
    at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
    at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName)
    System.IO.FileLoadException: Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    File name: 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'
    ---> ILPostProcessorErrorException: Could not find assembly file for assembly named 'Mono.Cecil'.
    Tried the following paths:
    Library/Bee/artifacts/1900b0aE.dag\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed/UnityEngine\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/LinuxStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/MacStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/nuget.mono-cecil@0.1.6-preview\Mono.Cecil.dll
    Assets/Behavior Designer/Editor\Mono.Cecil.dll
    Assets/Behavior Designer/Runtime\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3/AnalyticsStandardEvents\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.burst@1.4.1\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.collections@0.15.0-preview.21/Unity.Collections.LowLevel.ILSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime\Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args)
    at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
    at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName)
    System.IO.FileLoadException: Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    File name: 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'
    ---> ILPostProcessorErrorException: Could not find assembly file for assembly named 'Mono.Cecil'.
    Tried the following paths:
    Library/Bee/artifacts/1900b0aE.dag\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed/UnityEngine\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/LinuxStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/MacStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/nuget.mono-cecil@0.1.6-preview\Mono.Cecil.dll
    Assets/Behavior Designer/Editor\Mono.Cecil.dll
    Assets/Behavior Designer/Runtime\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3/AnalyticsStandardEvents\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.burst@1.4.1\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.collections@0.15.0-preview.21/Unity.Collections.LowLevel.ILSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime\Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args)
    at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
    at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName)
    System.IO.FileLoadException: Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    File name: 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'
    ---> ILPostProcessorErrorException: Could not find assembly file for assembly named 'Mono.Cecil'.
    Tried the following paths:
    Library/Bee/artifacts/1900b0aE.dag\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed/UnityEngine\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/LinuxStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/MacStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/nuget.mono-cecil@0.1.6-preview\Mono.Cecil.dll
    Assets/Behavior Designer/Editor\Mono.Cecil.dll
    Assets/Behavior Designer/Runtime\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3/AnalyticsStandardEvents\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.burst@1.4.1\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.collections@0.15.0-preview.21/Unity.Collections.LowLevel.ILSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime\Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args)
    at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
    at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName)
    System.IO.FileLoadException: Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    File name: 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'
    ---> ILPostProcessorErrorException: Could not find assembly file for assembly named 'Mono.Cecil'.
    Tried the following paths:
    Library/Bee/artifacts/1900b0aE.dag\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed/UnityEngine\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/LinuxStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/MacStandaloneSupport\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/nuget.mono-cecil@0.1.6-preview\Mono.Cecil.dll
    Assets/Behavior Designer/Editor\Mono.Cecil.dll
    Assets/Behavior Designer/Runtime\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3/AnalyticsStandardEvents\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.analytics@3.5.3\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.burst@1.4.1\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.collections@0.15.0-preview.21/Unity.Collections.LowLevel.ILSupport\Mono.Cecil.dll
    E:/unity/Domria_ The lands beyond the fog/Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime\Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args)
    at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
    at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName)
    System.IO.FileLoadException: Could not load file or assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. General Exception (0x80131500)
    File name: 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'
    ---> ILPostProcessorErrorException: Could not find assembly file for assembly named 'Mono.Cecil'.
    Tried the following paths:
    Library/Bee/artifacts/1900b0aE.dag\Mono.Cecil.dll
    E:/unity/2021.1.3f1/Editor/Data/Managed\Mo<message truncated>
     
    Last edited: Apr 22, 2021
  2. heathA

    heathA

    Joined:
    Aug 14, 2013
    Posts:
    4
    Happening to me too. Broke my whole game. I've been fighting other Unity errors for days now. Hoped updating would help, but now all materials/shaders are broken and over 100 of the same error in console. I am currently downloading Unreal to see if it is any more stable. Unity has been crashing more with each update over the years and now this is just unacceptable. Are they not getting enough paid users or something? Why does this happen all the time? We are not here to beta test Unity for them, we have to finish our own projects and put food on the table.
     
  3. _slash_

    _slash_

    Joined:
    Mar 26, 2013
    Posts:
    37
    You are literally relying on a beta... There are LTS versions for a reason.
     
    tonytopper likes this.
  4. Hiddengamer007

    Hiddengamer007

    Joined:
    Jan 22, 2022
    Posts:
    1
    Maybe it sounds stupid, but for me, it just worked to create a new empty C# Script.
     
    fifi_michu and cuttinged like this.
  5. JingizuIneluki

    JingizuIneluki

    Joined:
    Feb 25, 2017
    Posts:
    3
    It worked for me, thanks!
     
  6. fifi_michu

    fifi_michu

    Joined:
    Oct 13, 2021
    Posts:
    1
    very strangely worked for me :D