Post by squidsimmer on May 17, 2024 19:29:14 GMT -5
Hi, I'm getting this error when trying to import a mesh in the large dog hat category and tested it by exporting the original mesh and importing it back without editing it.
This isn't happening when I try to import a mesh on an outfit file, just the dog hats. Any help would be appreciated!
The Sims 4 Studio - Version 3.2.1.7
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.
at S4Studio.Data.IO.CAS.Geometry.VertexDeclaration.WriteData(Stream stream, Single[] data) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\CAS\Geometry\VertexDeclaration.cs:line 147
at S4Studio.Data.IO.CAS.GeometryResource.WriteData(Stream stream, IReferenceList serializer) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\CAS\Geometry\GeometryResource.cs:line 598
at S4Studio.Data.IO.Core.LinkedResourceSerializer.Write(Stream stream) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Core\LinkedResourceSerializer.cs:line 398
at S4Studio.Data.IO.Core.LinkedResource.Write(Stream stream) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Core\LinkedResource.cs:line 117
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASLODItem.cs:line 196
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass76_0.<ExecuteImportMesh>b__0() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASStandalone.cs:line 443
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
This isn't happening when I try to import a mesh on an outfit file, just the dog hats. Any help would be appreciated!
The Sims 4 Studio - Version 3.2.1.7
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.
at S4Studio.Data.IO.CAS.Geometry.VertexDeclaration.WriteData(Stream stream, Single[] data) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\CAS\Geometry\VertexDeclaration.cs:line 147
at S4Studio.Data.IO.CAS.GeometryResource.WriteData(Stream stream, IReferenceList serializer) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\CAS\Geometry\GeometryResource.cs:line 598
at S4Studio.Data.IO.Core.LinkedResourceSerializer.Write(Stream stream) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Core\LinkedResourceSerializer.cs:line 398
at S4Studio.Data.IO.Core.LinkedResource.Write(Stream stream) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\IO\Core\LinkedResource.cs:line 117
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASLODItem.cs:line 196
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass76_0.<ExecuteImportMesh>b__0() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\CAS\CASStandalone.cs:line 443
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---