A bunch of Type or Namespace errors after updating

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Michael Jones
Posts: 2
Joined: Thu Sep 29, 2016 1:43 am

A bunch of Type or Namespace errors after updating

Post by Michael Jones »

I just updated the dialogue system after a while away from working on a project.

I updated unity to 2018.3.2f1 about a week ago, and I updated the dialogue system fully just now. My version of the textmesh pro bundle is also up to date at 1.3.0

I'm getting a bunch of namespace errors so I assume something must have gone awry. I am an intermediate user at best, I'd appreciate any assistance you can offer.

I haven't altered any of the packages involved to my knowlege- all i've done with the dialogue system is to create a few sequencercommands and conditions.


Here's the list of errors:

Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\UI Subsystem\Standard\Selector\SelectorUseStandardUIElements.cs(17,17): error CS0246: The type or namespace name 'ProximitySelector' could not be found (are you missing a using directive or an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\Trigger Subsystem\Interaction\Selector.cs(232,22): error CS0246: The type or namespace name 'SelectedUsableObjectDelegate' could not be found (are you missing a using directive or an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\Trigger Subsystem\Interaction\Selector.cs(237,22): error CS0246: The type or namespace name 'DeselectedUsableObjectDelegate' could not be found (are you missing a using directive or an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\Trigger Subsystem\Interaction\Selector.cs(187,16): error CS0246: The type or namespace name 'UsableUnityEvent' could not be found (are you missing a using directive or an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\Trigger Subsystem\Interaction\Selector.cs(189,16): error CS0246: The type or namespace name 'UsableUnityEvent' could not be found (are you missing a using directive or an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\UI Subsystem\Unity UI\Selector UI\UnityUISelectorDisplay.cs(58,17): error CS0246: The type or namespace name 'ProximitySelector' could not be found (are you missing a using directive or an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Manager Wrappers\DialogueSystemEvents.cs(14,70): error CS0234: The type or namespace name 'DialogueSystemEvents' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Manager Wrappers\ExtraDatabases.cs(14,64): error CS0234: The type or namespace name 'ExtraDatabases' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Quest Subsystem Wrappers\QuestStateIndicator.cs(14,69): error CS0234: The type or namespace name 'QuestStateIndicator' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Quest Subsystem Wrappers\QuestStateListener.cs(14,68): error CS0234: The type or namespace name 'QuestStateListener' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Trigger Subsystem Wrappers\Interaction Wrappers\ProximitySelector.cs(14,67): error CS0234: The type or namespace name 'ProximitySelector' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Quest Subsystem Wrappers\IncrementOnDestroy.cs(14,68): error CS0234: The type or namespace name 'IncrementOnDestroy' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Trigger Subsystem Wrappers\Interaction Wrappers\SelectorFollowTarget.cs(14,70): error CS0234: The type or namespace name 'SelectorFollowTarget' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Save Subsystem Wrappers\PersistentDestructible.cs(14,72): error CS0234: The type or namespace name 'PersistentDestructible' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Trigger Subsystem Wrappers\Trigger Wrappers\RangeTrigger.cs(14,62): error CS0234: The type or namespace name 'RangeTrigger' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)

Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Utility Wrappers\ConversationLogger.cs(14,68): error CS0234: The type or namespace name 'ConversationLogger' does not exist in the namespace 'PixelCrushers.DialogueSystem' (are you missing an assembly reference?)
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: A bunch of Type or Namespace errors after updating

Post by Tony Li »

Hi,

Does the Dialogue System report any errors if you import it into a new, empty project?

If you were on version 1.x of the Dialogue System, you may need to run the 1.x to 2.x updater.

If you had previously imported the Dialogue System's assembly definition (.asmdef) files, please delete them. You can reimport them once you've confirmed that everything's working fine. You can find the asmdef files in:
  • Plugins / Pixel Crushers / Common / Scripts
  • Plugins / Pixel Crushers / Common / Scripts / Editor
  • Plugins / Pixel Crushers / Dialogue System / Scripts
  • Plugins / Pixel Crushers / Dialogue System / Scripts / Editor
If you were upgrading from the evaluation version, make sure you've deleted the DLLs folders. They are:
  • Plugins / Pixel Crushers / Common / DLLs
  • Plugins / Pixel Crushers / Dialogue System / DLLs
If that doesn't help, please feel free to send a copy of your project to tony (at) pixelcrushers.com. I'll be happy to take a look.
Michael Jones
Posts: 2
Joined: Thu Sep 29, 2016 1:43 am

Re: A bunch of Type or Namespace errors after updating

Post by Michael Jones »

Thanks Tony i'll give it a whirl
jimtheberge
Posts: 2
Joined: Mon Sep 07, 2020 5:19 pm

Re: A bunch of Type or Namespace errors after updating

Post by jimtheberge »

Hi Tony,

I seem to be having a similar problem (see attached screenshot) which just started today - perhaps with the new build you recently released? Note that I'm using Unity 2019.4.3f1.

I tried your suggestions, but no luck. I also completely removed the Pixel Crushers package from my project and that resolved it, but unfortunately reinstalling a fresh copy only resulted in the same errors.

Please let me know your thoughts on how to fix it.

Thanks,

Jim
Attachments
Screenshot (1).png
Screenshot (1).png (332.74 KiB) Viewed 2327 times
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: A bunch of Type or Namespace errors after updating

Post by Tony Li »

Hi Jim,

It looks like you turned on the Dialogue System's Addressables support.

If you plan to use Addressables, install the Addressables package. Select menu item Windows > Package Manager. Then find Addressables in the list and click Install.

If you don't plan to use Addressables, here's how to turn off the Dialogue System's Addressable support:

- If you can access the welcome window (Tools > Pixel Crushers > Dialogue System > Welcome Window), untick the "Addressables (USE_ADDRESSABLES)" checkbox.

- Otherwise, select menu item Edit > Project Settings. In Player > Other Settings. remove USE_ADDRESSABLES from the Scripting Define Symbols field.
Post Reply