playMaker

Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
General Discussion / Re: Playmaker and Panoply
« Last post by Setting on July 13, 2018, 11:50:08 AM »
Hi. Thanks for answer. I put this video, when the panel with the character takes the screen, follows the animation, but when the panel is put off, I don't make it work the animation replay, for when the panel come back again, the animation play form the beginning.

Please, any help I'll be appreciate.

Seth
32
General Discussion / Re: Unity 2018 compatibility?
« Last post by InbalTal on July 13, 2018, 11:28:53 AM »
HI
what about playmaker 1.9 + Vuforia to unity 2018.1.6f1? it's does'nt work at all.
I get a compile error when downloading vuforia from ecosystem.

There is a fix bug coming soon?
33
Playmaker Help / Re: is it safe to use \ or / in fsm variable names?
« Last post by djaydino on July 13, 2018, 08:47:54 AM »
Hi.
I made a quick video on how i split up a fsm :

34
Playmaker Help / Re: Aligning Direction Vectors
« Last post by MajorIdea on July 13, 2018, 07:24:57 AM »
Man, I thought that would totally work. It's a great idea but it seems that wont work with a action using Forwards (like QuaternionLookRotation or SmoothLookAtDirection).

I can swap and invert the values and have it change it's behaviour but it doesn't seem to change the fact that it's using Forwards.



It's not easy to see but even swapping the Y and Z values, the blue forward vector is still the one mirroring the circular motion of the Up green vector on the right box.  ???
35
Playmaker Help / Re: Aligning Direction Vectors
« Last post by djaydino on July 13, 2018, 06:48:34 AM »
Hi.
I am not sure if this you useful for you...
But maybe you can use the actions 'Get Vector3 XYZ' and 'Set Vector3 XYZ' to swap the vectors .
For example get x and set it to y.

Then you can also use a float multiply  (multiply by -1) to invert the value, so for example +20 will become -20

36
Hi.
On The Ecosystem there are several samples you can download (selct filter on and select samples, then 'browse')
37
Share New Actions / Re: Pooler - Simple Pooling System.
« Last post by djaydino on July 13, 2018, 06:25:23 AM »
Hi.
No these will be different actions.
I believe jean is working on these, i will forward the suggestion.
This would be very useful indeed and also good if it is optional.
38
Playmaker Help / Re: is it safe to use \ or / in fsm variable names?
« Last post by djaydino on July 13, 2018, 06:23:01 AM »
Hi.

Try splitting it up into multiple fsms.
Also if you have a state connecting to 5+ states try converting this by using arrays.

In the Preferences tab (bottom left in the editor) there are some settings that can help.
For example in 'General' turn off the 'UI Animation FX'
And in 'Error Checking' Disable 'Real-Time Error Checker'

Hover over the options to see the info on them.
39
Playmaker Help / Errors on AfterSerialize
« Last post by ben on July 13, 2018, 06:16:07 AM »
Hi,

We have an issue using playmaker 1.8.5.f8 with Unity 2017.4.1f1 :
On multiple actions on multiple FSMs (can be user-made or base Playmaker actions) there is this errors when a scene is loaded (in editor or runtime) :

Quote
Error Loading Action: XXX
System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[HutongGames.PlayMaker.FsmEnum].get_Item (Int32 index) [0x0000c] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:633
  at HutongGames.PlayMaker.ActionData.GetFsmEnum (HutongGames.PlayMaker.Fsm fsm, Int32 paramIndex) [0x00000] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1741
  at HutongGames.PlayMaker.ActionData.LoadActionField (HutongGames.PlayMaker.Fsm fsm, System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x00296] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1059
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.Context context, Int32 actionIndex) [0x00264] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:934
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:939)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:768)
HutongGames.PlayMaker.FsmState:LoadActions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:117)
HutongGames.PlayMaker.Fsm:InitData() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1707)
HutongGames.PlayMaker.Fsm:Reinitialize() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1655)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1576)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:232)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/Other/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)

Or this one :

Quote
Error Loading Action: XXX
System.ArgumentException: Object type YYY cannot be converted to target type: WWW
Parameter name: val
  at System.Reflection.MonoField.SetValue (System.Object obj, System.Object val, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) [0x000a0] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoField.cs:148
  at System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/FieldInfo.cs:150
  at HutongGames.PlayMaker.ActionData.LoadActionField (HutongGames.PlayMaker.Fsm fsm, System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x007b8] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1221

Or

Quote
UnityException: GetBool is not allowed to be called during serialization, call it from Awake or Start instead. Called from MonoBehaviour 'PlayMakerFSM' on game object 'Trigger_Fight_FSM (1)'.
See "Script Serialization" page in the Unity Manual for further details.
SyntaxTree.VisualStudio.Unity.Bridge.Configuration.GlobalConfiguration.get_SendConsoleToVisualStudio ()
SyntaxTree.VisualStudio.Unity.Bridge.Configuration.ActiveConfiguration.get_SendConsoleToVisualStudio ()
SyntaxTree.VisualStudio.Unity.Bridge.VisualStudioIntegration.OnLog (System.String message, System.String stacktrace, LogType type)
UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread) (at C:/buildslave/unity/build/artifacts/generated/common/runtime/ApplicationBindings.gen.cs:565)
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:939)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:768)
HutongGames.PlayMaker.FsmState:LoadActions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:117)
HutongGames.PlayMaker.Fsm:InitData() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1707)
PlayMakerFSM:OnAfterDeserialize() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:840)

Or

Quote
Door: FSM: XXX: FireCustomSoundEventOnTarget: Action has changed since FSM was saved. Could not recover parameters. Parameters reset to default values.
UnityEngine.Debug:LogError(Object, Object)
HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionReport.cs:89)
HutongGames.PlayMaker.ActionData:LogError(Context, String) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:1498)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:913)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:768)
HutongGames.PlayMaker.FsmState:LoadActions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:117)

It seems to happen on random actions on gameobjects that are instance of a prefab. When reloading the same scene the same objects have the errors.
We have tried to call "Update All Loaded Prefab" or even call directly in code Reinitialize and many other accessible methods on FSMs but it does not fix the problem.

The only viable fix is to revert the gameobject to prefab (not always possible because sometime the instance are a bit different) or just recreate the actions.
But new errors come really often.

It always looks like there is some custom serialization made by Playmaker (not accessible) that tries to recreate actions but fail (because there is too many variables, or not good type etc...) which is weird because it happen on script that never changed variable count/order and on some object with an action but not on other objects with the same action.

Do you have any idea how to fix it? Or at least to hide this errors (which seems to have no impact other than making impossible to build in strict mode)?
40
Playmaker Help / Re: U GUI Missing events
« Last post by djaydino on July 13, 2018, 06:11:29 AM »
Hi.
Make sure that you have the 'playmaker Ugui' prefab in the scene,
if it is not there you can find it in PlayMaker uGui\Prefabs.

Then check you fsm if it has these events.
if you do not need those event, set them to none.

Pages: 1 2 3 [4] 5 6 ... 10