Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: PlaymakerNOOB on October 09, 2019, 07:59:20 PM

Title: Ecosystem action bug - Unity Analytics[SOLVED]
Post by: PlaymakerNOOB on October 09, 2019, 07:59:20 PM
Didnt know exactly where to put this.  Hopefully this is the correct spot.

If you use Analytics send custom event (found on the ecosystem), in the editor with wifi off or ethernet unplugged, the action still takes the success path.  How can it do that, if it cannot successfully report via the internet?
Title: Re: Ecosystem action bug - Unity Analytics
Post by: jeanfabre on October 09, 2019, 11:37:33 PM
Hi,

 unfortunatly, the result comes from the api itself.

https://docs.unity3d.com/ScriptReference/Analytics.AnalyticsResult.html

so the result is not whether you are connected or not it's how your event was formatted, I suggest you check if you are online first and adjust accordingly your logic.

Bye,

 Jean
Title: Re: Ecosystem action bug - Unity Analytics[SOLVED]
Post by: PlaymakerNOOB on October 10, 2019, 05:51:41 AM
Yep, good catch!  For others, I found that I should be using Application Internet Reachability (on ecosystem) to test for internet first, before sending the analytics.