Page 1 of 1

Error after upgrading from evaluation version

Posted: Fri Aug 14, 2020 11:51 am
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?

Re: Error after upgrading from evaluation version

Posted: Fri Aug 14, 2020 11:53 am
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>

Re: Error after upgrading from evaluation version

Posted: Fri Aug 14, 2020 12:57 pm
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

Re: Error after upgrading from evaluation version

Posted: Sat Aug 15, 2020 6:21 am
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>

Re: Error after upgrading from evaluation version

Posted: Sat Aug 15, 2020 9:02 am
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.