Page 1 of 1

Arcweave variable and character errors on import

Posted: Thu May 04, 2023 7:11 pm
by Yubaba
Hi Tony,
Arcweave JSON imports have stopped identifying characters.
I've also been getting this error with Variables, but if I skip AddVariables() in your import it still doesn't allocate characters -

Code: Select all

NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.DialogueSystem.ArcweaveSupport.ArcweaveImporter.AddVariables () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Importers/Arcweave/ArcweaveImporter.cs:453)
This is happening with 2.2.34 and 2.2.36. I recently updated to Unity 2021.3.24f1 and found that suddenly I had to reimport Json.NET which was weird.
I've been using your original "Speaker:Name" system (working wonderfully!), so while debugging this in 2.2.36 I tried the new character component instead, and that worked for one of the three characters? Something fishy is going on.

Any idea what this could be?


Pete.

Re: Arcweave variable and character errors on import

Posted: Thu May 04, 2023 7:32 pm
by Yubaba
Update - I just tried rolling back to an old Arcweave JSON and that is working fine.

So I think this is an Arcweave export problem.

Re: Arcweave variable and character errors on import

Posted: Thu May 04, 2023 7:37 pm
by Tony Li
Hi,

Arcweave just released a big update. I'm working on updating the importer this week.

Re: Arcweave variable and character errors on import

Posted: Thu May 04, 2023 7:52 pm
by Yubaba
Oh right! Thank you for the heads up.
Aaaand this is why using a web-app is bad ...it's making me rethink our workflow, that's for sure.

Re: Arcweave variable and character errors on import

Posted: Sat May 06, 2023 10:05 pm
by Tony Li
The Extras page has an Arcweave importer patch:

DS_ArcweavePatch_2023-05-06.unitypackage

This should fix the variables and character issues, and also handle importing of Arcscript code on connections (a new Arcweave feature), but it doesn't handle the new visits() function yet.