O-n-y / oxy.mods

Oxy.BugTracker
17 stars 2 forks source link

DGSM - Doesn't load [misconfigured symlink by user] #21

Closed arakarioto closed 4 years ago

arakarioto commented 4 years ago

I'm getting the follow exception when activate the mod:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x0000f] in <fbb5ed17eb6e46c680000f8910ebb50c>:0 at Ony.OxygenNotIncluded.ModInfo2[T,L]..ctor (System.Action configButtons, System.Boolean createSettingsWindow) [0x000be] in :0 at Ony.OxygenNotIncluded.StartUp3[O,T,L].Start () [0x0002b] in <e7e716ecfb034bb7ae3d1f88f5c360b2>:0 at Ony.OxygenNotIncluded.DGSM.Loader.OnLoad () [0x00000] in <e7e716ecfb034bb7ae3d1f88f5c360b2>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <e1319b7195c343e79b385cd3aa43f5dc>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <e1319b7195c343e79b385cd3aa43f5dc>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <e1319b7195c343e79b385cd3aa43f5dc>:0 at KMod.DLLLoader.LoadDLLs (System.String harmonyId, System.String path) [0x00359] in <fea95bc6a22241159972033b5021dc0f>:0 Exception while loading mod 1838445101.Steam at /home/luis/.config/unity3d/Klei/Oxygen Not Included/mods/Steam/1838445101. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x0000f] in <fbb5ed17eb6e46c680000f8910ebb50c>:0 at Ony.OxygenNotIncluded.ModInfo2[T,L]..ctor (System.Action configButtons, System.Boolean createSettingsWindow) [0x000be] in :0 at Ony.OxygenNotIncluded.StartUp3[O,T,L].Start () [0x0002b] in <e7e716ecfb034bb7ae3d1f88f5c360b2>:0 at Ony.OxygenNotIncluded.DGSM.Loader.OnLoad () [0x00000] in <e7e716ecfb034bb7ae3d1f88f5c360b2>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <e1319b7195c343e79b385cd3aa43f5dc>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <e1319b7195c343e79b385cd3aa43f5dc>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <e1319b7195c343e79b385cd3aa43f5dc>:0 at KMod.DLLLoader.LoadDLLs (System.String harmonyId, System.String path) [0x00359] in <fea95bc6a22241159972033b5021dc0f>:0

O-n-y commented 4 years ago

Please follow How to report an issue (https://github.com/O-n-y/oxy.mods) And provide version of the mod you have installed.

arakarioto commented 4 years ago

Thanks for replying. Mod version is 3.0.6.112.

To reproduce the issue I just enable the mod on the mods panel, and then restart the game. When it loads again a popup message appear showing that the mod failed loading. Searching on the logs files I found the exception is attached. Is not needed to start a game to reproduced.

O-n-y commented 4 years ago

Have you tried delete settings file? /mods/config/mod_id (in case of DGSM 1838445101) (should be done when game not running)

arakarioto commented 4 years ago

Just did it, doesn't solve the problem.

Probably unrelated, but I'm also having problems with mod manager at ONI startup.

O-n-y commented 4 years ago

Please check, the game have access to this folder with settings to read/write (and to base folder /mods and all inside)

arakarioto commented 4 years ago

That did the trick!

I have a symlink that point to that folder, and obviously something is misconfigured. I copy the content of the folder and everything works great.

Thanks for the assistance!

O-n-y commented 4 years ago

Great to hear you solved it!