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

Question Is it possible to fix previous invalid events?

Discussion in 'Unity Analytics' started by rebootint, May 6, 2024.

  1. rebootint

    rebootint

    Joined:
    Oct 1, 2019
    Posts:
    1
    Hello everyone,

    I'm facing an issue with Unity Analytics where my "levelWin" event is being marked as invalid. Here’s what happened:

    1. Missing Parameter: When defining my "levelWin" event, I initially forgot to include a parameter that's essential for my analytics needs.

    2. Invalid Status: Because this parameter was missing, any "levelWin" event that was sent before fixing the issue is now marked as invalid and isn't being recognized correctly in the SQL Data Explorer.

    3. Resolution Attempt: I have since updated my event definition to include the missing parameter, but previous events are still not showing up correctly due to their "invalid" status.
    Request for Help:

    Is there a way to include these "invalid" events in my analysis, or perhaps identify and fix them within Unity Analytics? Alternatively, if you have suggestions for querying and including events with missing parameters, I'd greatly appreciate your insights!

    Thanks in advance for your help.
     
  2. Laurie-Unity

    Laurie-Unity

    Unity Technologies

    Joined:
    Mar 5, 2020
    Posts:
    227
    Hi,

    Fixing an event schema error in the Event Manager tool will only fix events going forwards, it won't result in previously rejected invalid events becoming visible or being re-preocessed.

    If you have a copy of the invalid events, you could re-sumbit them to the Analytics REST API for re-processing, but this will only work for recent events, events older than 31 days old will be rejected with an 'Timestamp Outside Valid Boundaries' error.

    Sorry