playMaker

Author Topic: Game Analytics[SOLVED]  (Read 3059 times)

szomaza

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Game Analytics[SOLVED]
« on: July 11, 2015, 04:44:42 AM »
Tried installing the latest version of Unity, Game Analytics and Playmaker, but my efforts were stopped by different errors:

I did the following: Installed the newest version of all:
- Unity 5.1.1f1
- Game Analytics Unity SDK 2.1.0
- Playmaker 1.7.8.3
then toggled the playmaker scripts of GA and received this error:

Assets/GameAnalytics/Plugins/Playmaker/SendBusinessEvent.cs(53,39): error CS1501: No overload for method NewBusinessEvent' takes7' arguments

Then toggled these scripts off and installed the "fix" package from here:
the 0.6.6 fix: https://hutonggames.fogbugz.com/default.asp?W1170
 
this resulted in all sorts of errors in GA_Menu.cs starting with:
Assets/GameAnalytics/Editor/GA_Menu.cs(11,42): error CS0103: The name `GA' does not exist in the current context

What happened, how did GA jump from 0.6.6 to Unity SDK 2.1.0?
Could somebody create a fix for this latest version?

Thanks in advance,
szomaza
« Last Edit: July 13, 2015, 01:42:29 AM by jeanfabre »

szomaza

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Game Analytics
« Reply #1 on: July 13, 2015, 12:26:31 AM »
What is the latest version of Unity, Playmaker and Game Analytics that works correctly together?


theschwartz

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: Game Analytics
« Reply #2 on: July 13, 2015, 01:40:51 AM »
Tried installing the latest version of Unity, Game Analytics and Playmaker, but my efforts were stopped by different errors:

I did the following: Installed the newest version of all:
- Unity 5.1.1f1
- Game Analytics Unity SDK 2.1.0
- Playmaker 1.7.8.3
then toggled the playmaker scripts of GA and received this error:

Assets/GameAnalytics/Plugins/Playmaker/SendBusinessEvent.cs(53,39): error CS1501: No overload for method NewBusinessEvent' takes7' arguments

Then toggled these scripts off and installed the "fix" package from here:
the 0.6.6 fix: https://hutonggames.fogbugz.com/default.asp?W1170
 
this resulted in all sorts of errors in GA_Menu.cs starting with:
Assets/GameAnalytics/Editor/GA_Menu.cs(11,42): error CS0103: The name `GA' does not exist in the current context

What happened, how did GA jump from 0.6.6 to Unity SDK 2.1.0?
Could somebody create a fix for this latest version?

Thanks in advance,
szomaza

Hi szomaza,

Thank you for using GameAnalytics. We have made a fix now. You can download the latest version on github at https://github.com/GameAnalytics/GA-SDK-UNITY/archive/master.zip (the latest version is not yet available to Unity Asset Store) or you can also use the fix from this PasteBin http://pastebin.com/AJb4KYBF (fixes Assets/GameAnalytics/Plugins/Playmaker/SendBusinessEvent.cs). Hope this helps.

Kind regards,
Martin
SDK Developer @ GameAnalytics

szomaza

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Game Analytics[SOLVED]
« Reply #3 on: July 13, 2015, 06:24:03 AM »
Thank you very much Martin!
I'll try that and reply shortly how it went.

edit:
- Good: There are no errors now after adding that to a new clean Unity 5 project along with Playmaker.
- Bad: I get a bunch of errors when copying that and overwriting GA in my project in Unity 4.6.6f2.

So I'll try to install all the plugins I need into that new clean Unity 5 project and after that works, copy my scene over.
By the way? Is this the proper way to update a Unity project?

Br,
szomaza
« Last Edit: July 13, 2015, 10:53:49 PM by szomaza »

szomaza

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Game Analytics[SOLVED]
« Reply #4 on: July 15, 2015, 02:48:51 AM »
Hi Martin,

Cristian Bercu writes that we should only be using the legacy GA SDK with Playmaker:
http://support.gameanalytics.com/hc/en-us/articles/200841416-Playmaker-integration

But the latest version from GitHub you suggested seems to work so far.
Please explain.

Br,
szomaza

cristianbercu

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: Game Analytics[SOLVED]
« Reply #5 on: July 15, 2015, 05:28:20 AM »
Hello,

Please disregard the last comment I posted in the GA article. I edited it after I talked with Martin. Apologies for the confusion.