Cities: Skylines

Cities: Skylines

Patch Loader Mod
SlaveMaster 2023 年 10 月 8 日 下午 12:31
Error when opening game
when i start the game with this mod this error appeares :


Unhandled Exception: System.UnauthorizedAccessException: Access to the path "D:\SteamLibrary\steamapps\common\Cities_Skylines\Cities_Data\Logs\PatchLoader.log" is denied.

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0

at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)

at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0

at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0

at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)

at System.IO.File.AppendText (System.String path) [0x00000] in <filename unknown>:0

at Utils.Logger.LogToFile (System.String log, LogLevel level) [0x00000] in <filename unknown>:0

at Utils.Logger.Info (System.String s) [0x00000] in <filename unknown>:0

at Utils.ConfigManager`1[Utils.Config]..ctor (System.String filePath, Utils.Logger logger) [0x00000] in <filename unknown>:0

at PatchLoader.EntryPoint.GetWorkshopModsPath (System.String workingPath, Utils.Logger logger) [0x00000] in <filename unknown>:0

at PatchLoader.EntryPoint.Main (System.String[] args) [0x00000] in <filename unknown>:0
< >
正在显示第 1 - 3 条,共 3 条留言
Krzychu1245  [开发者] 2023 年 10 月 9 日 上午 9:23 
Did you manually move the game folder to different hard drive instead of using Steam workshop "move to different location" feature?
SlaveMaster 2023 年 10 月 10 日 下午 12:58 
引用自 Krzychu1245
Did you manually move the game folder to different hard drive instead of using Steam workshop "move to different location" feature?

i dont remember doing that but how can i fix it either way
SlaveMaster 2023 年 10 月 11 日 上午 11:41 
for anyone reading this i solved the problem by deleting the logs this is my path: D:\SteamLibrary\steamapps\common\Cities_Skylines\Cities_Data\Logs\PatchLoader.log
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50