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

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Stalker_EG
Posts: 31
Joined: Sun Jul 07, 2019 7:57 pm

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

Post 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)
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
User avatar
Stalker_EG
Posts: 31
Joined: Sun Jul 07, 2019 7:57 pm

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

Post by Stalker_EG »

The patch worked. Thanks for your quick help!
Please tell me, how soon will 2.5 be out?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

The target date is the early part of next week.
Post Reply