Playmaker Forum

PlayMaker News => PlayMaker Announcements => Topic started by: Alex Chouls on March 03, 2015, 01:07:40 PM

Title: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 03, 2015, 01:07:40 PM
We just released Playmaker 1.7.8 to the Asset Store for Unity 5 compatibility.

If you bought from the Hutong Games store, the update will be up soon. You should get an email when it's ready...
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: 1982 on March 03, 2015, 01:45:19 PM
Hi! I have purchased the package through your website (Fastspring.com download link), but I haven't been able to access that link for good while now. It says "Playmaker1.7.7.2.unitypackage" is unavailable.

Is there any way of me getting a hold of the newest 1.7.8.? :/
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: wheretheidivides on March 03, 2015, 03:33:39 PM
What's the deal with the 'level 11' asset store?  Also, I see playmaker free there in march.  How do you all get paid?  DO they pay you for each download?  and what happened to the normal asset store?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: gamer on March 03, 2015, 03:35:10 PM
Hi! I have purchased the package through your website (Fastspring.com download link), but I haven't been able to access that link for good while now. It says "Playmaker1.7.7.2.unitypackage" is unavailable.

Is there any way of me getting a hold of the newest 1.7.8.? :/

I have the same problem, I never got an update in my email. Help please!
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: allornothing on March 03, 2015, 03:38:07 PM
Same. I've been on 1.7.7.2 for a long time, had no idea there was any further updates! Same deal, fastspring link
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 03, 2015, 04:48:03 PM
Playmaker 1.7.8 is now live in the Hutong Games store. Download links should be refreshed. Give them a try and let me know...
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: gamer on March 03, 2015, 04:54:45 PM
Thank's Alex, link is working again.  :)
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: coffeeANDsoda on March 03, 2015, 05:19:41 PM
Is this a big leap compared to 1.7.5? Or is it some bug fixes?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: grimeon on March 03, 2015, 06:46:40 PM
Are patch notes coming soon? Or is this just for Unity 5 fixes?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Slater on March 03, 2015, 07:03:08 PM
Having problem with it not adding Playmaker menu and tab correctly. It is missing. What is wrong?

Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Lane on March 03, 2015, 07:16:17 PM
You have compile errors, the menu will appear after you fix the errors and Unity finishes compiling the project.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Slater on March 03, 2015, 07:47:15 PM
Thank you.

So I think I solved those now, but after that the project continued compiling and I get new stuff complaining about name space stuff and Playmaker. What do I do to solve this?

See screenshot.

Edit: For some reason I have duplicates of the files. Need to delete the duplicates.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: wheretheidivides on March 03, 2015, 08:37:07 PM
Geez, I got over 200 errors I have to mess with after upgrading to unity 5.  Stupid assets like easy roads, mesh baker and road articech.  Now there are plenty of playmaker errors too (in the actions for animation and such).
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 03, 2015, 10:16:18 PM
@wheretheidivides Can you post the Playmaker errors?

@Slater Where did you import 1.7.8 from? The asset store or hutong games download?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: wheretheidivides on March 03, 2015, 10:59:20 PM
"wheretheidivides Can you post the Playmaker errors?"

I deleted every one to get the game working.  However, there is 1. 'Set visibility' and 'set visibility2(recursive)' conflict.  I had to delete 'set visibility'. When I had both it defaulted to 'set visibility' and gave me 54 playmaker errors.  After deleting it, there were no playmaker errors.  Playmaker used the 2nd one.

Now those errors are not the same as the console errors that I deleted.

=====================================
Here is 1 error I found.

Assets/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs(138,94): warning CS0618: `UnityEngine.AnimatorStateInfo.nameHash' is obsolete: `Use AnimatorStateInfo.fullPathHash instead.'
=========================================
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.

Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: marcos on March 03, 2015, 11: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?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: wheretheidivides on March 03, 2015, 11: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.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 04, 2015, 12:21:04 AM
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.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: marcos on March 04, 2015, 12:42:04 AM
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.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 04, 2015, 02: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
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Caenhorn on March 04, 2015, 03: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.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 04, 2015, 03:28:50 AM
Hi,

 Good. thanks for your hint on fixing this.

 bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Gua on March 04, 2015, 04:19:58 AM
