Search Unity

GameAnalytics is failing to send events indefinitely

Discussion in 'Formats & External Tools' started by T5Shared, Aug 8, 2019.

  1. T5Shared

    T5Shared

    Joined:
    Oct 19, 2018
    Posts:
    152
    Hi All,

    Today I noticed a problem with GameAnalytics. The Unity log file showed lots of 'Warning/GameAnalytics: Event queue: Failed to send events to collector - Retrying next time' messages. And no events ever made it to the GA dashboard.

    Turns out that this happens when setting 'Managed Stripping Level' to 'Medium' or 'High'. When Setting it to 'Disabled' or 'Low, there are no warnings (and with verbose logging on, it shows events being sent successfully). This is with 'Scripting Backend' set to 'Mono'. No idea what happens with IL2CPP builds.

    So yes, I fixed my own problem, but I thought I'd share it here, just in case anyone (including me from the future!) ever has the same problem.

    Cheers,
    Matt