Skip to content

fix MelonLaunchOptions - #1044

Merged
HerpDerpinstine merged 1 commit into
LavaGang:alpha-developmentfrom
notfishvr33:alpha-development
Oct 27, 2025
Merged

HerpDerpinstine merged 1 commit into
LavaGang:alpha-developmentfrom
notfishvr33:alpha-development

Conversation

@official-notfishvr

Copy link
Copy Markdown
Contributor

i was getting the error of

[19:16:46.843] Failed to initialize MelonLoader
Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at System.SpanHelpers.IndexOf(Char& searchSpace, Char value, Int32 length)
   at MelonLoader.Core.Initialize() in C:\Users\Administrator\Downloads\MelonLoader-alpha-development\MelonLoader-alpha-development\MelonLoader\Core.cs:line 32
   at MelonLoader.InternalUtils.BootstrapInterop.Initialize(IntPtr bootstrapHandle) in C:\Users\Administrator\Downloads\MelonLoader-alpha-development\MelonLoader-alpha-development\MelonLoader\InternalUtils\BootstrapInterop.cs:line 91
   at MelonLoader.NativeHost.NativeEntryPoint.CallInit(IntPtr* startFunc) in C:\Users\Administrator\Downloads\MelonLoader-alpha-development\MelonLoader-alpha-development\MelonLoader.NativeHost\NativeEntryPoint.cs:line 44
   at MelonLoader.NativeHost.NativeEntryPoint.Initialize(IntPtr* startFunc) in C:\Users\Administrator\Downloads\MelonLoader-alpha-development\MelonLoader-alpha-development\MelonLoader.NativeHost\NativeEntryPoint.cs:line 31
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at MelonLoader.NativeHost.NativeEntryPoint.NativeEntry(IntPtr* startFunc) in C:\Users\Administrator\Downloads\MelonLoader-alpha-development\MelonLoader-alpha-development\MelonLoader.NativeHost\NativeEntryPoint.cs:line 18

but after i did that it fixed

@HerpDerpinstine
HerpDerpinstine merged commit 43f1d33 into LavaGang:alpha-development Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants