Post by psyuk on Mar 18, 2024 5:40:11 GMT -5
I'm trying to recolour a piece of CC, but when I go to clone it, I get this error message:
The Sims 4 Studio - Version 3.2.1.5
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.Core.CloneEngine.CloneModel(CloneObjectOptions opts, IResourceProvider game, Boolean& swatchable, Model model, IDBPFPackage result, String hash_salt, String original_variant, ObjectDefinitionResource master_objd, List`1 variants) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Core\CloneEngine.cs:line 1038
at S4Studio.Core.CloneEngine.CloneObj(IDBPFPackage result, String hash_salt, CloneObjectOptions opts, IStringTableCache global_stbl, IResourceProvider game, Sims4FileTable game_filetable, UInt64 instance, String creator, Boolean& swatchable) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Core\CloneEngine.cs:line 769
at S4Studio.Shared.ObjectFeatureViewModel.Clone(IDBPFPackage package, String hash, IEnumerable`1 selected_prototypes) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\App\Features\ObjectFeatureViewModel.cs:line 108
at S4Studio.Shared.FeatureViewModel.<>c__DisplayClass28_0.<CreateItem>b__0() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\App\Features\FeatureViewModel.cs:line 100
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 ---
The Sims 4 Studio - Version 3.2.1.5
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.Core.CloneEngine.CloneModel(CloneObjectOptions opts, IResourceProvider game, Boolean& swatchable, Model model, IDBPFPackage result, String hash_salt, String original_variant, ObjectDefinitionResource master_objd, List`1 variants) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Core\CloneEngine.cs:line 1038
at S4Studio.Core.CloneEngine.CloneObj(IDBPFPackage result, String hash_salt, CloneObjectOptions opts, IStringTableCache global_stbl, IResourceProvider game, Sims4FileTable game_filetable, UInt64 instance, String creator, Boolean& swatchable) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Core\CloneEngine.cs:line 769
at S4Studio.Shared.ObjectFeatureViewModel.Clone(IDBPFPackage package, String hash, IEnumerable`1 selected_prototypes) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\App\Features\ObjectFeatureViewModel.cs:line 108
at S4Studio.Shared.FeatureViewModel.<>c__DisplayClass28_0.<CreateItem>b__0() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\App\Features\FeatureViewModel.cs:line 100
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 ---