Reloaded-II icon indicating copy to clipboard operation
Reloaded-II copied to clipboard

[Updating .NET Runtime as part of Updating Reloaded is Broken]

Open Zeffuro opened this issue 7 months ago • 8 comments

https://github.com/user-attachments/assets/793b245a-ccc1-4038-86ff-139adadb002a

It keeps trying to open the deinstallation of .NET Framework through UAC and eventually fails.

See this log

2025-05-30 19.47.59.txt

Zeffuro avatar May 30 '25 19:05 Zeffuro

Runtime download during Launcher update has been borked for a long time.

I did fix some duplicate UAC prompts in 1.29.1 itself; but I've not fully investigated why the code fails for some people during launcher update.

Especially since it's the exact same code that runs during Setup.exe, and the code there works fine.

Sewer56 avatar May 30 '25 19:05 Sewer56

Just extract the latest release files over your current Reloaded files for now in the meantime, you'll get a prompt in-launcher as needed.

Sewer56 avatar May 30 '25 19:05 Sewer56

Yep, that seemed to work for updating, it's worth noting that when trying to extract it/overwrite it a Werfault.exe process was stuck in taskmgr.

Now to see if this solves my P4G crashes :)

Zeffuro avatar May 30 '25 19:05 Zeffuro

did P4G stop crashing?

KuroMewtwo115 avatar Jun 01 '25 04:06 KuroMewtwo115

Yes my game stopped crashing entirely, played for like 4-5 hours :)

Zeffuro avatar Jun 01 '25 05:06 Zeffuro

So I'm not if I'm doing something wrong or what but Reloaded keep wanting me to update to 1.29.1 and from what i read in its patch note the update is so that it will run off .net 9.0.4 so why is it trying to require me to install 9.0.5 in order to update the loader? Did I miss read something or is just not working right when it comes to updating right now?

FullMetalAggro avatar Jun 08 '25 23:06 FullMetalAggro

@FullMetalAggro The launcher can run on 9.0.4 or 9.0.5, the loader is locked to 9.0.4.

I did an oopsie and changed the wrong thing, leading to launcher still being built with 9.0.5 rather than 9.0.4. Happened in a rush.

Sewer56 avatar Jun 08 '25 23:06 Sewer56

Just extract the 1.29.1 files over your current Reloaded files for now in the meantime, you'll get a prompt in-launcher as needed.

THIS fixed the problem for me it just said it needed to dl the required files did so and metaphor refantasio loaded with the mods as normal.

before that this error scrawl would appear on attempting to update reloaded:

This is a Reloaded-II launcher error Report issues to https://github.com/Reloaded-Project/Reloaded-II/issues/new

Exception: One or more errors occurred. (Object reference not set to an instance of an object.) Stacktrace: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at Reloaded.Mod.Launcher.Lib.Models.ViewModel.Dialog.ModLoaderUpdateDialogViewModel.<>c__DisplayClass28_0.<OnApplySelfUpdate>b__1() at Reloaded.Mod.Launcher.Lib.Utility.ActionWrappers.<>c__DisplayClass2_0.<ExecuteWithApplicationDispatcher>b__0(Object _) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) at System.Windows.Threading.DispatcherSynchronizationContext.Send(SendOrPostCallback d, Object state) at Reloaded.Mod.Launcher.Lib.Utility.ActionWrappers.ExecuteWithApplicationDispatcher(Action action) at Reloaded.Mod.Launcher.Lib.Models.ViewModel.Dialog.ModLoaderUpdateDialogViewModel.OnApplySelfUpdate(String newUpdateDir) at Sewer56.Update.UpdateManager`1.StartUpdateAsync(NuGetVersion version, OutOfProcessOptions outOfProcessOptions, UpdateOptions updateOptions) at Reloaded.Mod.Launcher.Lib.Models.ViewModel.Dialog.ModLoaderUpdateDialogViewModel.Update() at Reloaded.Mod.Launcher.Pages.Dialogs.ModLoaderUpdateDialog.UpdateClick(Object sender, RoutedEventArgs e) at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Window.Show() at System.Windows.Window.ShowDialog() at Reloaded.Mod.Launcher.LibraryBindings.ShowDialogAndGetResult(Window window) at Reloaded.Mod.Launcher.LibraryBindings.ShowModLoaderUpdate(ModLoaderUpdateDialogViewModel viewmodel) at Reloaded.Mod.Launcher.Lib.Update.<>c__DisplayClass5_0.<CheckForLoaderUpdatesAsync>b__0(Object _) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Window.Show() at System.Windows.Window.ShowDialog() at Reloaded.Mod.Launcher.App.OnStartup(Object sender, StartupEventArgs e) at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at Reloaded.Mod.Launcher.App.Main()

kyoam avatar Jun 10 '25 07:06 kyoam