Post by drippycity on May 29, 2022 17:45:55 GMT -5
So I'm currently making a scene in blender using sims 4 assets. At the moment, I'm trying to export a corbel, but each one I try to export gets an error like the one below. This doesn't seem to happen for any other mesh I export, and it's only the mesh I have trouble exporting. Anything I can do to fix it?
Sims 4 Studio 1.3.3.6 (Apple Blossom)
System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at S4Studio.Data.IO.Util.BinaryStreamWrapper.GetBytes (System.Int32 count, S4Studio.Data.IO.Util.ByteOrder order) [0x0001b] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt32 (S4Studio.Data.IO.Util.ByteOrder order) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt32 () [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Animation.RigResource.Read (System.IO.Stream stream, S4Studio.Data.IO.Core.IReferenceList resources) [0x00007] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource (System.Type t, S4Studio.Data.IO.Package.IDBPFResourcePointer index, System.Boolean nocache) [0x00271] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T] (S4Studio.Data.IO.Package.IDBPFResourcePointer index, System.Boolean nocache) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T] (S4Studio.Data.IO.Package.IDBPFResourcePointer index) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.PackageResourceProviderBase.FetchResourceData[TResource] (S4Studio.Data.IResourceHandle resourceHandle, System.Boolean useDefault) [0x00013] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.ResourceProvider.GetResourceData[TResource] (S4Studio.Data.IResourceHandle resourceHandle, System.Boolean useDefault) [0x00016] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.ResourceHandle.Data[TResource] () [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.ObjectCustomContentViewModel.get_Rig () [0x00040] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.ObjectLodItem.ExportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x0005b] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.ObjectLodItem+<>c__DisplayClass47_0.<ExportMesh>b__0 () [0x00022] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
Sims 4 Studio 1.3.3.6 (Apple Blossom)
System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at S4Studio.Data.IO.Util.BinaryStreamWrapper.GetBytes (System.Int32 count, S4Studio.Data.IO.Util.ByteOrder order) [0x0001b] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt32 (S4Studio.Data.IO.Util.ByteOrder order) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadUInt32 () [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Animation.RigResource.Read (System.IO.Stream stream, S4Studio.Data.IO.Core.IReferenceList resources) [0x00007] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource (System.Type t, S4Studio.Data.IO.Package.IDBPFResourcePointer index, System.Boolean nocache) [0x00271] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T] (S4Studio.Data.IO.Package.IDBPFResourcePointer index, System.Boolean nocache) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T] (S4Studio.Data.IO.Package.IDBPFResourcePointer index) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.PackageResourceProviderBase.FetchResourceData[TResource] (S4Studio.Data.IResourceHandle resourceHandle, System.Boolean useDefault) [0x00013] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.ResourceProvider.GetResourceData[TResource] (S4Studio.Data.IResourceHandle resourceHandle, System.Boolean useDefault) [0x00016] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.ResourceHandle.Data[TResource] () [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.ObjectCustomContentViewModel.get_Rig () [0x00040] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.ObjectLodItem.ExportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x0005b] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.ObjectLodItem+<>c__DisplayClass47_0.<ExportMesh>b__0 () [0x00022] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <fba6d96c2ad848fb92a7e7305f6c7598>:0