Dialogue System Compiler Errors

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
cairnryan
Posts: 7
Joined: Sat Jan 30, 2021 11:52 am

Dialogue System Compiler Errors

Post by cairnryan »

Hi Tony,

Project working fine, then the below compiler errors cropped up and now my scripts aren't loading. I've reimported the PixelCrushers package but no change there. I'm not sure what triggered the errors. Thanks for any help.

Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Manager/DialogueSystemController.cs(9,19): error CS0234: The type or namespace name 'AddressableAssets' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Manager/DialogueSystemController.cs(10,19): error CS0234: The type or namespace name 'ResourceManagement' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Options/Timeline/Playables/Utility/PreviewUI.cs(12,19): error CS0234: The type or namespace name 'AddressableAssets' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)

Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Options/Timeline/Playables/Utility/PreviewUI.cs(13,19): error CS0234: The type or namespace name 'AddressableAssets' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)

Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Options/Timeline/Playables/Utility/PreviewUI.cs(13,19): error CS0234: The type or namespace name 'AddressableAssets' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)

Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Manager/DialogueSystemController.cs(2113,36): error CS0246: The type or namespace name 'AsyncOperationHandle<>' could not be found (are you missing a using directive or an assembly reference?)


Using 2019.4.19 and Dialogue System 2.2.15.
User avatar
Tony Li
Posts: 22034
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System Compiler Errors

Post by Tony Li »

Hi,

The Welcome Window's USE_ADDRESSABLES checkbox has gotten accidentally ticked.

If you intend to use Addressables, import the Addressables package using the Package Manager window.

If you don't intend to use Addressables, then if you still have access to the Dialogue System's Welcome Window UNtick USE_ADDRESSABLES. If you don't have access to the Welcome Window, select menu item Edit > Project Settings. Navigate to Player > Other Settings > Scripting Define Symbols. Remove USE_ADDRESSABLES.
cairnryan
Posts: 7
Joined: Sat Jan 30, 2021 11:52 am

Re: Dialogue System Compiler Errors

Post by cairnryan »

Thanks Tony, I wouldn't have figured that out on my own! Instant fix following your instructions. All the best and have a great night :)
User avatar
Tony Li
Posts: 22034
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System Compiler Errors

Post by Tony Li »

Glad to help!
Post Reply