playMaker

Author Topic: Problem with updating, 'Bounds' is an ambiguous reference between 'HutongGames.  (Read 1213 times)

celaeno

  • Playmaker Newbie
  • *
  • Posts: 7
Hello, I'm trying to update playmaker from 1.7.8 in Unity 5.5 to the newest playmaker version in Unity 2018.4

I followed some advice here: https://hutonggames.com/playmakerforum/index.php?topic=16504.0

But after fixing some errors this error pops up:

Assets\PlayMaker\Actions\ActionHelpers.cs(1057,23): error CS0104: 'Bounds' is an ambiguous reference between 'HutongGames.PlayMaker.Actions.Bounds' and 'UnityEngine.Bounds'

Anyone has an idea?
« Last Edit: December 12, 2020, 05:30:19 AM by celaeno »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Hi.
How did you update.

Did you 1st update playmaker, then unity?
or 1st unity.

You should update assets before updating unity.

do you have a backup of your project?
if not, make a backup before trying anything else.

Then you can try to remove playmaker and reinstall.

if you use globals and/or templates you need to backup those so you can replace them (if they are inside the playmaker folder)

celaeno

  • Playmaker Newbie
  • *
  • Posts: 7
Thanks for your help.

That's what I did, I first updated playmaker. Also removed playmaker and installed it again from Assets/PlayMaker/Editor/Install and copied the globals, templates and custom actions.

Unfortunately after adding the custom actions I'm still getting the error.

Maybe should I try to start an empty new project, adding playmaker and copy the scenes and scripts to the new project?

Edit: I started a new empty project, imported playmaker from the assetstore, then  copied the scenes and scripts. But after adding the custom actions, the error still pops up. Can it maybe have something to do with the custom actions?

I added
Code: [Select]
using Bounds = UnityEngine.Bounds; Now the error is gone  :)
« Last Edit: December 14, 2020, 06:21:25 AM by celaeno »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames