playMaker

Author Topic: Unable to use playmaker due to many error  (Read 1056 times)

bbs950064

  • Playmaker Newbie
  • *
  • Posts: 12
Unable to use playmaker due to many error
« on: September 13, 2021, 07:04:31 AM »
Now open the project will appear

Assets\PlayMaker\Editor\PlayMakerAutoUpdater.cs(186,42): error CS0117: 'Path' does not contain a definition for 'GetFileName'
Assets\PlayMaker\Editor\PlayMakerAutoUpdater.cs(170,43): error CS0117: 'Path' does not contain a definition for 'GetDirectoryName'

I can’t play it. Could someone tell me what go wrong?
I reopened a new project and re-imported it into Playmaker, but it can’t be played  too. :'( :'(

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Unable to use playmaker due to many error
« Reply #1 on: September 13, 2021, 08:03:08 AM »
Hi.
It looks like something got moved or deleted.

When did it started?

Did you update something?

bbs950064

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Unable to use playmaker due to many error
« Reply #2 on: September 13, 2021, 08:06:06 AM »
I downloaded it from Package Manager, I think it should not be missed, I have updated to the latest Playmaker and Unity

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Unable to use playmaker due to many error
« Reply #3 on: September 13, 2021, 08:12:56 AM »
Hi.
Did you have errors before you updated?

If there are errors in your project when you start updating playmaker it will not complete the update.

you can try to go to Asset/Playmaker/Editor/Install and double click Playmaker1.x.x (number depends on version)

bbs950064

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Unable to use playmaker due to many error
« Reply #4 on: September 13, 2021, 08:18:02 AM »
When I use the old project, it can't be used, and the new project is also unavailable. I have Install and double click, but there are still errors.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Unable to use playmaker due to many error
« Reply #5 on: September 14, 2021, 07:33:20 AM »
Hi.
So if you create a new project and import Playmaker you get errors as well?
Do you get the same errors?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Unable to use playmaker due to many error
« Reply #6 on: September 14, 2021, 12:23:15 PM »
From the error it sounds like you have a script in your project that defines Path in the global namespace, conflicting with System.IO.Path. Scripts should always use a namespace to avoid conflicts. Search your project for Path scripts. Start by searching the Project view for Path since scripts are often called the same as class names. If you find the script, you can delete it if you're not using it, or notify the author of the conflict. Either way, let us know what you find!