playMaker

Author Topic: Error CS0426 after updating to the latest Playmaker version [SOLVED]  (Read 2176 times)

nikki123

  • Playmaker Newbie
  • *
  • Posts: 1
This error happens yesterday after I updated the Playmaker to the latest version. After updated, it suddenly shows these errors
1) Assets\Playmaker\Actions\UI\Selectable\UiNavigationSetMode.cs(17,66): error CS0426: The type name 'Mode' does not exist in the type 'Navigation'.
2) Assets\Playmaker\Actions\UI\Selectable\UiNavigationSetMode.cs(24,28): error CS0426: The type name 'Mode' does not exist in the type 'Navigation'.
At first, it removes the Playmaker bar and also the Playmaker Toolbar only have Playmaker Tools and Install Playmaker instead. I'm also really bad at script btw.
Please need help ASAP!
« Last Edit: July 29, 2020, 02:09:31 PM by Alex Chouls »

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Error CS0426 after updating to the latest Playmaker version
« Reply #1 on: May 21, 2019, 04:57:36 AM »
Are you using UiNavigationSetMode action? If not, delete it.
Available for Playmaker work

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Error CS0426 after updating to the latest Playmaker version
« Reply #2 on: May 21, 2019, 09:54:29 AM »
What version of Unity are you using?

enski

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Error CS0426 after updating to the latest Playmaker version
« Reply #3 on: July 28, 2020, 02:33:49 PM »
I am receiving the same 2 errors.  Just purchased Playmaker and installed it.  I have not started doing anything with Playmaker as my project will not build.  If I delete the file UiNavigationSetMode as recommended in this thread, I receive a whole pile of additional errors. Unity version 2019.4.2f1.  Please advise, Thanks in Advance.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: Error CS0426 after updating to the latest Playmaker version
« Reply #4 on: July 28, 2020, 04:42:47 PM »
Hi.
What Playmaker version are you using?

enski

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Error CS0426 after updating to the latest Playmaker version
« Reply #5 on: July 28, 2020, 05:52:13 PM »
1.9 downloaded from the Asset Store today

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Error CS0426 after updating to the latest Playmaker version
« Reply #6 on: July 29, 2020, 11:26:07 AM »
I just tried it here and didn't get any errors.
Were these fresh projects that you were importing PlayMaker into?
From the error, it sounds like you might have a Navigation script in the global namespace that is hiding the UnityEngine.UI.Navigation type.

enski

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Error CS0426 after updating to the latest Playmaker version
« Reply #7 on: July 29, 2020, 12:40:02 PM »
Thank you.  That was the issue.  We had another class called navigation.  We renamed it and the errors went away.  Again thanks for your help.