ow-mods / owml

The mod loader and mod framework for Outer Wilds
https://owml.outerwildsmods.com
MIT License
85 stars 15 forks source link

Issue with enabling mods using manager - game starts in "vanilla mode" #531

Open pointu-l opened 1 year ago

pointu-l commented 1 year ago

Hello everyone. I was excited to try out some of the mods using the manager 👍 Unfortunately, I'm experiencing problems enabling mods, and a stacktrace appears in the logs (see below). When I install/enable a single mod, such as VanillaFix, Clock, Randomizer, etc., the OWML mod will produce a stacktrace, and the game will start in a vanilla-like mode with an empty in-game mods menu (only showing OWML at the top of -- Enabled mods --).

I am running Windows 10 and have the game's DLC installed. I attempted to launch the game directly from the .exe using the manager settings, but it didn't seem to make any difference. I'm not sure what else I can do on my own to figure this out.

Launching game... OWML  
Client disconnected from console Mod Manager    
Client connected to console Mod Manager 
Creating harmony instance: Alek.OWML OWML   
Enabling Harmony debug mode. OWML   
Getting method PlayerBody.Awake OWML    
Patched PlayerBody.Awake! OWML  
Getting method PauseMenuManager.Start OWML  
Patched PauseMenuManager.Start! OWML    
Getting method TitleScreenManager.Start OWML    
Patched TitleScreenManager.Start! OWML  
Mod loader has been initialized. OWML   
Game version: 1.1.13.456 OWML   
Initializing enum creator OWML  
Patched System.Enum.GetCachedValuesAndNames! OWML   
Loading config from C:/Users//AppData/Roaming/OuterWildsModManager/OWML/Mods\clubby789.OWClock\config.json OWML 
Loading config from C:/Users//AppData/Roaming/OuterWildsModManager/OWML/Mods\clubby789.OWClock\default-config.json OWML 
Loading config from C:/Users//AppData/Roaming/OuterWildsModManager/OWML/Mods\JohnCorby.VanillaFix\config.json
OWML    
Loading config from C:/Users//AppData/Roaming/OuterWildsModManager/OWML/Mods\JohnCorby.VanillaFix\default-config.json
OWML    
Saving config to C:/Users//AppData/Roaming/OuterWildsModManager/OWML/Mods\clubby789.OWClock\config.json
OWML    
Saving config to C:/Users//AppData/Roaming/OuterWildsModManager/OWML/Mods\JohnCorby.VanillaFix\config.json
OWML    
Getting game vendor...
OWML    
Detected vendor as Epic.
OWML    
Current game version is 1.1.13.456, latest game version is 1.1.13.456
OWML    
No min/max versions given for JohnCorby.VanillaFix, and it doesn't require latest version.
OWML    
JohnCorby.VanillaFix is disabled
OWML    
Mismatch between OWML version expected by clubby789.OWClock and installed OWML version.
OWML version expected by clubby789.OWClock : 2.3.2
OWML version installed : 2.9.0
As the the mismatch affects ~.X.~, and the OWML version is higher, the mod will still load.
OWML    
Current game version is 1.1.13.456, latest game version is 1.1.13.456
OWML    
No min/max versions given for clubby789.OWClock, and it doesn't require latest version.
OWML    
Loading assembly: C:/Users//AppData/Roaming/OuterWildsModManager/OWML/Mods\clubby789.OWClock\Clock.dll
OWML    
Loaded Clock, Version=0.6.1.0, Culture=neutral, PublicKeyToken=null
OWML    
Creating harmony instance: clubby789.OWClock
Clock   
Enabling Harmony debug mode.
Clock   
Event is already patched: AfterAwake of PlayerBody
Clock   
PlatformNotSupportedException: Operation is not supported on this platform.
Stacktrace: System.AppDomain.DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access) (at <44afb4564e9347cf99a1865351ea8f4a>:0)
(wrapper remoting-invoke-with-check) System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess)
OWML.ModHelper.Interaction.InterfaceProxyFactory..ctor () (at <617d616bf4384345ba653bd5ccb6e58e>:0)
System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) (at <44afb4564e9347cf99a1865351ea8f4a>:0)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <44afb4564e9347cf99a1865351ea8f4a>:0)
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Exception source) (at <44afb4564e9347cf99a1865351ea8f4a>:0)
System.Linq.Expressions.Interpreter.ExceptionHelpers.UnwrapAndRethrow (System.Reflection.TargetInvocationException exception) (at <55b3683038794c198a24e8a1362bfc61>:0)
System.Linq.Expressions.Interpreter.NewInstruction.Run (System.Linq.Expressions.Interpreter.InterpretedFrame frame) (at <55b3683038794c198a24e8a1362bfc61>:0)
System.Linq.Expressions.Interpreter.Interpreter.Run (System.Linq.Expressions.Interpreter.InterpretedFrame frame) (at <55b3683038794c198a24e8a1362bfc61>:0)
System.Linq.Expressions.Interpreter.LightLambda.Run1[T0,TRet] (T0 arg0) (at <55b3683038794c198a24e8a1362bfc61>:0)
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Rethrow as DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor()' on type 'InterfaceProxyFactory'. ---> Operation is not supported on this platform. (See inner exception for details.)
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance (Autofac.IComponentContext context, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.Activate (System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.<Execute>b__0 () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare (System.Guid id, System.Func`1[TResult] creator) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.Execute () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance (Autofac.Core.ISharingLifetimeScope currentOperationScope, Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Activators.Reflection.AutowiringParameter+<>c__DisplayClass2.<CanSupplyValue>b__0 () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance (Autofac.IComponentContext context, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.Activate (System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.<Execute>b__0 () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare (System.Guid id, System.Func`1[TResult] creator) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.Execute () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance (Autofac.Core.ISharingLifetimeScope currentOperationScope, Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Activators.Reflection.AutowiringParameter+<>c__DisplayClass2.<CanSupplyValue>b__0 () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance (Autofac.IComponentContext context, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.Activate (System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.<Execute>b__0 () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare (System.Guid id, System.Func`1[TResult] creator) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.InstanceLookup.Execute () (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance (Autofac.Core.ISharingLifetimeScope currentOperationScope, Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.ResolveOperation.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Resolving.ResolveOperation.Execute (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Lifetime.LifetimeScope.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.Core.Container.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.ResolutionExtensions.TryResolveService (Autofac.IComponentContext context, Autofac.Core.Service service, System.Collections.Generic.IEnumerable`1[T] parameters, System.Object& instance) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.ResolutionExtensions.ResolveService (Autofac.IComponentContext context, Autofac.Core.Service service, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.ResolutionExtensions.Resolve (Autofac.IComponentContext context, System.Type serviceType, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.ResolutionExtensions.Resolve[TService] (Autofac.IComponentContext context, System.Collections.Generic.IEnumerable`1[T] parameters) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
Autofac.ResolutionExtensions.Resolve[TService] (Autofac.IComponentContext context) (at <ca1ca41f44e0487e9a15b2f64e38c7de>:0)
OWML.Utils.Container.Resolve[T] () (at <739fad9c4e834b1bbf1ac0d33c6ffcec>:0)
OWML.ModLoader.Owo.CreateModHelper (OWML.Common.IModData modData) (at <508057572fc3462897815f50139a95b9>:0)
OWML.ModLoader.Owo.LoadMods () (at <508057572fc3462897815f50139a95b9>:0)
OWML.ModLoader.ModLoader.LoadMods () (at <508057572fc3462897815f50139a95b9>:0)
PermanentManager.Awake () (at <ae390c526a3f466382a272a813c98033>:0)
OWML    
Loading Input Actions!
OWML    2
Getting graphics settings before settings are initialized!
OWML    
Got subscribed event: AfterStart of TitleScreenManager
OWML    
Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.
OWML    10
Not subscribed to: AfterStart of TitleScreenManager
Clock   
DLC installed: NotReady
OWML    
[EOS] Platform interface has been created
OWML    
[EOS] Authenticating...
OWML    
[EOS SDK] Login failed
OWML    
DISABLE INPUT
OWML    
Successfully read Input Bindings save data as JSON
OWML    
Titlescreenmanager.OnProfileManagerReadDone
OWML    
TitleScreenManager.InitializeGameSaveDependencies
OWML    
Loading Input Actions!
OWML    
ENABLE INPUT
misternebula commented 1 year ago

Hm, can you try uninstalling and re-installing OWML?