MelonLoader

MelonLoader

242 Downloads

[Bug]: Below

t38a opened this issue ยท 0 comments

commented

All of the following criteria must be met

  • All Requirements must be installed.
  • Changed the title so that it doesn't just says "[Bug]: "
  • I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

  • Tried reinstalling the Game.
  • Tried reinstalling MelonLoader.
  • Tried restarting PC.
  • Was able to see the Start Screen.

Describe the issue.

Error below

[20:08:15.744] Loading Mods from 'D:\SteamLibrary\steamapps\common\Descenders\Mods'...
[20:08:15.745] ------------------------------
[20:08:15.748] Melon Assembly loaded: '.\Mods\DescendersMelonLoader.dll'
[20:08:15.749] SHA256 Hash: '5813cb2bc6c0f84a7558746684e1f6126e0c0ff8ec675ddc2e5fc85ab7d990a0'
[20:08:15.769] Melon Assembly loaded: '.\Mods\UnityExplorer.ML.Mono.dll'
[20:08:15.770] SHA256 Hash: '7e6c95c5f0db2d6b22f506aad4d268a96250bd64d8e259b7e4073106250f36d2'
[20:08:15.776] [ERROR] System.TypeLoadException: Could not load type 'System.Runtime.Versioning.TargetFrameworkAttribute' from assembly 'DescendersMelonLoader'.
at (wrapper managed-to-native) System.MonoCustomAttrs:GetCustomAttributesInternal (System.Reflection.ICustomAttributeProvider,System.Type,bool)
at System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) [0x00000] in :0
at System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, Boolean inherit) [0x00000] in :0
at System.Reflection.Assembly.GetCustomAttributes (Boolean inherit) [0x00000] in :0
at System.Attribute.GetCustomAttributes (System.Reflection.Assembly element, Boolean inherit) [0x00000] in :0
at MelonLoader.MelonUtils.PullAttributesFromAssembly[MelonInfoAttribute] (System.Reflection.Assembly asm, Boolean inherit) [0x00000] in :0
at MelonLoader.MelonUtils.PullAttributeFromAssembly[MelonInfoAttribute] (System.Reflection.Assembly asm, Boolean inherit) [0x00000] in :0
at MelonLoader.MelonAssembly.LoadMelons () [0x00000] in :0
at MelonLoader.MelonHandler.LoadMelonsFromDirectory[MelonMod] (System.String path) [0x00000] in :0
at MelonLoader.Core.Start () [0x00000] in :0

And this is the c# code (if its any help)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MelonLoader;

namespace DescendersMelonLoader
{
public class Loader : MelonMod
{
public override void OnUpdate()
{
MelonLogger.Msg("Test");
}
}
}
Someone help my dumbass

MelonLoader_24-02-01_20-08-05.608.log

Did you attach your log file?

Yes, I attached my log file to the text box above.