Arcweave variable and character errors on import

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Yubaba
Posts: 38
Joined: Thu Oct 08, 2020 9:37 pm

Arcweave variable and character errors on import

Post 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.
Yubaba
Posts: 38
Joined: Thu Oct 08, 2020 9:37 pm

Re: Arcweave variable and character errors on import

Post 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.
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Arcweave variable and character errors on import

Post by Tony Li »

Hi,

Arcweave just released a big update. I'm working on updating the importer this week.
Yubaba
Posts: 38
Joined: Thu Oct 08, 2020 9:37 pm

Re: Arcweave variable and character errors on import

Post 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.
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Arcweave variable and character errors on import

Post 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.
Post Reply