Type/namespace not found!

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
dreternal
Posts: 5
Joined: Sat Oct 23, 2021 11:13 am

Type/namespace not found!

Post 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
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Type/namespace not found!

Post 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.
Post Reply