LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.38k stars 472 forks source link

[Bug]: System.UnauthorizedAccessException #509

Closed Acidic8401 closed 1 year ago

Acidic8401 commented 1 year ago

All of the following criteria must be met

All of the following are optional to answer

Describe the issue.

System.UnauthorizedAccessException: Access to the path 'C:\Program Files\RotMG Exalt Launcher\dobby.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at MelonLoader.OperationHandler.Automated_Install(String destination, String selected_version, Boolean is_x86, Boolean legacy_version)

Did you attach your log file?

RinLovesYou commented 1 year ago

Simply a permission issue. Make sure your have access to all files in the game folder. Not really a melonloader issue