Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

[Bug]: Could not load file or assembly 'System.Runtime' or one of its dependencies #219

Open
1 task done
RobbinBob opened this issue Mar 26, 2023 · 2 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@RobbinBob
Copy link

RobbinBob commented Mar 26, 2023

Are you on the latest version of UnityExplorer?

  • Yes, I'm on the latest version of UnityExplorer.

Which release are you using?

MelonLoader IL2CPP

Which game did this occur on?

Slime Rancher 2

Describe the issue.

Trying to use UnityExplorer with melon loader for SR2, will get stuck loading UnityExplorer.ML.Il2CPP then crash, im not too savvy on how to fix this on my end as assembly based things are newer to me.

Any help would be great.

Relevant log output

[20:19:32.979] Loading Mods from 'Q:\SlimeRancher2\Mods'...
[20:19:32.983] ------------------------------
[20:19:33.053] Melon Assembly loaded: '.\Mods\GlueSlimes.dll'
[20:19:33.055] SHA256 Hash: '8b139953d5bdd81978ca32ba028003871f84920da9a8e0abc8a6b9fd2d37e22b'
[20:19:33.314] Melon Assembly loaded: '.\Mods\UnityExplorer.ML.IL2CPP.dll'
[20:19:33.316] SHA256 Hash: '09f49edd0be7c2c1aecbb892e360230094fd172acac51dce8f75557f3873946a'
[20:19:33.325] [ERROR] System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
File name: 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
  at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal(System.Reflection.ICustomAttributeProvider,System.Type,bool)
  at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x00013] in <e1319b7195c343e79b385cd3aa43f5dc>:0 
  at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00037] in <e1319b7195c343e79b385cd3aa43f5dc>:0 
  at System.Reflection.Assembly.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) [0x00000] in <e1319b7195c343e79b385cd3aa43f5dc>:0 
  at System.Attribute.GetCustomAttributes (System.Reflection.Assembly element, System.Boolean inherit) [0x00014] in <e1319b7195c343e79b385cd3aa43f5dc>:0 
  at MelonLoader.MelonUtils.PullAttributesFromAssembly[T] (System.Reflection.Assembly asm, System.Boolean inherit) [0x00000] in <6425afb6ac6a429aaf770255d2f7de57>:0 
  at MelonLoader.MelonUtils.PullAttributeFromAssembly[T] (System.Reflection.Assembly asm, System.Boolean inherit) [0x00000] in <6425afb6ac6a429aaf770255d2f7de57>:0 
  at MelonLoader.MelonAssembly.LoadMelons () [0x0008c] in <6425afb6ac6a429aaf770255d2f7de57>:0 
  at MelonLoader.MelonHandler.LoadMelonsFromDirectory[T] (System.String path) [0x000aa] in <6425afb6ac6a429aaf770255d2f7de57>:0 
  at MelonLoader.Core.Start () [0x0000f] in <6425afb6ac6a429aaf770255d2f7de57>:0
@RobbinBob RobbinBob added the bug Something isn't working label Mar 26, 2023
@MarioGK
Copy link

MarioGK commented Apr 11, 2023

Any news on this issue?

1 similar comment
@owlw
Copy link

owlw commented May 9, 2023

Any news on this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants