Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: bbs950064 on September 13, 2021, 07:04:31 AM

Title: Unable to use playmaker due to many error
Post by: bbs950064 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. :'( :'(
Title: Re: Unable to use playmaker due to many error
Post by: djaydino 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?
Title: Re: Unable to use playmaker due to many error
Post by: bbs950064 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
Title: Re: Unable to use playmaker due to many error
Post by: djaydino 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)
Title: Re: Unable to use playmaker due to many error
Post by: bbs950064 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.
Title: Re: Unable to use playmaker due to many error
Post by: djaydino 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?
Title: Re: Unable to use playmaker due to many error
Post by: Alex Chouls 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!