Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

A way to locally save Unity Analytics data events onto Android/iOS without an internet connection?

Discussion in 'Unity Analytics' started by apventures, Jul 12, 2021.

  1. apventures

    apventures

    Joined:
    Aug 6, 2018
    Posts:
    24
    I'm faced with a dilemma where my customer wants to see Unity Raw data in the form of JSON or CSV, but:

    1) There is no internet connection. Only a LAN/Network Discovery connecting host phones with client phones

    2) They want the client phones (Network HLAPI and Mirror API compatible) to send their data to the host phone.

    3) The data must use the same Standard Events and Custom Events that are delineated in the Analytics dashboard.

    Is there a way to achieve this? Or is it impossible?
     
  2. apventures

    apventures

    Joined:
    Aug 6, 2018
    Posts:
    24
    Please disregard this question. I went in a different direction.
     
  3. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    The events will be cached locally until there is an Internet connection available, and then will be sent in batches.
     
  4. apventures

    apventures

    Joined:
    Aug 6, 2018
    Posts:
    24
    Thanks. But I think I found out a method of doing this. I'm saving my game data calls as text files.
     
    JeffDUnity3D likes this.