Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Six66

Pages: 1 [2] 3 4 5
Android Help / Android Profiling Garbage Collector Spike Help?
« on: November 20, 2015, 12:39:04 PM »

I'm having this bad garbage collector spike every 179 frame, either from GUI repaint or PlaymakerFSMUpdate, that I'm trying to figure out how to reduce or get ride of.

How do you find the object that is causing it?

Any help would be appreciated.Thanks

PlayMaker Help / playamker warning?
« on: October 14, 2015, 06:25:24 AM »
Hi, Can someone tell me what this mean, and maybe, how to fix this?


NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMakerEditor.FsmEditor.Update ()
HutongGames.PlayMakerEditor.FsmEditorWindow.Update () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:321)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:185)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:178)
UnityEditor.HostView.SendUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:243)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:264)

PlayMaker Help / Native Android Plugin Purchase and Consume Stuck.
« on: October 03, 2015, 01:11:53 PM »

Can someone help me with this issue with Native Android Plugin.
I'm using purchase and consume action. I have look at the logcat and it does complete the purchase successfully.
The issue is that it wont finish the consume function and send the success event to complete the action.

I saw a post on here with the same issue and was solve by uninstalling the billing sdk and reinstalling it.

That did not work for me, I have and been talking to Stan, the dev for NAP to solve it but still no having problem.

Anyone that ran into this problem in the past, please let me know how you got it fixed.

Thank you!

Unity Services / Unity Ads not working?
« on: September 30, 2015, 06:03:29 PM »
Can someone confirm this?
I'm currently running unity 5.1.3f1 with Unity Ads 1.3.2.

It was working fine, till I updated the unity ads and the newer Unity ads actions.

Now I can't seem to get it to work. It will not go pass the state "ad ready".

anyone have the old unity ads sdk so I can run it with the old action instead? Thanks.

PlayMaker Help / Adding multiple integer ( Solved )
« on: September 15, 2015, 11:17:45 PM »
Hi, I'm trying to make a simple score keeper and having trouble figuring out how to do so.

How to grab int from multiple prefab and add them all up?

Any Ideas would be great. Thanks.

PlayMaker Help / Error Converting String To Int[SOLVED]
« on: September 09, 2015, 01:47:11 PM »

I'm trying to grab an input field with all numbers and convert it to int.
When I run the project I get a lot of
"FormatException: Input string was not in the correct format"

Can someone help me out. Thank you.

PlayMaker Help / Error Unity 5.2 Please Have a Look.[SOLVED]
« on: September 08, 2015, 10:21:32 PM »
I just upgraded to the latest Unity 5.2 and I get this error. Please look at the image.
I don't know what it means or how to fix it.
Any help would be great.



Can someone help me out. I'm using platform 2d camera and It's jittery every few seconds, and I was wondering what the correct way on chaning the update in the script?


Code: [Select]
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.

using UnityEngine;

namespace HutongGames.PlayMaker.Actions
[Tooltip("Action for 2D Platform Camera with Dampening, based on Smooth Follow Action.")]
public class Platform2dCameraV2 : FsmStateAction
[Tooltip("The game object to control. E.g. The camera.")]
public FsmOwnerDefault gameObject;

[Tooltip("The GameObject to follow.")]
public FsmGameObject targetObject;

[Tooltip("The distance in the x-z plane to the target.")]
public FsmFloat distance;

[Tooltip("The height we want the camera to be above the target")]
public FsmFloat height;

[Tooltip("How much to dampen height movement.")]
public FsmFloat heightDamping;

[Tooltip("How much to horizontal offset.")]
public FsmFloat sideOffset;

[Tooltip("How much to dampen side movement.")]
public FsmFloat sideDamping;

[Tooltip("How much to dampen rotation changes.")]
public FsmFloat rotationDamping;

[Tooltip("Ignore Y position.")]
public bool ignoreHeight;

