Error after upgrading from evaluation version

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
kelsington
Posts: 24
Joined: Tue Jul 28, 2020 1:33 pm

Error after upgrading from evaluation version

Post by kelsington »

Hi Tony,

I just bought the paid for version of the system. It stated that it would not impact my build, however I have been given this error:

Assets\Plugins\Pixel Crushers\Common\Scripts\Misc\RectExtensions.cs(35,25): error CS0121: The call is ambiguous between the following methods or properties: 'PixelCrushers.RectExtensions.ScaleSizeBy(UnityEngine.Rect, UnityEngine.Vector2, UnityEngine.Vector2)' and 'PixelCrushers.RectExtensions.ScaleSizeBy(UnityEngine.Rect, UnityEngine.Vector2, UnityEngine.Vector2)'

can you advise how I can move forward?
kelsington
Posts: 24
Joined: Tue Jul 28, 2020 1:33 pm

Re: Error after upgrading from evaluation version

Post by kelsington »

Hi Tony,

It is also now saying two additional errors

Assets\Plugins\Pixel Crushers\Common\Scripts\Misc\RectExtensions.cs(18,25): error CS0121: The call is ambiguous between the following methods or properties: 'PixelCrushers.RectExtensions.ScaleSizeBy(UnityEngine.Rect, float, UnityEngine.Vector2)' and 'PixelCrushers.RectExtensions.ScaleSizeBy(UnityEngine.Rect, float, UnityEngine.Vector2)'


and

Error: Could not load signature of PixelCrushers.DialogueSystem.StandardUIQuestLogWindow:SelectElement due to: Could not load file or assembly 'UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none>
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error after upgrading from evaluation version

Post by Tony Li »

Hi,

Thanks for buying the Dialogue System!

Did you delete the evaluation Dialogue System installation before importing the Asset Store version? Technically you only need to delete these two folders before importing the Asset Store version:

Plugins/Pixel Crushers/Common/DLLs
Plugins/Pixel Crushers/Dialogue System/DLLs
kelsington
Posts: 24
Joined: Tue Jul 28, 2020 1:33 pm

Re: Error after upgrading from evaluation version

Post by kelsington »

Hi Tony,

Thank you - I deleted the old pixel crushers folder and reimported the new one. Now I only have one error

Error: Could not load signature of PixelCrushers.DialogueSystem.StandardUIQuestLogWindow:SelectElement due to: Could not load file or assembly 'UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none>
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error after upgrading from evaluation version

Post by Tony Li »

Hi Kelsey,

That's a Unity bug that's not specific to the Dialogue System. It can happen in a project containing no assets at all. I just mention this so readers will know how to handle it if (really, when) it happens in other projects, too.

The easiest but most time-consuming solution is to select menu item Assets > Reimport All.

Alternatively, you can try any of these:
  • Select menu item Edit > Preferences, and change the external editor setting (e.g., from VS Code to VS Community). Then change it back.
  • Or from that same page make sure 'Generate all .csproj files' is ticked. Close Unity, delete all *.csproj files in the main project folder, then re-open Unity.
Post Reply