I’m trying to test my build and it keeps erroring out. I’ve restarted the editor multiple times with no change.
I’m using 2023 (the bleeding edge), so I’m very aware that that might be the reason why, but it’s got some features I’m currently using.
I can’t read this and would very much appreciate the help.
Build completed with a result of ‘Failed’ in 6 seconds (6332 ms)
Building Library\Bee\artifacts\WinPlayerBuildProgram\ManagedStripped failed with output:
E:\Program Files (x86)\2023.1.0b9\Editor\Data\il2cpp\build\deploy\UnityLinker.exe @Library \Bee\artifacts\rsp\12490663503765487050.rsp
Fatal error in Unity CIL Linker
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: ‘nunit.framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb’
at Unity.Linker.UnityAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
at Unity.IL2CPP.Common.AssemblyDependenciesComponent.CollectAssemblyDependencies(AssemblyDefinition assembly, Boolean throwOnUnresolved)
at Unity.IL2CPP.Common.AssemblyDependenciesComponent.GetReferencedAssembliesFor(AssemblyDefinition assembly)
at Unity.Linker.UnityLinkContext.ResolveReferences(AssemblyDefinition assembly)
at Mono.Linker.Steps.LoadReferencesStep.ProcessReferences(AssemblyDefinition assembly)
at Mono.Linker.Steps.BaseStep.Process(LinkContext context)
at Unity.Linker.UnityPipeline.ProcessStep(LinkContext context, IStep step)
at Mono.Linker.Pipeline.Process(LinkContext context)
at Unity.Linker.UnityDriver.UnityRun(UnityLinkContext context, UnityPipeline p, LinkRequest linkerOptions, TinyProfiler2 tinyProfiler, ILogger customLogger)
at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling(TinyProfiler2 tinyProfiler, ILogger customLogger)
at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling()
at Unity.Linker.UnityDriver.RunDriver()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
I found the issue after HOURS of decoding and a completely new build.
There seems to be an issue with using NUnit.Framework
.
1 Like
Thanks for posting the answer!