playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
error CS1061: Type `AboutWindow'[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: error CS1061: Type `AboutWindow'[SOLVED] (Read 4377 times)
jordantrainor
Playmaker Newbie
Posts: 1
error CS1061: Type `AboutWindow'[SOLVED]
«
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.
«
Last Edit: March 11, 2015, 01:48:25 AM by jeanfabre
»
Logged
Alex Chouls
Administrator
Hero Member
Posts: 4002
Official Playmaker Support
Re: error CS1061: Type `AboutWindow'
«
Reply #1 on:
March 03, 2015, 10:26:54 PM »
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?
Logged
mgmhunt
Playmaker Newbie
Posts: 4
Re: error CS1061: Type `AboutWindow'
«
Reply #2 on:
March 04, 2015, 12:18:34 AM »
Same error, fresh download of Unity 5, imported Playmaker 1.7.8 (Unity 5.0). Playmaker downloaded via fastspring.com
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: error CS1061: Type `AboutWindow'
«
Reply #3 on:
March 04, 2015, 02:34:16 AM »
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
Logged
mgmhunt
Playmaker Newbie
Posts: 4
Re: error CS1061: Type `AboutWindow'
«
Reply #4 on:
March 04, 2015, 02:38:43 AM »
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
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: error CS1061: Type `AboutWindow'
«
Reply #5 on:
March 04, 2015, 02:40:42 AM »
Hi,
On a fresh project too? if not try on a fresh project just to rule any interference.
Bye,
Jean
Logged
mgmhunt
Playmaker Newbie
Posts: 4
Re: error CS1061: Type `AboutWindow'
«
Reply #6 on:
March 04, 2015, 02:43:09 AM »
Fresh project works, must be some namespace conflict I guess.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: error CS1061: Type `AboutWindow'
«
Reply #7 on:
March 04, 2015, 02:50:58 AM »
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
Logged
mgmhunt
Playmaker Newbie
Posts: 4
Re: error CS1061: Type `AboutWindow'
«
Reply #8 on:
March 04, 2015, 02:54:02 AM »
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.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: error CS1061: Type `AboutWindow'
«
Reply #9 on:
March 04, 2015, 03:06:06 AM »
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
Logged
Artisan
Playmaker Newbie
Posts: 6
Re: error CS1061: Type `AboutWindow'
«
Reply #10 on:
March 10, 2015, 06:01:47 PM »
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?
«
Last Edit: March 10, 2015, 06:13:46 PM by Artisan
»
Logged
Alex Chouls
Administrator
Hero Member
Posts: 4002
Official Playmaker Support
Re: error CS1061: Type `AboutWindow'
«
Reply #11 on:
March 10, 2015, 06:24:10 PM »
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
error CS1061: Type `AboutWindow'[SOLVED]