Jump to content

jessefreeman

Members
  • Content count

    8
  • Joined

  • Last visited

Everything posted by jessefreeman

  1. jessefreeman

    ProGroups Throwing Errors In Project

    I have been using progroups for a few weeks and recently something got corrupted when I was refactoring and now it throws errors and nothing I do appears to stop it. I tried commenting out the line which offers a temporary fix. I've also removed and reinstalled the plugin and the error returns. I've also seen another error, which of course I can't find right now complaining about some kind of mapping issue. How can I fully remove this plugin and it's meta data from my project and start over? I wasn't able to figure out where you store the group data which appears to be corrupted. - Jesse
  2. jessefreeman

    ProGroups Throwing Errors In Project

    I'm continuing to have issues with the following errors above. I rebuilt all the groups from as close to scratch as I could get it and I guess I may have changed a few items in the hierarchy, not sure, but back to the errors. Something with the way you are handling the method with line 234 is overly sensitive to any changes in the hierarchy.
  3. jessefreeman

    ProGroups Throwing Errors In Project

    Interesting about the hidden gameobjects. I saw some reference to a gameobject while digging through the code but didn't know you can do that. I'd suggest a button that allows you to delete all groups or reset the plugin. Having that as an option would have solved the bulk of my problems. Thanks, Jesse
  4. jessefreeman

    ProGroups Throwing Errors In Project

    Well finally got rid of all the groups. I commented out the compiler conditional on line 234, deleted the group giving the error, and reinstalled the plugin again. It's strange that it keeps the data even when I delete everything but it looks like you need a better check in the remove group code to make sure the reference is no longer null. I did a big refactor a while back where I delete a few GameObjects that must have been in the groups. Either way it appears to be fixed now and I am just rebuilding my groups from scratch.
  5. jessefreeman

    ProGroups Throwing Errors In Project

    One last thing, I just created a new group and tried to delete the only remaining one which is giving me the error. Here is what happened when I tried that: NullReferenceException: Object reference not set to an instance of an object ProGroups.GroupContainer.RemoveGroup (Int32 i) (at Assets/ProCore/ProGroups/Scripts/InScene/GroupContainer.cs:234) ProGroups.ProGroups_Window.OnGUI () (at Assets/ProCore/ProGroups/Scripts/Editor/ProGroups_Window.cs:320) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
  6. jessefreeman

    ProGroups Throwing Errors In Project

    So this is strange. I tried your code but didn't help. Then I commented out line 32 again and one group is left from my previous project which doesn't allow me to delete it. Plus that is probably the one that has the error in it. What I don't understand is why when I delete the plugin from my project and reinstall the old groups are still saved. Where is this data written to in my project so I can delete that as well and try again? Thanks, Jesse
  7. jessefreeman

    ProGroups Throwing Errors In Project

    I've just deleted all the groups, removed the plugin and its .meta file and reinstalled with the latest version from Asset Store. It's now throwing the following error as soon as I open the window and keeps erroring out. NullReferenceException: Object reference not set to an instance of an object ProGroups.Group.<RemoveNullOrEmpty>m__11 (UnityEngine.GameObject x) (at Assets/ProCore/ProGroups/Scripts/InScene/GroupContainer.cs:32) System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[UnityEngine.GameObject].MoveNext () System.Collections.Generic.List`1[UnityEngine.GameObject].AddEnumerable (IEnumerable`1 enumerable) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:128) System.Collections.Generic.List`1[UnityEngine.GameObject]..ctor (IEnumerable`1 collection) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:65) System.Linq.Enumerable.ToArray[GameObject] (IEnumerable`1 source) ProGroups.Group.RemoveNullOrEmpty () (at Assets/ProCore/ProGroups/Scripts/InScene/GroupContainer.cs:32) ProGroups.GroupContainer.Clean () (at Assets/ProCore/ProGroups/Scripts/InScene/GroupContainer.cs:305) ProGroups.ProGroups_Window.OnGUI () (at Assets/ProCore/ProGroups/Scripts/Editor/ProGroups_Window.cs:256) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) So I can't figure out how to get this to do a clean re-install at this point. Thanks, Jesse
  8. jessefreeman

    ProGroups Throwing Errors In Project

    Yes that is the line. I've actually deleted the folder, updated and reinstalled but same problem and all my selection are restored once I comment out that line of code. When I get around to it I'll delete group one by one and try again. I have a dozen or so groups I'd rather not rebuild from scratch. Thanks for the reply, Jesse
×