// Cache for performance
private GameObject cachedObect;
private Transform myTransform;
private Transform targetTransform;

public override void Reset()
gameObject = null;
targetObject = null;
distance = 10f;
height = 5f;
heightDamping = 2f;
sideOffset = 0f;
sideDamping = 2f;
rotationDamping = 0f;
ignoreHeight = false;

public override void OnUpdate()
if (targetObject.Value == null)

var go = Fsm.GetOwnerDefaultTarget(gameObject);
if (go == null)

if (cachedObect != go)
cachedObect = go;
myTransform = go.transform;
targetTransform = targetObject.Value.transform;

// Calculate the current rotation angles
var wantedRotationAngle = targetTransform.eulerAngles.y;
var wantedHeight = targetTransform.position.y + height.Value;
var wantedVel = targetTransform.position.x + sideOffset.Value;

var currentRotationAngle = myTransform.eulerAngles.y;
var currentHeight = myTransform.position.y;
var currentVel = myTransform.position.x;

// Damp the rotation around the y-axis
currentRotationAngle = Mathf.LerpAngle(currentRotationAngle, wantedRotationAngle, rotationDamping.Value * Time.deltaTime);

// Damp the height
if (ignoreHeight)
currentHeight = myTransform.position.y;
} else {
currentHeight = Mathf.Lerp(currentHeight, wantedHeight, heightDamping.Value * Time.deltaTime);

// Convert the angle into a rotation
var currentRotation = Quaternion.Euler(0, currentRotationAngle, 0);

// Set the position of the camera on the x-z plane to:
// distance meters behind the target
myTransform.position = targetTransform.position;
myTransform.position -= currentRotation * Vector3.forward * distance.Value;

currentVel = Mathf.Lerp(currentVel, wantedVel, sideDamping.Value * Time.deltaTime);

// Set the height of the camera
myTransform.position = new Vector3(currentVel, currentHeight, myTransform.position.z);

// Always look at the target


PlayMaker Help / Unity 2d Action Errors
« on: May 16, 2015, 11:05:18 AM »

Is there a fix for this error. Just did a fresh install of the latest Unity 5 along with latest playmaker
Everything works well, but when unity 2d action is imported I get this error.
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?)


PlayMaker Help / Android Native Plugin Google Saved Game
« on: April 21, 2015, 01:56:37 AM »

I have been messing with this plugin and I'm having trouble saving to google save game service.

I use the playmaker action that is included in the package, but it won't save. Google Save Game UI will appear but when I click on Save New Game. It will close and will not save.

Does anyone here use android native plugin to save progress with Saved Game that have solve this issue?

I have email the developer and posted on unity forum but no reply yet.

Any advice would help, Thank you.

PlayMaker Help / Facebook SDK Action+ for PlayMaker Help Profile Image
« on: April 16, 2015, 07:01:19 PM »

I recently bought the plugin and  having trouble retrieving profile image and was wondering if anyone here have a fix for it?

Whenever the action is run,it only retrieve a red question mark as the picture?

Any advice would much appreciated. Thank you.

Action Requests / Get Animator Trigger
« on: April 13, 2015, 11:05:34 PM »

Can someone please make or share this action?
There is a set trigger, but I need a Get animator trigger. Thank You!

PlayMaker Help / Photon Network Custom Properties Help?
« on: April 13, 2015, 08:12:26 PM »

I have hit a wall again in a progress of learning photon.
I'm confuse on how to use the action  "Photon Network Get Last Message P layer Properties"

Grabbing name and ID seems to work correctly, but when I try to use a custom properties to grab the game object it seems to not do anything.

Any help would be much appreciated. Thank you.


I was wondering how can i wait for an animation to complete before moving on to the next animation?


PlayMaker Help / Array Sprite
« on: March 26, 2015, 05:51:28 PM »

Had anyone modified arraymaker to include an option for storing sprite in an arraylist?


Pages: 1 [2] 3 4 5