knah / Il2CppAssemblyUnhollower

A tool to generate Managed->IL2CPP proxy assemblies
GNU Lesser General Public License v3.0
499 stars 88 forks source link

Cannot write to a closed TextWriter #76

Closed NotWaterScriptNhttp closed 2 years ago

NotWaterScriptNhttp commented 2 years ago

[ERROR]: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> UnhollowerBaseLib.Il2CppException: System.ObjectDisposedException: Cannot write to a closed TextWriter.

at UnhollowerBaseLib.Il2CppException.RaiseExceptionIfNecessary (System.IntPtr returnedException) [0x00018] in <0d78579fe0744baaa87f6f150cc3197a>:0

at Il2CppSystem.IO.StreamWriter..ctor (Il2CppSystem.IO.Stream stream) [0x00056] in <37184e02f7d2469f94117d48e10de8c6>:0

at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)

at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in :0

--- End of inner exception stack trace ---

at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in :0

at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in :0

at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0

at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in :0

at MelonLoader.Support.Main.ConsoleCleaner () [0x000e9] in <42608154b4be43d399be6120b3678d66>:0

NotWaterScriptNhttp commented 2 years ago

this looks like its a melon loader issue works when manualy done