[SOLVED]Cannot find Dialogue System Quest Machine Bridge

Announcements, support questions, and discussion for the Dialogue System.
mschoenhals
Posts: 118
Joined: Thu Dec 19, 2019 7:38 am

[SOLVED]Cannot find Dialogue System Quest Machine Bridge

Post by mschoenhals »

Hi,
I've now purchased the Dialogue System (having previously purchased Quest Machine) and would like to integrate it into my RPG. In the Quest Machine - Tutorial 6 video, it says to add a "Dialogue System Quest Machine Bridge." I cannot find this script anywhere in the folder (I've searched in and out of Unity). Where do I find this script?

Is there any further information concerning the integration of Dialogue System and Quest Machine?
Last edited by mschoenhals on Tue Aug 18, 2020 9:50 am, edited 1 time in total.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cannot find Dialogue System Quest Machine Bridge

Post by Tony Li »

Hi,

Thanks for buying the Dialogue System! Please import the "Dialogue System Support" unitypackage that is in Plugins / Pixel Crushers / Quest Machine / Third Party Support. This will add the "Dialogue System Quest Machine Bridge" to your project in the folder Plugins / Pixel Crushers / Quest Machine / Third Party Support / Dialogue System Support. This folder will also contain a PDF manual containing details and instructions.
mschoenhals
Posts: 118
Joined: Thu Dec 19, 2019 7:38 am

Re: Cannot find Dialogue System Quest Machine Bridge

Post by mschoenhals »

Yes, I did find that support package and install it. However, the script does not show up. I think I imported the Dialogue System in first; how do I get the support package to work if the dialogue system is already installed?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cannot find Dialogue System Quest Machine Bridge

Post by Tony Li »

Hi,

Are the Dialogue System and Quest Machine both imported into the project? (As well as Quest Machine's Dialogue System Support package)

Are there any errors or warnings in the Console window?
mschoenhals
Posts: 118
Joined: Thu Dec 19, 2019 7:38 am

Re: Cannot find Dialogue System Quest Machine Bridge

Post by mschoenhals »

Ok, it now shows up. I reinstalled the Third Party Support package.

I do have an error in the console:
Assets\Plugins\Pixel Crushers\Quest Machine\Scripts\CheckQuestState.cs(8,33): warning CS0649: Field 'CheckQuestState.prefabOfNPC' is never assigned to, and will always have its default value null
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cannot find Dialogue System Quest Machine Bridge

Post by Tony Li »

That's just a harmless informational compiler message. I've gotten rid of it for the next update, which will be published on Monday.
mschoenhals
Posts: 118
Joined: Thu Dec 19, 2019 7:38 am

Re: Cannot find Dialogue System Quest Machine Bridge

Post by mschoenhals »

I now get a new error with adding the DialogueSystemQuestDialogueUI script to the Quest Machine. The error states "Can't add script behaviour AssemblyInfo.cs. The script needs to derive from Monobehaviour!"

I was able to add the DialogueSystemQuestMachineBridge to the Dialogue Manager just prior to this new error. I checked to see if I missed a Quest Machine update but that doesn't appear to be the case.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cannot find Dialogue System Quest Machine Bridge

Post by Tony Li »

Hi,

Does the integration's demo scene work? (Quest Machine Dialogue System Demo)

Try deleting the Plugins/Pixel Crushers/Quest Machine/Third Party Support/Dialogue System Support folder and reimporting. It sounds like something happened to cause a compilation issue or something like that.
mschoenhals
Posts: 118
Joined: Thu Dec 19, 2019 7:38 am

Re: Cannot find Dialogue System Quest Machine Bridge

Post by mschoenhals »

The demo scene does not appear to work other than I can run around but can't talk with the npc's. I deleted the folder and reimported it. I still get the same error. I cannot add the script from the Add Component on the Quest Machine as it does not see the script file. However, when I search the assets folder, I do find the script and I've been trying to drag it to the Quest Machine in the inspector.

In the console, the following error is listed:

DirectoryNotFoundException: Could not find a part of the path "D:\User Files\Fred\SD43 OneDrive\OneDrive - School District 43 (Coquitlam)\3_Unity RPG\repos\Lego RPG New\Assets\Plugins\Pixel Crushers\Quest Machine\Third Party Support\Dialogue System Support\Scripts\Quest UIs\Dialogue System Quest Alert UI\DialogueSystemQuestAlertUI.cs"
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
System.IO.StreamReader..ctor (System.String path) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
(wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
System.IO.File.ReadAllText (System.String path) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
UnityEditor.Scripting.Compilers.CSharpLanguage.ReadAndConverteNewLines (System.String filePath) (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/CSharpLanguage.cs:152)
UnityEditor.Scripting.Compilers.CSharpLanguage.GetNamespaceNewRuntime (System.String filePath, System.String definedSymbols, System.String[] defines) (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/CSharpLanguage.cs:91)
UnityEditor.Scripting.Compilers.CSharpLanguage.GetNamespace (System.String filePath, System.String definedSymbols) (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/CSharpLanguage.cs:133)
UnityEditor.Scripting.ScriptCompilers.GetNamespace (System.String file, System.String definedSymbols) (at C:/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilers.cs:112)
mschoenhals
Posts: 118
Joined: Thu Dec 19, 2019 7:38 am

Re: Cannot find Dialogue System Quest Machine Bridge

Post by mschoenhals »

Hi Tony,

Looks like it was an issue with running it off of OneDrive. I suspect that some of the directories are greater than 256 characters in length. I took it out of oneDrive, put it in a root folder, reimported the Dialogue System Support and it now works.
Post Reply