BananaPuncher714 / LethalQuantities

A lethal company mod
MIT License
5 stars 1 forks source link

[Error] In console #86

Open MathiusXII opened 4 months ago

MathiusXII commented 4 months ago

[Error :LethalQuantities] Please report this error to the LethalQuantities mod developers: System.IO.IOException: Sharing violation on path C:\Users\User\AppData\Roaming\Thunderstore Mod Manager\DataFolder\LethalCompany\profiles\Default\BepInEx\config\LethalQuantities\Advanced\Presets.json at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <787acc3c9a4c471ba7d971300105af24>:IL_019E at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <787acc3c9a4c471ba7d971300105af24>:IL_0000 at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions) at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <787acc3c9a4c471ba7d971300105af24>:IL_0055 at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <787acc3c9a4c471ba7d971300105af24>:IL_0008 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string) at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in <787acc3c9a4c471ba7d971300105af24>:IL_0026 at LethalQuantities.Plugin.loadData (LethalQuantities.Objects.GlobalInformation info, System.String path) [0x0012a] in <3d417d56a21746b39758c9436f818602>:IL_012A at LethalQuantities.Patches.RoundManagerPatch.onStartPrefix (RoundManager __instance) [0x004a2] in <3d417d56a21746b39758c9436f818602>:IL_04A2

BananaPuncher714 commented 4 months ago

Thanks. Do you have steps on how to reproduce this?

MathiusXII commented 4 months ago

I'm not sure. My friend got it when he was hosting our modpack. I don't see it in singleplayer.

MathiusXII commented 4 months ago

I did get this in singleplayer

[Info :LethalQuantities] Modifying moon prices [Error :LethalQuantities] Already changed price for TerminalNode 7route with level id 7. Perhaps another mod has added it in twice??

And this

[Info :LethalQuantities] Checking scene Level1Experimentation for a valid level [Error : Unity Log] NullReferenceException Stack trace: UnityEngine.Object.get_name () (at :IL_0001) LethalQuantities.Plugin.OnSceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) (at <3d417d56a21746b39758c9436f818602>:IL_0082) UnityEngine.SceneManagement.SceneManager.Internal_SceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) (at :IL_000E)

BananaPuncher714 commented 4 months ago

Thanks, I'll try to investigate this further. Do you have a profile code that I can use to get the bug?

MathiusXII commented 4 months ago

018effbf-155f-3e34-6c91-8b065eb47a10