Raicuparta / unity-vr-patcher

Force VR mode in Unity games
MIT License
28 stars 6 forks source link

In Sound Mind produces "EndOfStreamException" error #3

Open AutumnRivers opened 2 years ago

AutumnRivers commented 2 years ago

Attempting to use this patcher with the latest Steam release of In Sound Mind produces the following error:

Unhandled Exception: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadUInt32()
   at AssetsTools.NET.AssetsFileReader.ReadUInt32()
   at AssetsTools.NET.Type_0D.Read(Boolean hasTypeTree, AssetsFileReader reader, UInt32 version)
   at AssetsTools.NET.TypeTree.Read(AssetsFileReader reader, UInt32 version)
   at AssetsTools.NET.AssetsFile..ctor(AssetsFileReader reader)
   at AssetsTools.NET.Extra.AssetsFileInstance..ctor(FileStream stream, String root)
   at AssetsTools.NET.Extra.AssetsManager.LoadAssetsFile(FileStream stream, Boolean loadDeps, String root)
   at AssetsTools.NET.Extra.AssetsManager.LoadAssetsFile(String path, Boolean loadDeps, String root)
   at UnityVRPatcher.Program.PatchVR(String gameManagersBackupPath, String gameManagersPath, String classDataPath)
   at UnityVRPatcher.Program.Main(String[] args)

The full log is attached below. error.log