Adventure Creator integration issue

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Ollymuk
Posts: 39
Joined: Wed Oct 14, 2020 12:59 pm

Adventure Creator integration issue

Post by Ollymuk »

Hi Tony

I'm trying to migrate an older project to Adventure Creator and I get this error;

Assets\Pixel Crushers\Dialogue System\Third Party Support\Adventure Creator Support\Scripts\AdventureCreatorBridge.cs(621,29): error CS0117: 'GlobalVariables' does not contain a definition for 'SetStringValue'

I'm using AC version 1.81.7 and Unity version 2022.3.4.f1 and DS version 2.2.49

Any ideas?

Olly
User avatar
Tony Li
Posts: 21926
Joined: Thu Jul 18, 2013 1:27 pm

Re: Adventure Creator integration issue

Post by Tony Li »

Hi Olly,

Import DS 2.2.49's updated Adventure Creator Support unitypackage if you haven't already. That should fix it.
Ollymuk
Posts: 39
Joined: Wed Oct 14, 2020 12:59 pm

Re: Adventure Creator integration issue

Post by Ollymuk »

When I try the support package again from the Plugins/Pixel Crushers/xxxx/Third Party Support folders (I have both DS and QM)it says that there is nothing new to import.

If I remove the Adventure Creator folder and try to reinstall the third party support package again, everything installs, but I get the same error, from both QM and DS.

This is using the third party package from 2.2.49.

Olly
Ollymuk
Posts: 39
Joined: Wed Oct 14, 2020 12:59 pm

Re: Adventure Creator integration issue

Post by Ollymuk »

Righto, it appears I have a pre-existing asset that also has the GlobalVariables class, so there's ambiguity on the calls that DS makes when integrating with AC.

If I update the DS references to include the AC namespace (ie AC.GlobalVariables), that will break any future DS updating won't it?

Olly
User avatar
Tony Li
Posts: 21926
Joined: Thu Jul 18, 2013 1:27 pm

Re: Adventure Creator integration issue

Post by Tony Li »

Hi Olly,

Please use this updated integration (also now available on the Extras page):

DS_AdventureCreatorSupport_2024-10-22

I added "AC.GlobalVariables" to disambiguate it.
Post Reply