Page 1 of 1

Use Groups checkbox in Quest (editor) Calls for an exception

Posted: Mon Mar 02, 2020 10:59 am
by Stalker_EG
Good day.
I'm trying to tick the Use Groups checkbox. The following exception is made in the console.
it happened after the 2019.3.3.f1 update.
What could this have to do with?
NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.DrawQuestProperties (PixelCrushers.DialogueSystem.Item item) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowItemSection.cs:349)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.DrawItemPropertiesFirstPart (PixelCrushers.DialogueSystem.Item item) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowItemSection.cs:316)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.DrawAssetSpecificPropertiesFirstPart (PixelCrushers.DialogueSystem.Asset asset) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowAssetSection.cs:138)
PixelCrushers.DialogueSystem.DialogueDatabaseEditor.DrawInspectorSelection () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueDatabaseEditor.cs:167)
PixelCrushers.DialogueSystem.DialogueDatabaseEditor.OnInspectorGUI () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueDatabaseEditor.cs:68)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass55_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Re: Use Groups checkbox in Quest (editor) Calls for an exception

Posted: Mon Mar 02, 2020 2:37 pm
by Tony Li
Hi,

This bug is fixed in the upcoming version 2.2.5. I sent you a private message with a patch.

If you don't want to upgrade to 2.2.5 or use the patch, you can use these steps to bypass the Use Group checkbox:

1. Expand All Fields.
2. Click "+" to add a new field.
3. Change the field's Title to Group.

Re: Use Groups checkbox in Quest (editor) Calls for an exception

Posted: Mon Mar 02, 2020 3:36 pm
by Stalker_EG
The patch worked. Thanks for your quick help!
Please tell me, how soon will 2.5 be out?

Re: Use Groups checkbox in Quest (editor) Calls for an exception

Posted: Mon Mar 02, 2020 3:47 pm
by Tony Li
The target date is the early part of next week.