Errors after enabling Yarn support

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Adeoon
Posts: 33
Joined: Fri Dec 02, 2022 5:53 am

Errors after enabling Yarn support

Post by Adeoon »

So, I have assembly errors after enabling Yarn support. How can I get rid of them? :)
Attachments
Zrzut ekranu 2023-06-05 133404.png
Zrzut ekranu 2023-06-05 133404.png (94.56 KiB) Viewed 464 times
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Errors after enabling Yarn support

Post by Tony Li »

Hi,

Are you using Yarn 1 or Yarn 2? There are some required setup steps for each.
Adeoon
Posts: 33
Joined: Fri Dec 02, 2022 5:53 am

Re: Errors after enabling Yarn support

Post by Adeoon »

Now I have these :|| I am using Yarn 2
Attachments
Zrzut ekranu 2023-06-07 145637.png
Zrzut ekranu 2023-06-07 145637.png (99.01 KiB) Viewed 443 times
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Errors after enabling Yarn support

Post by Tony Li »

Hi,

Is the Yarn 1 checkbox ticked also? Only one or the other should be ticked. Select menu item Edit > Project Settings. In the Player section, scroll down to Other Settings > Scripting Define Symbols and remove the USE_YARN symbol. Then click Accept.
Adeoon
Posts: 33
Joined: Fri Dec 02, 2022 5:53 am

Re: Errors after enabling Yarn support

Post by Adeoon »

Ok it helped with these, but I have another haha. With InputSystem, should I add Inputsystem assembly somewhere or what?
Attachments
Zrzut ekranu 2023-06-08 142610.png
Zrzut ekranu 2023-06-08 142610.png (111.01 KiB) Viewed 439 times
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Errors after enabling Yarn support

Post by Tony Li »

Hi,

Yes, since you're using assembly definitions now, you need to add a reference to the InputSystem asmdef to these 4 asmdefs: PixelCrushers, PixelCrushersEditor, DialogueSystem, and DialogueSystemEditor. If you're using TextMesh Pro and you haven't already added references to the TextMeshPro asmdef, please do that, too.
Post Reply