Various compiler issues with enabling Yarn 2

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
cboogy
Posts: 9
Joined: Tue Nov 26, 2024 4:46 pm

Various compiler issues with enabling Yarn 2

Post 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?)
cboogy
Posts: 9
Joined: Tue Nov 26, 2024 4:46 pm

Re: Various compiler issues with enabling Yarn 2

Post by cboogy »

Somehow after fiddling with some settings I think I got it to work!
User avatar
Tony Li
Posts: 22203
Joined: Thu Jul 18, 2013 1:27 pm

Re: Various compiler issues with enabling Yarn 2

Post by Tony Li »

Hi,

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