FelixReuthlinger / AutoMapPins

GNU Lesser General Public License v3.0
5 stars 3 forks source link

Yaml file not found? #28

Closed crolloS72 closed 3 months ago

crolloS72 commented 3 months ago

Hello. This is what I get when loading V. 2.1.2

[Error : Unity Log] ArgumentException: Directory does not exist Parameter name: path Stack trace: System.IO.FileSystemWatcher..ctor (System.String path, System.String filter) (at <0176c56e11184037ab8bba48ad8e5607>:0) System.IO.FileSystemWatcher..ctor (System.String path) (at <0176c56e11184037ab8bba48ad8e5607>:0) (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher..ctor(string) AutoMapPins.Data.YamlFileStorage.FindConfigFiles (System.String fileInfix) (at :0) AutoMapPins.Data.YamlFileStorage..ctor (System.String modGuid) (at :0) AutoMapPins.AutoMapPinsPlugin..cctor () (at :0) Rethrow as TypeInitializationException: The type initializer for 'AutoMapPins.AutoMapPinsPlugin' threw an exception. UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() UnityEngine.GameObject:.cctor() PlatformTools.Common.SingletonMonoBehaviour`1:get_Instance() PlatformTools.PlatformManagerInitializer:OnRuntimeMethodLoad()

[Error : Unity Log] ArgumentException: Directory does not exist Parameter name: path Stack trace: System.IO.FileSystemWatcher..ctor (System.String path, System.String filter) (at <0176c56e11184037ab8bba48ad8e5607>:0) System.IO.FileSystemWatcher..ctor (System.String path) (at <0176c56e11184037ab8bba48ad8e5607>:0) (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher..ctor(string) AutoMapPins.Data.YamlFileStorage.FindConfigFiles (System.String fileInfix) (at :0) AutoMapPins.Data.YamlFileStorage..ctor (System.String modGuid) (at :0) AutoMapPins.AutoMapPinsPlugin..cctor () (at :0) Rethrow as TypeInitializationException: The type initializer for 'AutoMapPins.AutoMapPinsPlugin' threw an exception. UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() UnityEngine.GameObject:.cctor() PlatformTools.Common.SingletonMonoBehaviour`1:get_Instance() PlatformTools.PlatformManagerInitializer:OnRuntimeMethodLoad()

LogOutput.log

FelixReuthlinger commented 3 months ago

Thanks for reporting, this should be fixed already in future versions after 2.1.2