Post by maysime on Oct 15, 2024 12:06:40 GMT -5
Hi,
There is a new problem with sims 4 studio. I am using the latest version. When you try to import ( even tried a base game living chair to import ) to a massage chair from spa pack or a lounge chair, there is an error below. Cut numbers are correct. And it doesnt happen with other clones. Is it a bug of studio ?
The Sims 4 Studio - Version 3.2.2.9
System.AggregateException: One or more errors occurred. (Model resource does not have the correct length.)
---> System.IO.InvalidDataException: Model resource does not have the correct length.
at S4Studio.Data.IO.BuyBuild.Geometry.ModelMesh.Read(Stream stream, IReferenceList resources) in X:\TheS4Studio\S4Studio.Shared\IO\BuyBuild\Geometry\ModelMesh.cs:line 161
at S4Studio.Data.IO.BuyBuild.Geometry.ModelLOD.ReadData(Stream stream, IReferenceList references) in X:\TheS4Studio\S4Studio.Shared\IO\BuyBuild\Geometry\ModelLOD.cs:line 61
at S4Studio.Data.IO.Core.LinkedResourceSerializer.GetBlock(Int32 index, LinkedResource resource) in X:\TheS4Studio\S4Studio.Shared\IO\Core\LinkedResourceSerializer.cs:line 287
at S4Studio.Data.IO.Core.LinkedResource.Read(Stream stream) in X:\TheS4Studio\S4Studio.Shared\IO\Core\LinkedResource.cs:line 107
at S4Studio.ViewModels.BuyBuildLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in X:\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Components\Models\BuyBuildLodItem.cs:line 368
at S4Studio.ViewModels.BuyBuildLodItem.<>c__DisplayClass46_0.<ImportMesh>b__0() in X:\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Components\Models\BuyBuildLodItem.cs:line 331
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
There is a new problem with sims 4 studio. I am using the latest version. When you try to import ( even tried a base game living chair to import ) to a massage chair from spa pack or a lounge chair, there is an error below. Cut numbers are correct. And it doesnt happen with other clones. Is it a bug of studio ?
The Sims 4 Studio - Version 3.2.2.9
System.AggregateException: One or more errors occurred. (Model resource does not have the correct length.)
---> System.IO.InvalidDataException: Model resource does not have the correct length.
at S4Studio.Data.IO.BuyBuild.Geometry.ModelMesh.Read(Stream stream, IReferenceList resources) in X:\TheS4Studio\S4Studio.Shared\IO\BuyBuild\Geometry\ModelMesh.cs:line 161
at S4Studio.Data.IO.BuyBuild.Geometry.ModelLOD.ReadData(Stream stream, IReferenceList references) in X:\TheS4Studio\S4Studio.Shared\IO\BuyBuild\Geometry\ModelLOD.cs:line 61
at S4Studio.Data.IO.Core.LinkedResourceSerializer.GetBlock(Int32 index, LinkedResource resource) in X:\TheS4Studio\S4Studio.Shared\IO\Core\LinkedResourceSerializer.cs:line 287
at S4Studio.Data.IO.Core.LinkedResource.Read(Stream stream) in X:\TheS4Studio\S4Studio.Shared\IO\Core\LinkedResource.cs:line 107
at S4Studio.ViewModels.BuyBuildLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in X:\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Components\Models\BuyBuildLodItem.cs:line 368
at S4Studio.ViewModels.BuyBuildLodItem.<>c__DisplayClass46_0.<ImportMesh>b__0() in X:\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Components\Models\BuyBuildLodItem.cs:line 331
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---