Cities: Skylines

Cities: Skylines

Patch Loader Mod
SlaveMaster 8 Oct, 2023 @ 12:31pm
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
< >
Showing 1-3 of 3 comments
Krzychu1245  [developer] 9 Oct, 2023 @ 9:23am 
Did you manually move the game folder to different hard drive instead of using Steam workshop "move to different location" feature?
SlaveMaster 10 Oct, 2023 @ 12:58pm 
Originally posted by 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 11 Oct, 2023 @ 11:41am 
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
< >
Showing 1-3 of 3 comments
Per page: 1530 50