Page 1 of 1

Adventure Creator integration issue

Posted: Mon Oct 21, 2024 2:33 pm
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

Re: Adventure Creator integration issue

Posted: Mon Oct 21, 2024 3:28 pm
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.

Re: Adventure Creator integration issue

Posted: Tue Oct 22, 2024 3:23 am
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

Re: Adventure Creator integration issue

Posted: Tue Oct 22, 2024 3:50 am
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

Re: Adventure Creator integration issue

Posted: Tue Oct 22, 2024 8:15 am
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.