Page 1 of 1

Error with Adventure Creator Bridge

Posted: Tue Dec 15, 2020 4:43 pm
by Adam_LM
Hello, very new to Pixel Crushers' Dialogue System, and excited to get started with it! Unfortunately, when I followed the steps to install with third party support for Adventure Creator (https://www.pixelcrushers.com/dialogue_ ... atorBridge), there is no Adventure Creator Bridge listed under Components, and I can no longer go into Play Mode, getting the following error message:

Assets/Pixel Crushers/Dialogue System/Third Party Support/Adventure Creator Support/Scripts/AdventureCreatorBridge.cs(562,49): error CS1061: 'RuntimeInventory' does not contain a definition for 'GetInstance' and no accessible extension method 'GetInstance' accepting a first argument of type 'RuntimeInventory' could be found (are you missing a using directive or an assembly reference?)

Additionally, when I checked AdventureCreator's PersistentEngine prefab, it says that it has missing scripts.

Luckily I have backed up the project and can restart, but this was my third time trying to import the Dialogue System into my Adventure Creator project and am wondering what I might be doing wrong.

My most successful try was my first one, in which these things were initially working. I made the mistake of trying to delete and reimport the Dialogue System assets and this is when these issues started. However, I have completely redownloaded and opened an archived version of my project, and the issues persists. So I am wondering if there is a way to fix this problem or otherwise to start fresh with the Dialogue System. Thanks for reading and for your time.

Re: Error with Adventure Creator Bridge

Posted: Tue Dec 15, 2020 5:00 pm
by Tony Li
Hi,

What versions of Adventure Creator, Dialogue System, and Unity are you using?

To identify the Dialogue System version, look at the file Assets / Plugins / Pixel Crushers / Dialogue System / _README.txt.

Re: Error with Adventure Creator Bridge

Posted: Wed Dec 16, 2020 10:17 pm
by Adam_LM
Hi,
Thanks for responding, I'm on
Unity Version 2020.1.1f1 and
Adventure Creator Version 1.72.4.
Dialogue System for Unity Version 2.2.14

Re: Error with Adventure Creator Bridge

Posted: Thu Dec 17, 2020 9:34 am
by Tony Li
Hi,

It sounds like you may be using an old version of Adventure Creator. Would you please try the following:
  • In an OS file explorer window (e.g., Windows Explorer or Mac Finder), navigate to the Asset Store download folder:
    • Windows - User>AppData>Roaming>Unity> Asset Store-5.x
    • Mac - User>Library>Unity>Asset Store-5.x
  • In the Pixel Crushers subfolder structure, delete the Dialogue System unitypackage.
  • In the ICEBOX Studios subfolder structure, delete the Adventure Creator unitypackage.
  • Create a new, empty Unity 2020 project.
  • From the Package Manager window, download and import Adventure Creator and the Dialogue System.
  • In the Project view, navigate to Plugins / Pixel Crushers / Dialogue System / Third Party Support. Import the Adventure Creator Support unitypackage.

Re: Error with Adventure Creator Bridge

Posted: Mon Dec 28, 2020 1:40 am
by Adam_LM
Hi Tony,
Thanks for your help, and sorry for my delay in responding. I was up to date with Adventure Creator, but I followed the steps you mentioned to reset the program and that definitely helped. Now, when I try to follow the installation instructions for third party support - Adventure Creator, I am running into an issue where I cannot add the Adventure Creator Bridge to the Dialogue manager. When I do, I get the error message:

"Can't add script component 'AdventureCreatorBridge' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match."

Additionally, the Unity console window gives the following error: Assets/Pixel Crushers/Dialogue System/Third Party Support/Adventure Creator Support/Scripts/AdventureCreatorBridge.cs(486,60): error CS1061: 'RuntimeInventory' does not contain a definition for 'GetInstance' and no accessible extension method 'GetInstance' accepting a first argument of type 'RuntimeInventory' could be found (are you missing a using directive or an assembly reference?)

I was wondering if you had ideas on what might be causing the issue.

Thanks,
Adam

Re: Error with Adventure Creator Bridge

Posted: Mon Dec 28, 2020 8:38 am
by Tony Li
Hi,

That error means your project has an older version of Adventure Creator.

Unity's Package Manager window currently has a bug. Even if you click the "Update" button, it won't download updated versions of assets. It will keep the old version and import it into your project. Unity's Asset Store team is aware of the issue. They're working on a fix.

In the meantime, delete the old package from your Asset Store cache folder. The folder is located here:

https://answers.unity.com/questions/690 ... -from.html

For example, on Windows the folder will be:

C:\Users\[user]\AppData\Roaming\Unity\Asset Store-5.x\ICEBOX Studios\Editor ExtensionsGame Toolkits\

Then you can download the actual current version of Adventure Creator from the Asset Store.

Re: Error with Adventure Creator Bridge

Posted: Mon Dec 28, 2020 10:18 pm
by Adam_LM
Hi Tony, that fixed the problem. Thanks for your help!

Re: Error with Adventure Creator Bridge

Posted: Mon Dec 28, 2020 10:24 pm
by Tony Li
Glad to help!