Page 1 of 1
Help! I detonated my project by accidentally checking "Use Yarn"
Posted: Sun Aug 28, 2022 8:38 pm
by Pinwizkid
Without realizing it I clicked on the inspector with the welcome tab open and accidentally clicked the "use yarn" checkbox and now my project is throwing null reference exception errors for basically all of my scripts. I've unchecked the box but it appears the damage is done. Any idea how to fix this?
Re: Help! I detonated my project by accidentally checking "Use Yarn"
Posted: Sun Aug 28, 2022 10:12 pm
by Tony Li
Hi,
Select menu item Edit > Project Settings. In Player > Other Settings > Scripting Define Symbols, remove USE_YARN.
Re: Help! I detonated my project by accidentally checking "Use Yarn"
Posted: Mon Aug 29, 2022 9:33 pm
by Pinwizkid
Thanks managed to fix it. Toggling that setting somehow cleared a variable from the inspector on the player game object, causing the player to not spawn and thus caused a cascade of other errors.
Re: Help! I detonated my project by accidentally checking "Use Yarn"
Posted: Mon Aug 29, 2022 9:46 pm
by Tony Li
Happy to help! I'm glad that fixed it.