Page 2 of 2
Re: Cannot find Dialogue System Quest Machine Bridge
Posted: Fri Aug 14, 2020 4:35 pm
by Tony Li
Hi,
Glad you found the issue. Unity doesn't handle long file paths very well.
Re: Cannot find Dialogue System Quest Machine Bridge
Posted: Sat Aug 15, 2020 10:28 am
by mschoenhals
Any idea why I might be getting an error when Dialogue System tries to load the Auto-Backup.asset:
Failed to unload 'Assets/Plugins/Pixel Crushers/Dialogue System/Database/Ezmore Dialogue Database (Auto-Backup).asset'
UnityEditor.AssetDatabase:DeleteAsset(String)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:MakeAutoBackup() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:501)
PixelCrushers.DialogueSystem.DialogueEditor.DialogueEditorWindow:Update() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Dialogue Editor/DialogueEditorWindowMain.cs:282)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
Re: Cannot find Dialogue System Quest Machine Bridge
Posted: Sat Aug 15, 2020 11:30 am
by mschoenhals
Also, I've been checking out the Third Party Support Demo (Quest Machine Dialogue System Demo) to see how the integration works. I created a new project, and imported both Quest Machine and the Dialogue System. I ran the Dialogue System Support asset package and then opened up the demo. There's no errors and I can run around the screen with the player. When I approach the villager or knight, I get the old pop up saying "Johann the Farmer often needs help on the farm" or "This is a knight." Is there more to this demo? How is the conversation initiated?
I'm currently using Unity 2018.4.5f1 - the same for my own game project. Is that the issue? I also tried version 2019.3.6f1 - I don't even get the initial Quest Machine screens when approaching NPC's.
Re: Cannot find Dialogue System Quest Machine Bridge
Posted: Sat Aug 15, 2020 1:12 pm
by Tony Li
Hi,
mschoenhals wrote: ↑Sat Aug 15, 2020 10:28 amAny idea why I might be getting an error when Dialogue System tries to load the Auto-Backup.asset:
Failed to unload 'Assets/Plugins/Pixel Crushers/Dialogue System/Database/Ezmore Dialogue Database (Auto-Backup).asset'
That means Unity is unable to delete that old backup file in order to copy the current Ezmore Dialogue Database to the same name as a new backup file.
If you want to temporarily get rid of the error, open the Dialogue Editor window. On the Database page, expand Editor Settings, and set Auto Backup Frequency to zero (disabled). However, this means it won't create timed automatic backups. Ultimately, if you want automatic backups, you'll need to identify why Unity can't delete that file. Maybe your disk is full, or the file is somehow marked read-only?
mschoenhals wrote: ↑Sat Aug 15, 2020 11:30 amAlso, I've been checking out the Third Party Support Demo (Quest Machine Dialogue System Demo) to see how the integration works. I created a new project, and imported both Quest Machine and the Dialogue System. I ran the Dialogue System Support asset package and then opened up the demo. There's no errors and I can run around the screen with the player. When I approach the villager or knight, I get the old pop up saying "Johann the Farmer often needs help on the farm" or "This is a knight." Is there more to this demo? How is the conversation initiated?
I'm currently using Unity 2018.4.5f1 - the same for my own game project. Is that the issue?
Did you play the scene 'Quest Machine Dialogue System Demo'? It will work with any Unity version 2018.4.0 or higher (including 2020.1). When you interact with an NPC in the same way as the original Quest Machine Demo scene, it should show a conversation:
- qm_ds_demo.png (377.05 KiB) Viewed 512 times
Maybe the Console window is hiding errors. Check the three filter buttons in the upper right of the Console window (info, warning, and error). Make sure they're all enabled to show logs.
Re: Cannot find Dialogue System Quest Machine Bridge
Posted: Sat Aug 15, 2020 3:37 pm
by mschoenhals
Thanks Tony.
I disabled the backup for now. The drive isn't full so I'm not sure why I'm getting that error. I couldn't get the demo working - I don't get the conversation. Checked the console and all error logs are selected. However, I have been able to implement the Dialogue System into my own game with Quest Machine so I'm just going to push on with the design.
Thanks very much for your help.
Re: Cannot find Dialogue System Quest Machine Bridge
Posted: Sat Aug 15, 2020 4:13 pm
by Tony Li
Maybe something happened to the version of the example scene in your project. If you want to revisit it in the future, I recommend deleting and reimporting the example scene from the Dialogue System Support package.