Errors after enabling Yarn support
Errors after enabling Yarn support
So, I have assembly errors after enabling Yarn support. How can I get rid of them?
- Attachments
-
- Zrzut ekranu 2023-06-05 133404.png (94.56 KiB) Viewed 461 times
Re: Errors after enabling Yarn support
Hi,
Are you using Yarn 1 or Yarn 2? There are some required setup steps for each.
Are you using Yarn 1 or Yarn 2? There are some required setup steps for each.
Re: Errors after enabling Yarn support
Now I have these | I am using Yarn 2
- Attachments
-
- Zrzut ekranu 2023-06-07 145637.png (99.01 KiB) Viewed 440 times
Re: Errors after enabling Yarn support
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.
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.
Re: Errors after enabling Yarn support
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 (111.01 KiB) Viewed 436 times
Re: Errors after enabling Yarn support
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.
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.