Yarn?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
HawkX
Posts: 147
Joined: Mon Feb 27, 2017 1:50 pm
Location: Quebec
Contact:

Yarn?

Post by HawkX »

One of my programmer asked me last night about this :


"
Hmm... my Unity just crashed and now it's throwing errors relating to Yarn.

The type or namespace name 'Compiler' does not exist in the namespace 'Yarn'

I haven't pulled any changes since we last spoke either, any idea?
"

We do not use "yarn" nor do i even know what it is really :)

I saw by doing a search in our code there are reference to it in the Dialogue System...
yarn.png
yarn.png (15.76 KiB) Viewed 502 times
Any idea what is happening or why? :)

I have the project opened and do not have any issue which makes it weirder...
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: Yarn?

Post by Tony Li »

Hi,

Your programmer must have accidentally ticked the Dialogue System Welcome Window's USE_YARN checkbox. This checkbox enables code that relies on a third party asset called Yarn Spinner. Since your project doesn't have Yarn Spinner, the code isn't able to compile.

To fix this, select menu item Edit > Project Settings. In the Player > Other Settings section, remove USE_YARN from the Scripting Define Symbols.
User avatar
HawkX
Posts: 147
Joined: Mon Feb 27, 2017 1:50 pm
Location: Quebec
Contact:

Re: Yarn?

Post by HawkX »

Awesome! thanks so much (as always) for being so quick and amazing to figure everything out! :)

I'll let him know (he is in Europe and is asleep right now)

Have a great day/week! :)
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: Yarn?

Post by Tony Li »

Happy to help. Have a great day!
Post Reply