Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug Struggled a bit due to lacking Documentation/Tutorial

Discussion in 'Unity Analytics' started by EversorDvL, Oct 26, 2023.

  1. EversorDvL


    Sep 26, 2015
    I've struggled my good 4-5 hours trying to understand why the game was reporting standard events but not custom ones. It seems like calling AnalyticsService.Instance.StartDataCollection is required for CustomData to report, but it's not stated in the tutorials nor the main documentation that pops out looking in google for Unity Analytics Custom Events.

    It would also be paramount to output a warning log on the first CustomData called without starting the data collection first.

    Please fix the Unity Analytics sample for the Custom Events, as it misses the fundamental step of starting the data collection.

    Same goes with the manual, it states how to call the CustomData, but it doesn't state that unlike default gameStarted, gameRunning, gameEnded events, CustomEvents require the DataCollection to be explicitly activated.
    Last edited: Oct 26, 2023