Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: DigitalElixir on July 01, 2015, 01:12:54 AM

Title: Compiler Errors in FsmTemplateEditor.cs[SOLVED]
Post by: DigitalElixir on July 01, 2015, 01:12:54 AM
I just bought Playmaker and am getting a bunch of complier errors after importing the plugin.
Unity version -  5.1.0f3
File - FsmTemplateEditor.cs
-Assets/PlayMaker/Editor/FsmTemplateEditor.cs(41,38): error CS0117: `Strings' does not contain a definition for `FsmTemplateEditor_Open_In_Editor'
-Assets/PlayMaker/Editor/FsmTemplateEditor.cs(41,23): error CS1502: The best overloaded method match for `UnityEngine.GUILayout.Button(UnityEngine.Texture, params UnityEngine.GUILayoutOption[])' has some invalid arguments
-Assets/PlayMaker/Editor/FsmTemplateEditor.cs(41,23): error CS1503: Argument `#1' cannot convert `object' expression to type `UnityEngine.Texture'
-Assets/PlayMaker/Editor/FsmTemplateEditor.cs(47,41): error CS0117: `Strings' does not contain a definition for `Hint_Exporting_Templates'
-Assets/PlayMaker/Editor/FsmTemplateEditor.cs(47,25): error CS1502: The best overloaded method match for `UnityEditor.EditorGUILayout.HelpBox(string, UnityEditor.MessageType)' has some invalid arguments
-Assets/PlayMaker/Editor/FsmTemplateEditor.cs(47,25): error CS1503: Argument `#1' cannot convert `object' expression to type `string'
Title: Re: Compiler Errors in FsmTemplateEditor.cs
Post by: jeanfabre on July 01, 2015, 04:08:01 AM
Hi,

- Have you let Unity run the update?
- Is it an empty project with just PlayMaker?
- Before you import PlayMaker, do you have errors in the console already?

Bye,

 Jean
Title: Re: Compiler Errors in FsmTemplateEditor.cs
Post by: DigitalElixir on July 01, 2015, 06:12:37 AM
It's not an empty project and there were no errors before importing.
It doesn't give any errors in an empty project.
Other plugins that I have in the project -
-Cryptoplayerprefs
-Ferr2d
-Playgameservices
Title: Re: Compiler Errors in FsmTemplateEditor.cs
Post by: jeanfabre on July 01, 2015, 06:56:12 AM
Hi,

 ok, it looks like a namespace issue or something.

I have filed a bug on PlayMaker database mentionning your problem.

On your end, can you detect which of these asset is in conflict with PlayMaker? I would suspect it's only one of them that is concerned. Simply create a new project, with just PlayMaker, and then add one of these in turn and when the error will appears that will means the last asset you imported is the one with conflicts.


Bye,

 Jean
Title: Re: Compiler Errors in FsmTemplateEditor.cs
Post by: DigitalElixir on July 01, 2015, 07:01:49 AM
I deleted all the plugins and reimported them one by one. Now works fine  :)
Title: Re: Compiler Errors in FsmTemplateEditor.cs
Post by: jeanfabre on July 01, 2015, 10:38:23 AM
Hi,

 ah, great.

 Bye,

 Jean