Post by mauvemorn on Mar 27, 2023 13:07:39 GMT -5
was trying to import the lod2 of a door (all other meshes imported fine) but got this error message. I can't seem to figure out what is the problem.
The Sims 4 Studio - Version 3.2.0.6
System.AggregateException: One or more errors occurred. (Could not find file 'C:\ProgramData\S4Studio\Scripts\28ddbbf3-7111-4652-aa53-137ec5f1fdae\s4s.out.mlod'.)
---> System.IO.FileNotFoundException: Could not find file 'C:\ProgramData\S4Studio\Scripts\28ddbbf3-7111-4652-aa53-137ec5f1fdae\s4s.out.mlod'.
File name: 'C:\ProgramData\S4Studio\Scripts\28ddbbf3-7111-4652-aa53-137ec5f1fdae\s4s.out.mlod'
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.File.OpenRead(String path)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass46_0.<ImportMesh>b__0()
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 ---
System.AggregateException: One or more errors occurred. (Could not find file 'C:\ProgramData\S4Studio\Scripts\28ddbbf3-7111-4652-aa53-137ec5f1fdae\s4s.out.mlod'.)
---> System.IO.FileNotFoundException: Could not find file 'C:\ProgramData\S4Studio\Scripts\28ddbbf3-7111-4652-aa53-137ec5f1fdae\s4s.out.mlod'.
File name: 'C:\ProgramData\S4Studio\Scripts\28ddbbf3-7111-4652-aa53-137ec5f1fdae\s4s.out.mlod'
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.File.OpenRead(String path)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass46_0.<ImportMesh>b__0()
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 ---
Hi. This is the type of error one gets when the content of the blend does not fully match the original. Lods can differ between themselves in more than the polycount, so you should export the original lod2 and compare everything to yours ( the number of meshgroups, visibility, what bones each of them is affected by, names of uv maps, etc)
As for others, is the palette you're failing to apply old or did you just make it? If old, try to re-import it from the package that already has it and then apply to your current package
As for the last one, try closing all windows of s4s, re-starting it and cloning again.