playMaker

Author Topic: Playmaker 1.7.8 Released - Unity 5 compatible  (Read 26882 times)

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #15 on: March 03, 2015, 09:02:57 PM »
I'm getting a "MissingMethodException: Method not found: 'UnityEngine.Component.get_guiTexture'." error for every FSM that becomes active, even empty ones.

Downloaded from the Asset Store.

Edit: This is from my upgraded project, I don't get this error on a blank project with PlayMaker.

I upgraded the project to Unity 5 and then updated Playmaker, should I have done the reverse?
« Last Edit: March 03, 2015, 09:07:29 PM by marcos »

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 479
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #16 on: March 03, 2015, 09:38:41 PM »
Now unity 5 did some things as well (not playmaker related but may help others). 

After the upgrade to unity 5, 'master Audio' had issues.  unity 5 defaults to 2d/3d audio NOT at the source any more.  So the audio was not heard as it became 2d.  had to change those in the master audio prefab.

Also, some of my assets (tanks, planes) would not move.  Turns out that some of the items were changed to 'static'.  had to uncheck those in the scenes and project folder prefabs.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3207
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #17 on: March 03, 2015, 10:21:04 PM »
In some situations it looks like Unity 5 can create duplicate files. We're still tracking down when this happens.

If you have errors, please check that you don't have duplicate files. E.g., check that you only have one PlayMaker.dll.

An easy way to check for duplicate files is to type the filename in the project search field.
« Last Edit: March 03, 2015, 10:22:50 PM by Alex Chouls »

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #18 on: March 03, 2015, 10:42:04 PM »
I worked around my errors by creating a fresh project in Unity 5, importing Playmaker from the store, then importing the rest of my project as a .unitypackage.

I had to manually redo the layers and tags and things, but everything seems to be working now.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #19 on: March 04, 2015, 12:37:20 AM »
Hi,

 The "PlayMakerAnimatorStateSynchronization " issue is a warning, I replied on your other thread on this. nothing to worry about right now, I'll provide an update on this

 Bye,

 Jean

Caenhorn

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #20 on: March 04, 2015, 01:11:29 AM »
Had "MissingMethodException: Method not found: 'UnityEngine.Component.get_guiTexture" exception as well.
Turns out there were some leftovers from previous version of PlayMaker.
So what I did is I created an empty scene, so my references wont mess up. Then I deleted Playmaker folder and closed Unity. Made sure nothing stayed of PlayMaker in my assets and then reopened Unity and reimported everything. So far - no problems.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #21 on: March 04, 2015, 01:28:50 AM »
Hi,

 Good. thanks for your hint on fixing this.

 bye,

 Jean

Gua

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • Andrii Vintsevych
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #22 on: March 04, 2015, 02:19:58 AM »
Where I can get release notes?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #23 on: March 04, 2015, 03:04:30 AM »
Hi,

 Menu : PlayMaker/About PlayMaker/ button "Release notes"

 or directly:
https://hutonggames.fogbugz.com/default.asp?W311

but 1.7.8 has nothing but unity 5 compliance.

Bye,

 Jean

Mr-Brett

  • Playmaker Newbie
  • *
  • Posts: 22
  • Not very technical Artist
    • View Profile
    • Portfolio
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #24 on: March 04, 2015, 09:19:45 AM »
Are Arrays using the Arraymaker actions? I had them before the update so I'm not sure, I couldn't see any other reference to arrays.

Every object with a Playmaker FSM is throwing this error: MissingMethodException: Method not found:
'UnityEngine.Component.get_guiTexture'.

And these are constantly piling up at runtime:
Bad ErrorCheck: HutongGames.PlayMaker.Actions.TriggerEvent
UnityEngine.Debug:Log(Object)
HutongGames.PlayMakerEditor.FsmErrorChecker:CheckActionForErrors(FsmState, FsmStateAction)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckFsmForErrors(Fsm)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckForErrors()
HutongGames.PlayMakerEditor.FsmErrorChecker:Update()
HutongGames.PlayMakerEditor.FsmEditor:Update()
FsmEditorWindow:Update() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:319)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Also is the new UI stuff seperate? that's not in my action browser either.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #25 on: March 05, 2015, 01:18:29 AM »
Hi,

 PlayMaker 1.7.8 doesn't have builtin arrays ( it's coming with 1.8), so if you have arrayMaker, yes, there is a set of specific custom actions to go with ArrayMaker so you can work with ArrayMaker lists and hashtables proxies.

ArrayMaker is a separate package from the wiki, not an official package.

Is this the only error you get, you have no other errors ( different errors, not repeatably the same one I mean)

 Bye,

 Jean

swiftnz

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #26 on: March 05, 2015, 05:35:26 AM »
Hello,

Just wanted to share that I'm also getting the following error for any GameObjects with a FSM on in upgraded projects:
Method not found: 'UnityEngine.Component.get_guiTexture'.

I followed user Caenhorn's suggested fix which worked and stopped all the errors.
1 - create and save a new scene
2 - take a copy of my global variables file
3 - delete the the entire playmaker folder in the project
4 - close unity
5 - open unity and import playmaker back into the project
6 - paste my global variables file back in
7 - added playmaker editor back into the editor

Jean, I hope this helps in some way to track the problem down.
And thank you Caenhorn for your suggested fix!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #27 on: March 05, 2015, 06:06:40 AM »
Hi,

 I have forwarded the case to Alex. hopefully a quick patch can be issued.

 Thanks for the repro steps and your time!


 Bye,

 Jean

cb

  • Junior Playmaker
  • **
  • Posts: 66
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #28 on: March 06, 2015, 01:23:13 AM »
Having a strange problem with WWWObject action. Playmaker tells me an object with an FSM that accesses WWWObject can't be created and 'maybe the script was removed' but the WWWObject script is in the Actions folder.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Playmaker 1.7.8 Released - Unity 5 compatible
« Reply #29 on: March 06, 2015, 01:33:16 AM »
Hi,

 is it only happening when compiling or is it breaking your game?

 Bye,

 Jean