Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice
  2. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

"Starting ILPostProcessorRunner" error when installing MLAPI on unity

Discussion in 'Netcode for GameObjects' started by Seeto-K, Oct 3, 2021.

  1. Seeto-K

    Seeto-K

    Joined:
    Jan 23, 2021
    Posts:
    1
    Hey guys,
    I have been working with MLAPI on unity for a bit now without any problems. However, I recently moved my files and Unity application it self to a hard drive and have been getting this error ever since. I tried it on both my old project file and a new one but both didn't work.
    I have tried running it on my MacBook as opposed to the hard drive but still the same problem. I followed all the steps on the official Unity website,
    https://docs-multiplayer.unity3d.com/docs/migration/install/index.html#troubleshooting

    My git version is 2.33.0
    The unity version I am currently using is 2021.1.3f1 (Although I got this same error on the 2020.3.19f1)
    Here is the error I get:

    - 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)
    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) in /Users/bokken/buildslave/unity/build/Editor/Tools/ILPostProcessorRunner/ILPostProcessorRunner.cs:line 111
    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) in /Users/bokken/buildslave/unity/build/Editor/Tools/ILPostProcessorRunner/ILPostProcessorRunner.cs:line 109
    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/200b0aE.dag/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/UnityEngine/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netfx/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netstandard/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/Extensions/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/ref/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.nuget.mono-cecil@1.10.1-preview.1/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/DotNetZip/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/YamlDotNet/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Core/Dependencies/MiscUtil/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Flow/Dependencies/NCalc/Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args) in /Users/bokken/buildslave/unity/build/Editor/Tools/ILPostProcessorRunner/ILPostProcessorRunner.cs:line 238
    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/200b0aE.dag/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/UnityEngine/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netfx/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netstandard/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/Extensions/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/ref/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.nuget.mono-cecil@1.10.1-preview.1/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/DotNetZip/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/YamlDotNet/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Core/Dependencies/MiscUtil/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Flow/Dependencies/NCalc/Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args) in /Users/bokken/buildslave/unity/build/Editor/Tools/ILPostProcessorRunner/ILPostProcessorRunner.cs:line 238
    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/200b0aE.dag/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/UnityEngine/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netfx/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netstandard/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/Extensions/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/ref/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.nuget.mono-cecil@1.10.1-preview.1/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/DotNetZip/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/YamlDotNet/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Core/Dependencies/MiscUtil/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Flow/Dependencies/NCalc/Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args) in /Users/bokken/buildslave/unity/build/Editor/Tools/ILPostProcessorRunner/ILPostProcessorRunner.cs:line 238
    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/200b0aE.dag/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/UnityEngine/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netfx/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netstandard/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/Extensions/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/ref/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.nuget.mono-cecil@1.10.1-preview.1/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/DotNetZip/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/YamlDotNet/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Core/Dependencies/MiscUtil/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Flow/Dependencies/NCalc/Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args) in /Users/bokken/buildslave/unity/build/Editor/Tools/ILPostProcessorRunner/ILPostProcessorRunner.cs:line 238
    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/200b0aE.dag/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/UnityEngine/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netfx/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netstandard/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/Extensions/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/ref/2.0.0/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.ext.nunit@1.0.6/net35/unity-custom/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.7.1-api/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.nuget.mono-cecil@1.10.1-preview.1/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/DotNetZip/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Dependencies/YamlDotNet/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Core/Dependencies/MiscUtil/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Flow/Dependencies/NCalc/Mono.Cecil.dll
    at ILPostProcessorRunner.AssemblyResolve(Object sender, ResolveEventArgs args) in /Users/bokken/buildslave/unity/build/Editor/Tools/ILPostProcessorRunner/ILPostProcessorRunner.cs:line 238
    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/200b0aE.dag/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/Managed/UnityEngine/Mono.Cecil.dll
    /Volumes/Seetos LaCie/Applications/Unity/Unity.app/Contents/NetStandard/compat/2.0.0/shim<message truncated>
     
  2. luke-unity

    luke-unity

    Unity Technologies

    Joined:
    Sep 30, 2020
    Posts:
    256
    Try removing the spaces in `/Volumes/Seetos LaCie/Create With Code/ARCS/New Unity Project`. Currently the IL post processing has some issues with spaces and other special characters in the project path.
     
unityunity