Quantcast
Channel: Unity Analytics
Viewing all 2507 articles
Browse latest View live

IAP Init failed - No Products Available

$
0
0
Is there a reason why IAP initialize fails if there are no products available, instead of simply doing nothing (or, even better, using the "availableToPurchase" flag to reflect this, which is already used for products that have been defined locally, but are not available online)?

I try to replace Soomla with this native IAP system, but this is really annoying.

(I know it would normaly be easily fixed by putting some debug-items into the store, but it is currently absolutely impossible to...

IAP Init failed - No Products Available

Restore transactions null pointer

$
0
0
When I try to restore transactions, the first time the plugin normally works, but if I press restore transactions afterwards, I get a null pointer exception:

Code (CSharp):
  1. NullReferenceException: A null value was found where an object instance was required.
  2.   at UnityEngine.Purchasing.NativeJSONStore.OnPurchaseFailed (System.String json) [0x00000] in <filename unknown>:0
  3.   at UnityEngine.Purchasing.AppleStoreImpl.ProcessMessage (System.String subject, System.String payload, System.String...
Restore transactions null pointer

A/B Testing Suggestion

$
0
0
Hey guys, this might be a little out of scope for Analytics, so thought I'd suggest it here first to get some feedback before posting about it on the suggestions section.

It'd be cool if we had the abillity to set up A/B testing via the dashboard, and view analytics from users who are assigned to group A or B. Here is how I imagine it might work:

Say we want to test which configuration sells more in app purchases: IAP Dialogue #1 or IAP Dialogue #2


  • We set up an A/B test via...

A/B Testing Suggestion

Age designation

Analize some analytics values

$
0
0
Hello all

We have some analytic data from our game in development. Our main custom event is gameOver, but it has several parameters, some of this parameters are repeated in string format, and integer format.

For example the number of the weapon used before dead. We noticed that is usefull for us to send in string format because the platform can "categorized" the data.

But what about the score points? we can't sent the score points as string data, so we can't view how many users get points...

Analize some analytics values

Extra Permission needed in Android ?

$
0
0
Is there extra permission needed when publish android ?
e.g.
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

In Unity Editor all the scripts works fine, but not work as apk

Crash Reporting

$
0
0
Does Unity Analytics give crash reports?

PurchaseFailureReason.unknown when using Touch ID on iOS

$
0
0
Hi, I'm currently in the process of switching to Unity's builtin IAP system. I got in app purchases to work when the user uses a password, but when using Touch ID it will come up with the Touch ID dialogue 3 times after which it returns PurchaseFailureReason.Unknown. It worked fine with the previous IAP system we used, and it also works with other apps on the same device.

CrossPlatformValidator under iOS only works from within ProcessPurchase()?

$
0
0
I’m using Unity 5.3.4f1 on a Mac.

I’m having an issue with local receipt validation for iOS In-app purchase. When I use CrossPlatformValidator.Validate from inside the ProcessPurchase callback, my receipt validates. This happens when I do a new purchase or restore purchases on my device.

When I relaunch the app, I read the local app receipt using IAppleConfiguration.appReceipt. But then when pass this into CrossPlatformValidator.Validate it throws the InvalidReceiptDataException.

I’ve...

CrossPlatformValidator under iOS only works from within ProcessPurchase()?

Analytics JavaScript Examples

$
0
0
Here are some JavaScript code examples while we are working on adding them to the Manuals!


4.x - 5.1 SDK Integration
import UnityEngine.Cloud.Analytics;

Custom Events
var params = new System.Collections.Generic.Dictionary.<System.String, System.Object>();
params.Add("coins", 10);
UnityAnalytics.CustomEvent("MyCustomEvent", params);

Monetization
UnityAnalytics.Transaction("12345abcde", 0.99, "USD", null, null);

User...

Analytics JavaScript Examples

ArgumentException: An element with the same key already exists in the dictionary.

$
0
0
I'm new to dictionaries in general, and walking blindly into analytics without knowing if this error is on my side or the engine side.

In short, I have a game manager in JS that sends a message to a C# script to submit analytics. I've renamed the custom event to something NEW, and this error still happens. Any ideas what's happening?

(I'm also curious to see what gets reported if one of these text strings is empty... but for now I just want to get it to work at all.)


Unity 5.3.4f1

Error...

ArgumentException: An element with the same key already exists in the dictionary.

Unity IAP - Android - initialize error on Scene reload

$
0
0
Hello,

I am starting to look into Unity IAP service, and I am stuck on the following issue :
- Each time the button reload level (SceneManager.LoadScene(0)) the IAP script throw this error :
Unity IAP works fine until the button reload level is pressed.

These are the steps I have followed:
- I have created an empty new project
- I have enabled the Unity IAP services and imported all the...

Unity IAP - Android - initialize error on Scene reload

Should I report Restore Transaction events via Analytics.Transaction?

$
0
0
I'm using Unity 5.3.4f1 on a Mac.

I use Analytics.Transaction() inside of the ProcessPurchase callback, which gets calls after purchasing and restoring transactions. Should I call Analytics.Transaction() when ProcessPurchase is called after RestoreTransactions?

In other words will Unity Analytics report those RestorePurchase receipts as new income or will it know that it is a restored purchase?
Should I report Restore Transaction events via Analytics.Transaction?

Does a Funnel persist between player sessions?

$
0
0
Or does a player's progression through the funnel reset and the player is considered to have dropped out of that funnel as soon as the player closes the game?

I have a tutorial and then the actual game. I want to check how many players actually play the tutorial before playing the game, but they might be closing the game after the tutorial and then coming back to the game. If funnel doesn't persist between sessions, I will miss that case and interpret it as not having read the tutorial....

Does a Funnel persist between player sessions?

How set account for indie developers

$
0
0
Hi, we (a friend and i) have been working on a game and we will use unity ads, we want to know how to configure it or when to say it to unity and unity ads that we are working together.

So the thing is, we have to create a unity account for the indie "studio" xD and then create a unity ads account. Or exist a way to say it to unity and unity ads that the game is of both, and both have access to the dashboard and statistcs.


Sorry for language errors. And thank you for support.

Where is the IAP catalog?

$
0
0
Is there a unified catalog somewhere online? Where you can type in your product ids and even dynamically add to the list? I recall reading about it somewhere.

New version of Heatmaps in the works!

$
0
0
Hey everyone! I've been working on a new version of Heatmaps and I'm REALLLY excited to share it with you! If anyone is interested in a sneak peak, we're putting together user feedback sessions to find out if we're solving the issues you need solved!

PM me if you're interested in being part of the feedback program.

Checking a subscription expiration - Google Play Store

$
0
0
Hi!
I've searched the forums and did not find an answer for this... How do I check if the user's subscription is still active? There's no expiration date field in the GooglePlayReceipt class (I'm using the GooglePlayTangle class for receipt validation), only the purchase date and the purchase state (Cancelled, Refunded and Purchased). According to Google Play Store documentation of subscriptions...

Checking a subscription expiration - Google Play Store

Unity In-App Purchasing ClassNotFoundException Android.

$
0
0
I'm trying to integrate IAP following the tutorial:
https://unity3d.com/pt/learn/tutorials/topics/analytics/integrating-unity-iap-your-game-beta

Running the editor works correctly.

When I export to the eclipse, I have the following error:

02-17 22:36:34.501: I/ActivityManager(814): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=ccom.project.name/.UnityPlayerActivity (has extras)} from uid 10052 on display 0
02-17 22:36:34.592:...

Unity In-App Purchasing ClassNotFoundException Android.

[IAP] - How to test retrieving purchases in Google Play?

$
0
0
(I think this is the right forum for this)

Hi! I'm working on an Android game using the lastest Unity version and I'd like some help on literally the last step before I can take my apk to production state and publish my game.

My game offers the player the choice to purchase items (coins), so I'd like to include the option for said purchases to be retained if the player installs the game on a different device, or decides to uninstall and install it back after a while -that...

[IAP] - How to test retrieving purchases in Google Play?
Viewing all 2507 articles
Browse latest View live