Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: jordantrainor on March 03, 2015, 07:52:52 PM
-
Hi, I'm new to Unity and have just installed Playmaker and Unity 5. I get the following error on the screen and was wondering if you could advise on how to resolve it.
Assets/PlayMaker/Editor/FsmEditorWindow.cs(427,37): error CS1061: Type `AboutWindow' does not contain a definition for `SafeClose' and no extension method `SafeClose' of type `AboutWindow' could be found (are you missing a using directive or an assembly reference?)
Thank you. Jordan.
-
What version of PlayMaker do you have? In the PlayMaker menu do you see an Upgrade Guide before About?
Where did you download PlayMaker, from the Asset Store or the Hutong Games store?
-
Same error, fresh download of Unity 5, imported Playmaker 1.7.8 (Unity 5.0). Playmaker downloaded via fastspring.com
-
Hi,
can you delete the PlayMaker folder and reimport? maybe there is an obsolete file.
Also, do you have other errors aside this one? if the project has other errors, PlayMaker won't initialize properly, and it could be a possible source of false issues.
Bye,
Jean
-
Yep this is a fresh install/import/download from site. No other errors. (I've already imported a whole bunch of other assets BTW, but it all compiles until Playmaker is imported
-
Hi,
On a fresh project too? if not try on a fresh project just to rule any interference.
Bye,
Jean
-
Fresh project works, must be some namespace conflict I guess.
-
Hi,
just tested again, all is fine. Are you on windows or mac? let me test on windows ( allow me time to download and setup)
Bye,
Jean
-
In my case tt was a conflict with uScript.
I've added "HutongGames.PlayMakerEditor." to FsmEditorWindow.cs in two places to determine which class to use.
Line 73 - [SerializeField] private HutongGames.PlayMakerEditor.AboutWindow aboutWindow;
183 - aboutWindow = GetWindow<HutongGames.PlayMakerEditor.AboutWindow>();
and it compiles.
uScript is using AboutWindow in it's DLL.
-
Hi,
Good, I am glad you found the issue. I though the latest version of Playmaker started using namespace, maybe this class did not get that chance yet, I'll inform alex, cause this should be an easy fix.
Bye,
Jean
-
I am getting the same error too.
Assets/PlayMaker/Editor/FsmEditorWindow.cs(427,37): error CS1061: Type `AboutWindow' does not contain a definition for `SafeClose' and no extension method `SafeClose' of type `AboutWindow' could be found (are you missing a using directive or an assembly reference?)
This is a fresh install of Unity 5. And the only other extension I have install besides PlayMaker is uScript. Perhaps a conflict with uScript?
EDIT: Yep, confirmed.
I just did another test - Fresh project with no asset imported. Import PlayMaker, and everything seems fine. But as soon as uScript is imported - the error above appears.
Could you guys please fix this?
-
Sorry about that, yes it's a conflict with uScript.
Please replace Assets\PlayMaker\Editor\FsmEditorWindow.cs with the attached file.
I'll upload an update with the fix asap.