Post by SimVault on Nov 15, 2020 2:11:10 GMT -5
i ALSO ALREADY HAVE THE MOST UPDATED VERSION OF S4S.
I created an end table, and to add more slots faster I imported it into TSRW to add deco slots. I then exported it to a .package and re-opened it in Sims4Studio and I got this error under slots:
"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at S4Studio.Data.IO.Util.BinaryStreamWrapper.GetBytes(Int32 count, ByteOrder order)
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadFloat(ByteOrder order)
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadFloat()
at S4Studio.Data.IO.Core.Geometry.Sims4GeometryIOExt.DeserializeMatrix4X3(BinaryStreamWrapper s)
at S4Studio.Data.IO.BuyBuild.Slots.SlotResource.<>c__DisplayClass30_0.<ReadData>b__8(IEnumerable`1 slots)
at S4Studio.Data.IO.BuyBuild.Slots.SlotResource.ReadData(Stream stream, IReferenceList references)
at S4Studio.Data.IO.Core.LinkedResourceSerializer.GetBlock(Int32 index, LinkedResource resource)
at S4Studio.Data.IO.Core.LinkedResource.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)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at S4Studio.ViewModels.Warehouse.WarehouseResourceViewModelBase.GetWrappedResource()"
I hope an update for adding slots easier in the future then just adjusting the coordinates (which when you are like me and looooove slot spaces, its a hassle).
Thank you in advance!
I created an end table, and to add more slots faster I imported it into TSRW to add deco slots. I then exported it to a .package and re-opened it in Sims4Studio and I got this error under slots:
"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at S4Studio.Data.IO.Util.BinaryStreamWrapper.GetBytes(Int32 count, ByteOrder order)
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadFloat(ByteOrder order)
at S4Studio.Data.IO.Util.BinaryStreamWrapper.ReadFloat()
at S4Studio.Data.IO.Core.Geometry.Sims4GeometryIOExt.DeserializeMatrix4X3(BinaryStreamWrapper s)
at S4Studio.Data.IO.BuyBuild.Slots.SlotResource.<>c__DisplayClass30_0.<ReadData>b__8(IEnumerable`1 slots)
at S4Studio.Data.IO.BuyBuild.Slots.SlotResource.ReadData(Stream stream, IReferenceList references)
at S4Studio.Data.IO.Core.LinkedResourceSerializer.GetBlock(Int32 index, LinkedResource resource)
at S4Studio.Data.IO.Core.LinkedResource.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)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at S4Studio.ViewModels.Warehouse.WarehouseResourceViewModelBase.GetWrappedResource()"
I hope an update for adding slots easier in the future then just adjusting the coordinates (which when you are like me and looooove slot spaces, its a hassle).
Thank you in advance!