Page 1 of 1

Type/namespace not found!

Posted: Tue Nov 02, 2021 8:29 am
by dreternal
Getting this in Unity:



The files are in Plugins/Pixel Crushers, and everything compiles ok until I start to try to access the Dialogue classes.

Ideas?

Windows 11
Unity 2021.1.7f
Dialog System for Unity 2.2.18

Re: Type/namespace not found!

Posted: Tue Nov 02, 2021 8:46 am
by Tony Li
Hi,

Please see the second part of: How To: Fix Code Editor Not Recognizing Dialogue System Namespace

In brief:
  • If possible, update to DS version 2.2.22. (This probably won't fix it by itself, but it might trigger regeneration of project files.)
  • Or try rebuilding the project files. Select menu item Edit > Preferences. On the External Tools page, click Regenerate project files.
  • If that doesn't fix it, open the Package Manager window to the Unity Registry page and update or downgrade the integration package for your code editor. For example, if you're using VS Code, update the 'Visual Studio Code Editor' package.