Various compiler issues with enabling Yarn 2
Posted: Tue Nov 26, 2024 4:49 pm
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?)