Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Analytics timestamp issues

Discussion in 'Unity Analytics' started by aitor-prado, Oct 9, 2018.

  1. aitor-prado

    aitor-prado

    Joined:
    Jan 27, 2017
    Posts:
    2
    Hi,

    I'm having issues with analytics timestamps:
    TimestampIssues.png
    In this example you can see the player traveling 4 days to the past between levels 47 and 48... how can this be possible?

    Cheers,
    Aitor

    PS: The game was done using Unity 5.5.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,380
    These are logs from about a year ago? The user may have changed the date on their device perhaps?
     
  3. aitor-prado

    aitor-prado

    Joined:
    Jan 27, 2017
    Posts:
    2
    Hi Jeff, thanks for your response.
    Didn´t know the timestamp was dependant on the device´s set up date/time, is it submit_time which I need to use or that could have gaps between subsequent events? Ultimately what I need is to calculate times between the first and last event for a session (with current data, without rebuilding the game). Had a custom event sending the time between OnApplicationFocus(true) and OnApplicationFocus(false), but happen to send unreal times (sometimes very near to zero with actual evidence of gameplay and sometimes hours or even days without it).
    Cheers,
    Aitor
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,380
    These logs are from a year ago, it would be difficult to troubleshoot. Do you have recent evidence of this behavior? Does submit_time line up more with your expectations? Keep in mind that we do cache events and sometimes send the events on the next app launch, so submit_time could occur similarly. If this is for only a single user out of many and only happened once, it might be best to ignore it but that is up to you.