Post by kiiyoshii71798 on Feb 24, 2022 19:09:25 GMT -5
I keep getting this error code when I try to open any cas options
The Sims 4 Studio - Version 3.1.5.7
System.AggregateException: One or more errors occurred. ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.MemoryStream.InternalReadInt32()
at System.IO.BinaryReader.ReadInt32()
at S4Studio.Data.IO.CAS.CASPartLodAsset.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.CAS.CASPartLod.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.CAS.CASPartResource.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource(Type t, IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index)
at S4Studio.Data.FileDb.FiletableResourceProvider.FetchResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceProvider.GetResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceHandle.Data[TResource]()
at S4Studio.Data.FileDb.Sims4FileTable.InitializeMetadata[TResource,TMetadata](Func`2 extra_func)
at S4Studio.Shared.CASFeatureViewModel.BuildItemList()
at S4Studio.Shared.FeatureViewModel.<get_CreateCommand>b__27_1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.MemoryStream.InternalReadInt32()
at System.IO.BinaryReader.ReadInt32()
at S4Studio.Data.IO.CAS.CASPartLodAsset.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.CAS.CASPartLod.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.CAS.CASPartResource.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource(Type t, IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index)
at S4Studio.Data.FileDb.FiletableResourceProvider.FetchResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceProvider.GetResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceHandle.Data[TResource]()
at S4Studio.Data.FileDb.Sims4FileTable.InitializeMetadata[TResource,TMetadata](Func`2 extra_func)
at S4Studio.Shared.CASFeatureViewModel.BuildItemList()
at S4Studio.Shared.FeatureViewModel.<get_CreateCommand>b__27_1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
The Sims 4 Studio - Version 3.1.5.7
System.AggregateException: One or more errors occurred. ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.MemoryStream.InternalReadInt32()
at System.IO.BinaryReader.ReadInt32()
at S4Studio.Data.IO.CAS.CASPartLodAsset.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.CAS.CASPartLod.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.CAS.CASPartResource.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource(Type t, IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index)
at S4Studio.Data.FileDb.FiletableResourceProvider.FetchResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceProvider.GetResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceHandle.Data[TResource]()
at S4Studio.Data.FileDb.Sims4FileTable.InitializeMetadata[TResource,TMetadata](Func`2 extra_func)
at S4Studio.Shared.CASFeatureViewModel.BuildItemList()
at S4Studio.Shared.FeatureViewModel.<get_CreateCommand>b__27_1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.MemoryStream.InternalReadInt32()
at System.IO.BinaryReader.ReadInt32()
at S4Studio.Data.IO.CAS.CASPartLodAsset.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.CAS.CASPartLod.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.CAS.CASPartResource.Read(Stream stream, IReferenceList resources)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource(Type t, IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index, Boolean nocache)
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T](IDBPFResourcePointer index)
at S4Studio.Data.FileDb.FiletableResourceProvider.FetchResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceProvider.GetResourceData[TResource](IResourceHandle resourceHandle, Boolean useDefault)
at S4Studio.Data.ResourceHandle.Data[TResource]()
at S4Studio.Data.FileDb.Sims4FileTable.InitializeMetadata[TResource,TMetadata](Func`2 extra_func)
at S4Studio.Shared.CASFeatureViewModel.BuildItemList()
at S4Studio.Shared.FeatureViewModel.<get_CreateCommand>b__27_1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---