Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Bug] Hot Reload problem #4

Copy link
Copy link
@Doushabo

Description

@Doushabo
Issue body actions

Game Version: v5.0.0
Melonloader Version: v0.6.1
Mod Version: v1.4.1
Log file: Latest.log

I don't know if it's a bug
I modified the cfg file with Notepad and saved it without any problems,
But after I modified and saved it with vscode, the hot reload failed

Error:

[SelectiveEffects] Error while Loading Preferences from UserData/SelectiveEffects.cfg: System.IO.IOException: The process cannot access the file 'G:\Steam\steamapps\common\Muse Dash\UserData\SelectiveEffects.cfg' because it is being used by another process.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding)
   at System.IO.File.ReadAllText(String path)
   at Tomlet.TomlParser.ParseFile(String filePath) in /_/Tomlet/TomlParser.cs:line 27
   at MelonLoader.Preferences.IO.File.Load() in D:\a\MelonLoader\MelonLoader\MelonLoader\Preferences\IO\File.cs:line 84
   at MelonLoader.MelonPreferences.LoadFileAndRefreshCategories(File file, Boolean printmsg) in D:\a\MelonLoader\MelonLoader\MelonLoader\Preferences\MelonPreferences.cs:line 313

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.