Page 1 of 1

Various compiler issues with enabling Yarn 2

Posted: Tue Nov 26, 2024 4:49 pm
by cboogy
Hello! I installed the latest version of Yarnspinner in Unity and followed the instructions in the documentation to try to enable Yarn 2 in Dialogue Manager, but was met with a handful of compiler errors — all pertaining to the Yarn Custom Commands script. I'm wondering if there's a solution around this?

Code: Select all

Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Importers/Yarn2/YarnCustomCommands.cs(12,12): error CS0234: The type or namespace name 'Unity' does not exist in the namespace 'Yarn' (are you missing an assembly reference?)
Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Importers/Yarn2/YarnCustomCommands.cs(279,10): error CS0246: The type or namespace name 'YarnCommandAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Importers/Yarn2/YarnCustomCommands.cs(279,10): error CS0246: The type or namespace name 'YarnCommand' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Importers/Yarn2/YarnCustomCommands.cs(281,10): error CS0246: The type or namespace name 'YarnCommandAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Importers/Yarn2/YarnCustomCommands.cs(281,10): error CS0246: The type or namespace name 'YarnCommand' could not be found (are you missing a using directive or an assembly reference?)

Re: Various compiler issues with enabling Yarn 2

Posted: Tue Nov 26, 2024 5:20 pm
by cboogy
Somehow after fiddling with some settings I think I got it to work!

Re: Various compiler issues with enabling Yarn 2

Posted: Tue Nov 26, 2024 7:01 pm
by Tony Li
Hi,

Great! If you have any questions about using the Yarn 2 importer, just let me know.