Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Announcements, support questions, and discussion for the Dialogue System.
NPixey
Posts: 13
Joined: Mon Jan 17, 2022 1:21 pm

Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by NPixey »

Hello all
I'm following this tutorial on how to begin with dialog system... But Dialogue Editor window panel doesn't appear

Dialogue System for Unity 2.x Quick Start
https://www.youtube.com/watch?v=W8NmFF1H0wU&t=4s
Ive:
1)Dragged in Dialog manager prefab
2)Created Database , after naming database,
3) inspect the Dialogue Manager Game Object again. Clicked the Edit button or the Dialogue - this shows inspector panel same as 1:18 - but no editor panel with conversations.
at 1:18 my inspector panel looks the same - but no"Dialoog editor" Panel.
I've also tried to open it: Tools → Pixel Crushers → Dialogue System → Dialogue Editor


Scene is:
Main cam
Directional light
Dialogue Manager

In the windows panel I can see a "dialog panel" Window> Panels>Dialog
I'm not sure if that is the editor panel im looking for:- but I can't find it on-screen anywhere (I have very wide screen so perhaps it is off screen?)..


I do have some console warnings, but I don't understand them very well
Sorry i'm a newbie.


Debug:
NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.GetConversationTitles () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/Nodes/DialogueEditorWindowConversationNodeEditorTopControls.cs:387)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.UpdateConversationTitles () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/Nodes/DialogueEditorWindowConversationNodeEditorTopControls.cs:443)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.ValidateConversationMenuTitleIndex () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/Nodes/DialogueEditorWindowConversationNodeEditorTopControls.cs:68)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.ResetConversationNodeSection () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/Nodes/DialogueEditorWindowConversationNodeEditorTopControls.cs:63)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.ResetConversationSection () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowConversationSection.cs:116)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.Reset () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:266)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.SelectObject (UnityEngine.Object obj) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:240)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.OnSelectionChange () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:222)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow.OpenDialogueEditorWindow () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindow.cs:21)
PixelCrushers.DialogueSystem.DialogueSystemControllerEditor.DrawDatabaseField () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Inspectors/Manager/DialogueSystemControllerEditor.cs:149)
PixelCrushers.DialogueSystem.DialogueSystemControllerEditor.OnInspectorGUI () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Inspectors/Manager/DialogueSystemControllerEditor.cs:77)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <1ada6c7052bb42378c5ec1bd01fc4723>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Thanks for any help.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by Tony Li »

Hi,

Thanks for including that error message and your clear reproduction steps. The error message is the reason why the Dialogue Editor panel isn't working.

What version of the Dialogue System are you using? You can check it in menu item Tools > Pixel Crushers > Dialogue System > Welcome Window.

Would you please try creating a dialogue database again? Something may have gone wrong the first time.

Please let me know if you can edit conversations in the new database.

If not, please download and import this patch, and then try again:

DS_DialogueEditorPatch_2022-01-17.unitypackage
NPixey
Posts: 13
Joined: Mon Jan 17, 2022 1:21 pm

Re: Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by NPixey »

Thankyou Tony for the quick reply It's appreciated <3
I'm running Dialog system version 2.2.24


I reinstalled reinstalled Dialog system from package manager and applied patch
Assets>Import package> "DS_DialogueEditorPatch_2022-01-17.unitypackage"
Restarted unity.

Added Dialogue manager to scene
Created Dialogue database - this Dialog database has no console error :)

Currently Dialog databases are not editable.
(from the video 1:17 it seems to open the dialog box automatically on creation of the database? - Or did I see that wrong?) If I Click on the Dialog manager (in the scene)and go to edit the database I can only access menu pictured but not the dialog editor.

Tested it with the provided demo database just in case my created databases were wrong somehow. The demos also can't be opened/edited. Refreshed scripts and wrappers folders (just in case)



Access menu
I have tried to access the dialogue editor menu through Tools> Pixel Crushers> Dialogue System> Dialogue editor too. none appear


Any ideas appreciated. and sorry for the hassle.
Kind regards N
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by Tony Li »

Hi,

Just so I understand, are you saying that the window shown below doesn't appear at all?

dialogueEditorWindow.png
dialogueEditorWindow.png (148.53 KiB) Viewed 1618 times

If that's the case, is it possible that the window is actually open somewhere but it's obscured by some other window?
NPixey
Posts: 13
Joined: Mon Jan 17, 2022 1:21 pm

Re: Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by NPixey »

Hi Tony
One other thing that might be relevant?
I read another user had trouble with wide screen (I also have very wide screen)
I can see some kind of dialogue menu in Window> Panels> Dialogue - but it doesn't appear anywhere I can see?

My screen and visible panels - Sorry I really can't find where the dialog can be hiding, but I know it is there the window menu says so!


other than that I can't think what else to look at.
for sure this last problem my setup... (but at least the reinstall fixed the dialog database error I had
:)

Will wait to see what you think
Thanks again.
Last edited by NPixey on Mon Jan 17, 2022 5:21 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by Tony Li »

Hi,

In the upper right of the Unity editor, select Layout > Default. Then try to open the Dialogue Editor window.

If that doesn't work, you can try setting your Unity editor layout configuration. To do that, select Layout > Reset All Layouts.

Please let me know if either of those work.
NPixey
Posts: 13
Joined: Mon Jan 17, 2022 1:21 pm

Re: Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by NPixey »

Hi hi
I Reset all window layouts

tried to open the Dialogue Editor window:
In scene Dialogue manger> Initial database > edit (hope that is correct way to open the dialogue editor)

Also tried through menu...
And tried by creating a new asset, just in case.

No editor appears on any of the panels or on screen even though in the window panels it says there should be a dialogue editor? Perhaps I'm I looking somewhere wrong, it's possible! Although I can't see it anywhere on the panels.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by Tony Li »

Hi,

Please try these steps:

1. Select Layout > Reset All Layouts again.

2. Download and import this unitypackage:

ResetEditorPrefs_2022-01-17.unitypackage

3. The unitypackage will add a new menu item Tools > Reset Editor Prefs. Select this menu item.

Then try opening the dialogue database again.

It's possible that the Dialogue Editor window somehow moved to a screen position that isn't actually visible onscreen. The Tools > Reset Editor Prefs menu item will reset the Dialogue Editor's window position as well as other editor settings such as the Welcome Window's 'Show At Start' checkbox.
NPixey
Posts: 13
Joined: Mon Jan 17, 2022 1:21 pm

Re: Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by NPixey »

Thankyou so much Tony for so patiently helping me to get it working!

The fix didn't work initially, but I deleted entire project and created a new one, adding both packages and resetting screen layout. I'm not sure why that worked - but it seems to have been the solution.
I hope this info helps others overcome the same problem if they encounter it.

Packages installed
ResetEditorPrefs_2022-01-17.unitypackage
DS_DialogueEditorPatch_2022-01-17.unitypackage

.·:·.✧ ✦ ✧.·:·. That worked :)
I think you're awesome and I'm sorry for interrupting your evening!
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue Editor window panel doesn't appear? clean install in unity 2020.3.24f1

Post by Tony Li »

Happy to help! I'm glad you were able to get it all working. Thanks for your patience with it.
Post Reply