Where I can get release notes?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 04, 2015, 05: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
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Mr-Brett on March 04, 2015, 11: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.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 05, 2015, 03: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
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: swiftnz on March 05, 2015, 07: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!
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 05, 2015, 08: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
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: cb on March 06, 2015, 03: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.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 06, 2015, 03:33:16 AM
Hi,

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

 Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 06, 2015, 05:10:33 AM
Hi,

 I added an entry in the troubleshooting section of the documentation to solve this get_guiTexture issue.

https://hutonggames.fogbugz.com/default.asp?W624#get_guiTexture

 Thanks for you help on this. I went for a manual move of the various assets, but I think people more acquainted with unity and rep will also use reverting files and similar tricks.

 Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Mr-Brett on March 06, 2015, 06:36:52 AM
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)

Ok thanks.
It's just that error and the fix you liked to has sorted that out. Also There was a strange bug that started when I upgraded and has also gone, so I guess it was caused by the get_guiTexture error, strange :)
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: cb on March 06, 2015, 11:24:33 AM
It shows as soon as the project is loaded. Really, Unity 5 has messed up a lot of my code. There's all sorts of scripts missing. I think I'll sit it out and await the next Unity 5 patch and next PM update :-\
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 06, 2015, 12:37:02 PM
Hi,

 My personal opinion is not to switch a project from 4x to 5x. This doesn't make sense in practice, so start a new project in 5, yes, ok, but updating from 4x to 5x knowing how much changes, is dangerous, especially when physics is involved. If you have games and project not using Rigidbodies, then you can attempt it.

 also, make sure you double check the troubleshoot (https://hutonggames.fogbugz.com/default.asp?W624#get_guiTexture), typically, the only problem is the way unity packages now rely on internal ids as opposed to filename ( as I understood it), and so a clean deletion of PlayMaker and re import is necessary in some cases ( not every case, I haven't had any of my personal project exposing these issues yet).
 
Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Tricky_Widget on March 07, 2015, 08:48:43 AM
When I import the 2D Actions (https://hutonggames.fogbugz.com/?W1150), Unity 5 tells me the API needs upgrading.  When it attempts to do it automatically, it gives these errors:

Quote
Assets/PlayMaker Unity 2D/Actions/Internal/RigidBody2dActionBase.cs(20,35): error CS0619: `UnityEngine.GameObject.rigidbody2D' is obsolete: `Property rigidbody2D has been deprecated. Use GetComponent<Rigidbody2D>() instead. (UnityUpgradable)'

Assets/PlayMaker Unity 2D/Actions/Internal/RigidBody2dActionBase.cs(20,25): error CS0266: Cannot implicitly convert type `UnityEngine.Component' to `UnityEngine.Rigidbody2D'. An explicit conversion exists (are you missing a cast?)

I also get similar errors for GetMass2d.cs, SetGravity2dScale.cs, SetIsFixedAngle2d.cs, SetIsKinematic2d.cs, SetMass2d.cs, Sleep2d.cs, and WakeUp2d.cs.  I manually replaced calls to rigidbody2D with GetComponent<Rigidbody2D>() in those files and the errors went away.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: MarkD on March 07, 2015, 03:09:00 PM
Anyone know what this error is about? (image attached)

Error Editing Action
Method not found: 'UnityEngine.GameObject.get_collider'.

The event still works, btw, but if I try to add another Trigger event to the same state the state UI goes blank.

Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 07, 2015, 06:16:32 PM
When I import the 2D Actions (https://hutonggames.fogbugz.com/?W1150), Unity 5 tells me the API needs upgrading.  When it attempts to do it automatically, it gives these errors:

Quote
Assets/PlayMaker Unity 2D/Actions/Internal/RigidBody2dActionBase.cs(20,35): error CS0619: `UnityEngine.GameObject.rigidbody2D' is obsolete: `Property rigidbody2D has been deprecated. Use GetComponent<Rigidbody2D>() instead. (UnityUpgradable)'

Assets/PlayMaker Unity 2D/Actions/Internal/RigidBody2dActionBase.cs(20,25): error CS0266: Cannot implicitly convert type `UnityEngine.Component' to `UnityEngine.Rigidbody2D'. An explicit conversion exists (are you missing a cast?)

I also get similar errors for GetMass2d.cs, SetGravity2dScale.cs, SetIsFixedAngle2d.cs, SetIsKinematic2d.cs, SetMass2d.cs, Sleep2d.cs, and WakeUp2d.cs.  I manually replaced calls to rigidbody2D with GetComponent<Rigidbody2D>() in those files and the errors went away.

Thanks for reporting this. We'll update add-ons as quickly as possible to Unity 5 compatibility...
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 07, 2015, 06:18:32 PM
Anyone know what this error is about? (image attached)

Error Editing Action
Method not found: 'UnityEngine.GameObject.get_collider'.

The event still works, btw, but if I try to add another Trigger event to the same state the state UI goes blank.

Are you sure you're using Playmaker 1.7.8 (you updated Playmaker in the Unity 5 asset store). I tried it here and didn't get that error. The error looks like it's using 1.7.7.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: MarkD on March 07, 2015, 06:58:01 PM
Well, I WAS sure until I double checked the version ## for Playmaker.  It's still showing 1.7.7

I've installed the 1.7.8 version three times now and the release version doesn't seem to be changing.

Any ideas on what I might be doing wrong?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 07, 2015, 09:01:35 PM
You should see an Upgrade Guide. The version number comes from the dlls which were not re-built for this version. But if you see an Upgrade Guide then you have 1.7.8. There should be a note about this in the Upgrade Guide.

You might also have some GUID conflicts, so you could try the steps in the Troubleshooting guide to re-import Playmaker:
https://hutonggames.fogbugz.com/default.asp?W624
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Slater on March 08, 2015, 04:28:41 PM
Now I checked and saw that it is running 1.7.7f6 so I tried to upgrade(import) 1.7.8 from Asset Store. And it is acting all weird and it is now having double files again and it is still on 1.7.7f6. Getting really annoying. What should I do?

And I also get Plugin 'PlayMaker.dll' is used from several locations...
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 08, 2015, 10:00:44 PM
Please see the previous post. If you have the Upgrade Guide you have 1.7.8 - the dll is still 1.7.7, sorry for the confusion!

Unity 5 changed the way assets are imported from unitypackages, and in some situations this can cause duplicate files. The Troubleshooting page has a fix for this:
https://hutonggames.fogbugz.com/default.asp?W624




Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: cb on March 09, 2015, 06:38:55 AM
Finally realise what's happening re missing WWWObject action. My Unity settings were originally for WebPlayer, I then switched to Android (I'm trying to develop for the two platforms). When using Android settings there is no WWWObject action available in Playmaker Actions, but becomes available when switched to WebPlayer settings.

Bit confused...should I have access to the WWWObjectaction for non-WebPlayer settings?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: UndercoverDesigns on March 09, 2015, 10:20:06 PM
I'm having a bit of an issue.  I'm running Unity 5.0.0.f4, Playmaker 1.7.8, on Mac OS.  When I import Playmaker into an empty project, with no other assets, and load up an empty test script and perform a build, I get:

"Error CS0246: The type or namespace name `CustomActionEditor' could not be found. Are you missing a using directive or an assembly reference? (CS0246) (Assembly-CSharp-Editor)"

The project will execute fine, but I can't build without a bunch of errors like the one above.

Any idea?

Gabe
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 10, 2015, 02:09:01 AM
Hi,

 If you click on this error, what file is it pinging in the project. What is the source code of your empty test script or that file that is pinged if different?

Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: luckypham on March 10, 2015, 03:20:24 AM
I have created a new Unity 5 (x64) project and import Playmaker 1.7.8, and see a notify from Unity Upgrade. I have accepted it but failed. Next I see many many error from new API upgrade. In readme I get an upgrade note, and version dll is 1.7.7f6. I have readed previous comment in this topic and can you tell me my version or any idea for my problem,
Thank you.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 10, 2015, 06:05:35 AM
Hi,

 Can you open a new thread and mention accuratly the errors you get ( pasting the actual errors in the post), otherwise it's going to be tricky to help you effectivly.

PlayMaker dll version will remain 1.7.7f6 even if it's 1.7.8, that's unfortunate, but a constraint on the current release, hopefully the next one will be able to have its version updated properly. So simple make sure you install from the Asset store and you are good to go.


 Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: UndercoverDesigns on March 10, 2015, 10:07:15 AM
Hi,

 If you click on this error, what file is it pinging in the project. What is the source code of your empty test script or that file that is pinged if different?

Bye,

 Jean

All of the errors are within Playmaker source files, none are in my test script.  In total, there are 34 errors, and they are all namespace issues.  I have completely wiped Unity 5.0.0.f4 off of my Mac, reinstalled it clean and retrieved Playmaker 1.7.8 from the asset store.  I have also reproduced it on my Windows 7 machine, again with a clean install and project.  I have included a sample below:

Code: [Select]
LookAtActionEditor.cs(35,35): Error CS0246: The type or namespace name `CustomActionEditor' could not be found. Are you missing a using directive or an assembly reference? (CS0246) (Assembly-CSharp-Editor)

MoveTowardsActionEditor.cs(40,40): Error CS0246: The type or namespace name `CustomActionEditor' could not be found. Are you missing a using directive or an assembly reference? (CS0246) (Assembly-CSharp-Editor)

SetCameraFOVActionEditor.cs(45,45): Error CS0246: The type or namespace name `CustomActionEditor' could not be found. Are you missing a using directive or an assembly reference? (CS0246) (Assembly-CSharp-Editor)

AboutWindow.cs(34,34): Error CS0246: The type or namespace name `AboutPlaymaker' could not be found. Are you missing a using directive or an assembly reference? (CS0246) (Assembly-CSharp-Editor)

ContextToolWindow.cs(55,55): Error CS0234: The type or namespace name `ToolWindow' does not exist in the namespace `HutongGames.PlayMakerEditor'. Are you missing an assembly reference? (CS0234) (Assembly-CSharp-Editor)

FsmActionWindow.cs(53,53): Error CS0234: The type or namespace name `ActionSelector' does not exist in the namespace `HutongGames.PlayMakerEditor'. Are you missing an assembly reference? (CS0234) (Assembly-CSharp-Editor)

FsmEditorWindow.cs(53,53): Error CS0234: The type or namespace name `BaseEditorWindow' does not exist in the namespace `HutongGames.PlayMakerEditor'. Are you missing an assembly reference? (CS0234) (Assembly-CSharp-Editor)

FsmErrorWindow.cs(52,52): Error CS0234: The type or namespace name `ErrorSelector' does not exist in the namespace `HutongGames.PlayMakerEditor'. Are you missing an assembly reference? (CS0234) (Assembly-CSharp-Editor)

FsmEventsWindow.cs(53,53): Error CS0234: The type or namespace name `GlobalEventsWindow' does not exist in the namespace `HutongGames.PlayMakerEditor'. Are you missing an assembly reference? (CS0234) (Assembly-CSharp-Editor)

FsmGlobalsWindow.cs(54,54): Error CS0234: The type or namespace name `GlobalVariablesWindow' does not exist in the namespace `HutongGames.PlayMakerEditor'. Are you missing an assembly reference? (CS0234) (Assembly-CSharp-Editor)
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 11, 2015, 01:53:04 AM
Hi,

Quick note: I never had to wipe and reinstall anything. So when you have issues, make sure you contact first the forum and all, cause it's generally not required to reinstall Unity.

Ok, Let's take this one step at a time.

-- Is it a fresh new project?

-- can you confirm that you have the file "LookAtActionEditor.cs" in your project for example?


Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: UndercoverDesigns on March 11, 2015, 11:17:17 AM
Hi,

Quick note: I never had to wipe and reinstall anything. So when you have issues, make sure you contact first the forum and all, cause it's generally not required to reinstall Unity.

Ok, Let's take this one step at a time.

-- Is it a fresh new project?

-- can you confirm that you have the file "LookAtActionEditor.cs" in your project for example?


Bye,

 Jean

Yes, it is a brand-new, clean project, and the files which have the errors are present in the project.  I can compress and send the project, if that would be helpful?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 11, 2015, 11:56:07 AM
Hi,

 yes please. Are you on windows or mac?

 Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: UndercoverDesigns on March 13, 2015, 02:38:33 PM
Hi,

 yes please. Are you on windows or mac?

 Bye,

 Jean

It occurs on both Windows and Mac.

The dropbox link is in a private message.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 18, 2015, 02:44:26 AM
Hi,

 no errors at all here. opened the project and openeds th escene test, hit play all is well.

 WARNING: Do not use the Resources folder to host content, this is special folder for Unity and content you want to load on demand using the action "resourceLoad".

so make sure you don't use that folder this way. it's not supposed to host your scenes ( at least in 99% of the cases).

 Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: UndercoverDesigns on March 18, 2015, 09:14:52 AM
Did you open the test script in MonoDevelop and attempt to build?  That is when I'm getting the errors.  There are no issues within the Unity Editor.

Hi,

 no errors at all here. opened the project and openeds th escene test, hit play all is well.

 WARNING: Do not use the Resources folder to host content, this is special folder for Unity and content you want to load on demand using the action "resourceLoad".

so make sure you don't use that folder this way. it's not supposed to host your scenes ( at least in 99% of the cases).

 Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 18, 2015, 11:36:00 AM
Unity 5 fails to add third party dlls to the solution the way it did in Unity 4. So you have to add references to PlayMaker.dll and PlayMakerEditor.dll in the relevant projects. Hopefully Unity will fix this in a patch...
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: UndercoverDesigns on March 18, 2015, 11:47:47 AM
This solved the problem.

PlayMaker.dll was already referenced, but I had to add references to PlayMakerEditor.dll and PlayMakerEditorResources.dll.

Thanks so much!

Unity 5 fails to add third party dlls to the solution the way it did in Unity 4. So you have to add references to PlayMaker.dll and PlayMakerEditor.dll in the relevant projects. Hopefully Unity will fix this in a patch...
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: AdamJ on March 19, 2015, 05:54:10 AM
Hey!

Thought i'd post here rather than start a new thread.

I'm having the 'Plugin 'PlayMaker.dll' is used from several locations' Error... I can fix this by following the TroubleShooting suggested, however when I do this it deletes all of the Fsms in my scene. I kept the 'Resources' Folder but this didn't seem to affect anything.

Its quite possible i'm missing something obvious here but any help would be appreciated.

The full error message is:

"Plugin 'PlayMaker.dll' is used from several locations:
 Assets/Plugins/PlayMaker/PlayMaker.dll would be copied to <PluginPath>/PlayMaker.dll
 Assets/PlayMaker/PlayMaker.dll would be copied to <PluginPath>/PlayMaker.dll
Please fix plugin settings and try again.

UnityEditor.Modules.DefaultPluginImporterExtension:CheckFileCollisions(String)
UnityEditorInternal.PluginsHelper:CheckFileCollisions(BuildTarget) (at C:/buildslave/unity/build/Editor/Mono/Plugins/PluginsHelper.cs:25)
UnityEditor.HostView:OnGUI()"

I also have the error:

"Plugins colliding with each other."

If i need to add references as suggested in the previous post could any one let me know how to do this? I am very new to all this!

(Quick edit: I get this error when building!)


Thanks!
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on March 19, 2015, 08:36:25 AM
Please try the update script in this thread:
http://hutonggames.com/playmakerforum/index.php?topic=9823.msg46693
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: AdamJ on March 19, 2015, 10:04:04 AM
Script worked a treat thanks allot!
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: mensch.mueller on March 22, 2015, 01:23:38 PM
When will playmaker and Unity 5 play well together? This is a real pain now!!!! I´m trying to work with Unity5 and playmaker 1.7.8.3 and its really not usable. Every time i saved the scene and hit play the things changed in playmaker are resetted. I really think I should learn scripting, because playmaker is not working as expected(or going back to Unity 4). Is there a timeframe when playmaker is working with Unity 5?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 22, 2015, 02:06:13 PM
Hi,

 I think the problem is elsewhere. Maybe you are setting valuesin a prefab and it doesn't persist because you've edited the instance or something?

 Can you describe what data exactly is getting lost? If you can create a new thread, that'll be great as well.


 Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: mdotstrange on March 25, 2015, 10:32:16 PM
I just started with a fresh project with Unity 5.0.0f4 64bit on Windows 7 64 and the newest version of Playmaker 1.7.8.3  I'm having similar problems with actions resetting themselves-

I'll make a trigger event select the tag and send event- click away to another state or game object and come back and the action has reset itself where the tag and send event will be set to none- I'm having this happen with several actions both with prefabs and normal non-prefab game objects- have been using PM for over a year with 4.x and have never had these issues before- any ideas? thanks!
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: zorranco on March 29, 2015, 09:53:44 AM
My problems now is PM for NGUI in Unity 5 does compiler errors because of deprecated function calls, although last version is 10 March...any plans on when will it be updated?

On the other hand, as pathfinding system is revamped in U5, PM pathfinding package found on wiki is obsolete too...

Sorry if this has been asked before, but I searched the forum to no avail.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on March 30, 2015, 03:37:59 AM
Hi,

 Just tested ngui and it works in Unity 5. Can you make a new post on this issue for ngui, I'll tackle it there.

Pathfinding. Yep, it's on its way. (https://trello.com/c/uffH9YCx/117-pathfinding-update-for-unity-5)

 Bye,

 Jean
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: zorranco on March 30, 2015, 04:25:00 AM
Thanks Jean Fabre :)

Here it is:

http://hutonggames.com/playmakerforum/index.php?topic=9972.msg47262#msg47262
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Slater on April 10, 2015, 10:26:52 AM
Hi,

Having some problems here.

1. How do I make sure now that I have latest Playmaker installed. I think I have installed the latest, but it still keeps saying that it is version 1.7.7.f6 installed.

2. Have some problems with set/get property on iOS/iPad that wasn't a problem before. It works when I play the scene in Unity still, but not on the iPad. For instance now I have a FSM that increase fontsize. I use set property/fontsize but it doesn't work anymore on iPad. I haven't found a separate action for it either so I can't really change it out from being a "set property" action.

Also had the same problem with set property/orthographic size but found an action for it on the forum that I could make use of and get to work instead.
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Alex Chouls on April 10, 2015, 12:38:14 PM
If you have the latest version the About window should say 1.7.8.3
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: Slater on April 10, 2015, 08:32:03 PM
Finally got it right with the update and am running the latest version now.

I am still however having problem with the "Set Property" for the component gui text/font size on the iPad.

What can I do about this? Can you recreate the problem on your end?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: HuGo on May 27, 2015, 10:05:45 AM
Long time I didn't try using Playmaker so sorry if my report is wrong.

When you try to set a Watermark inside an FSM using Unity 5 I got this error log :
Quote
Missing Watermarks directory: Assets/Plugins/PlayMaker\Editor/Watermarks/

This feature look in the wrong directory!
Hope you're not planning to move resources in the plugin folder (I like to keep root folders clean ;D).

This doesn't happen in Unity 4  ;)

The URL look kinda broken too (\...\.../). I remember this could affect Linux OS developed applications but not sure about the Unity editor.

By the way, do you recommend using Unity 5 for a starting production with this version of Playmaker (+ the last NGUI add-on) ?
Title: Re: Playmaker 1.7.8 Released - Unity 5 compatible
Post by: jeanfabre on May 28, 2015, 03:45:02 AM
Hi,

 Can you file a bug report on this ( if not already?) thanks :) It's in the PlayMaker menu ("tools/Submit Bug Report")

PlayMaker is compatible with Unity 5, officialy, so yes you can work with them. Unity 5 is still "new", so it's to be expected that some api and behavior may change and break projects. It's like that for every big system. With Unity 4, it's a lot more solid on that front, but will never evolved, so It's recommanded that a new project is started straight away with Unity 5.

 The big "issue" being upgrading a Unity 4 project to Unity 5. That is a headache and requires refactoring here and there ( with or without PlayMaker).

 Bye,

 Jean