You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UnityEngine.MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
at (wrapper managed-to-native) UnityEngine.GameObject.GetComponentsInternal(UnityEngine.GameObject,System.Type,bool,bool,bool,bool,object)
at UnityEngine.GameObject.GetComponents[T] () [0x00001] in <cb81df0c49c643b1a04d9fc6ccca2433>:0
at Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.FindUnusedObjectsProcessor.Mark (Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.GCComponentInfoHolder componentInfos) [0x000bd] in .\Packages\com.anatawa12.avatar-optimizer\Editor\Processors\TraceAndOptimize\FindUnusedObjectsProcessor.cs:251
at Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.FindUnusedObjectsProcessor.ProcessNew () [0x0000d] in .\Packages\com.anatawa12.avatar-optimizer\Editor\Processors\TraceAndOptimize\FindUnusedObjectsProcessor.cs:93
at Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.FindUnusedObjects.Execute (nadena.dev.ndmf.BuildContext context, Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.TraceAndOptimizeState state) [0x00012] in .\Packages\com.anatawa12.avatar-optimizer\Editor\Processors\TraceAndOptimize\FindUnusedObjectsProcessor.cs:18
at Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.TraceAndOptimizePass`1[T].Execute (nadena.dev.ndmf.BuildContext context) [0x00010] in .\Packages\com.anatawa12.avatar-optimizer\Internal\TraceAndOptimizeBase\TraceAndOptimizeProcessor.cs:103
at nadena.dev.ndmf.Pass`1[T].nadena.dev.ndmf.IPass.Execute (nadena.dev.ndmf.BuildContext context) [0x00000] in .\Packages\nadena.dev.ndmf\Editor\API\Fluent\Pass.cs:64
at nadena.dev.ndmf.ConcretePass.Execute (nadena.dev.ndmf.BuildContext context) [0x00000] in .\Packages\nadena.dev.ndmf\Editor\API\Solver\PluginResolver.cs:39
at nadena.dev.ndmf.BuildContext.RunPass (nadena.dev.ndmf.ConcretePass pass) [0x00124] in .\Packages\nadena.dev.ndmf\Editor\API\BuildContext.cs:325
at (wrapper managed-to-native) UnityEngine.GameObject.GetComponentsInternal(UnityEngine.GameObject,System.Type,bool,bool,bool,bool,object)
at UnityEngine.GameObject.GetComponents[T] () [0x00001] in <cb81df0c49c643b1a04d9fc6ccca2433>:0
at Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.FindUnusedObjectsProcessor.Mark (Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.GCComponentInfoHolder componentInfos) [0x000bd] in .\Packages\com.anatawa12.avatar-optimizer\Editor\Processors\TraceAndOptimize\FindUnusedObjectsProcessor.cs:251
at Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.FindUnusedObjectsProcessor.ProcessNew () [0x0000d] in .\Packages\com.anatawa12.avatar-optimizer\Editor\Processors\TraceAndOptimize\FindUnusedObjectsProcessor.cs:93
at Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.FindUnusedObjects.Execute (nadena.dev.ndmf.BuildContext context, Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.TraceAndOptimizeState state) [0x00012] in .\Packages\com.anatawa12.avatar-optimizer\Editor\Processors\TraceAndOptimize\FindUnusedObjectsProcessor.cs:18
at Anatawa12.AvatarOptimizer.Processors.TraceAndOptimizes.TraceAndOptimizePass`1[T].Execute (nadena.dev.ndmf.BuildContext context) [0x00010] in .\Packages\com.anatawa12.avatar-optimizer\Internal\TraceAndOptimizeBase\TraceAndOptimizeProcessor.cs:103
at nadena.dev.ndmf.Pass`1[T].nadena.dev.ndmf.IPass.Execute (nadena.dev.ndmf.BuildContext context) [0x00000] in .\Packages\nadena.dev.ndmf\Editor\API\Fluent\Pass.cs:64
at nadena.dev.ndmf.ConcretePass.Execute (nadena.dev.ndmf.BuildContext context) [0x00000] in .\Packages\nadena.dev.ndmf\Editor\API\Solver\PluginResolver.cs:39
at nadena.dev.ndmf.BuildContext.RunPass (nadena.dev.ndmf.ConcretePass pass) [0x00124] in .\Packages\nadena.dev.ndmf\Editor\API\BuildContext.cs:325
The text was updated successfully, but these errors were encountered:
ColorlessColor
changed the title
'TraceAndOptimizeState.Exclusions' contains destroyed GameObjects if objects in the list are destroyed by the AAO Merge Skinned RendererTraceAndOptimizeState.Exclusions contains destroyed GameObjects if objects in the list are destroyed by the AAO Merge Skinned Renderer
Dec 3, 2024
The text was updated successfully, but these errors were encountered: