State Sets errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have been running into this problem often, and have just been dealing with it by redoing my state sets...
I keep getting this error after I save and quit 3DS MAX. I open my file and this is what I am greeted with:
System.ApplicationException: Reference target handle wasn't initialized for Autodesk.Max.StateSets.Entities.StateSets.Rendering.RenderElement, can't retrieve instance
at Autodesk.Max.StateSets.Entities.ReferenceTarget.RestoreReferenceTargetFromAnchor()
at Autodesk.Max.StateSets.Entities.ReferenceTarget.set_Enabled(Boolean value)
at Autodesk.Max.StateSets.Entities.Entity.InsertChildThreadUnsafe(Int32 index, Entity entity, Boolean autoGenerated, Boolean broadcastEvent)
at Autodesk.Max.StateSets.Entities.Entity.AddChild(Entity entity, Boolean autoGenerated, Boolean broadcastEvent)
at Autodesk.Max.StateSets.Entities.Entity.ChildAddWithConfiguration(Entity parentConfiguration, Entity child, Boolean autoGenerated)
at Autodesk.Max.StateSets.Entities.Entity.GenerateCustomChildren(Entity target)
at Autodesk.Max.StateSets.Entities.Entity.GenerateChildrenForTarget(Entity target)
at Autodesk.Max.StateSets.Entities.Entity.get_Children()
at Autodesk.Max.StateSets.Entities.StateSets.Rendering.State.get_AutomaticName()
at Autodesk.Max.StateSets.Entities.Entity.get_Identifiers()
at Autodesk.Max.StateSets.Entities.Layout.Configuration.FindConfigurationFor(Entity target, String generateChildrenMethod)
at Autodesk.Max.StateSets.Entities.Entity.GetLayoutConfiguration(String childGenerationMethod)
at Autodesk.Max.StateSets.Entities.Entity.ChildAddWithConfiguration(Entity parentConfiguration, Entity child, Boolean autoGenerated)
at Autodesk.Max.StateSets.Entities.Entity.GenerateCustomChildren(Entity target)
at Autodesk.Max.StateSets.Entities.Entity.GenerateChildrenForTarget(Entity target)
at Autodesk.Max.StateSets.Entities.Entity.get_Children()
at Autodesk.Max.StateSets.Entities.StateSets.StateSet.FindPaths(StateSet targetStateSet, List`1 currentPath, List`1 destination)
at Autodesk.Max.StateSets.Entities.StateSets.StateSet.GetAllPaths()
at Autodesk.Max.StateSets.Entities.StateSets.StateSet.get_IsInstanced()
at Autodesk.Max.StateSets.Views.Tree.Autodesk.Max.StateSets.IObjectNodeControlMaintainable.InsertNode(Int32 index, IEditableNodeContainer parentContainer, Entity child)
at Autodesk.Max.StateSets.ObjectNodeControlMaintainer.UpdateFromEntityMain(IEditableNodeContainer nodeContainer)
at Autodesk.Max.StateSets.ObjectNodeControlMaintainer.UpdateFromEntityMain(IEditableNodeContainer nodeContainer)
at Autodesk.Max.StateSets.Views.Tree.AssignEntity(View entity)
at Autodesk.Max.StateSets.Entities.View.ValidateView()
at Autodesk.Max.StateSets.MainFrame.UpdateViewsFromEntity()
at Autodesk.Max.StateSets.Plugin.Global_FilePostOpen(IntPtr obj, IntPtr info)
I don't know if there is a work around, of if i shouldn't close my file until I am done with my project and hope there are no revisions to be done..