Skip to content

[WebGL] Browser storage exceeding and PlayerPrefsException #182

@WhySudo

Description

@WhySudo

Call of Mixpanel.Track() method may unexpectedly throw a PlayerPrefsException in WebGL builds due to exceeding the allocated browser storage capacity (IndexedDB). Especially on mobile devices. My case - WebGL application in Telegram as Telegram Mini App.

Potential reasons causing this issue:

  1. API endpoint is unavailable
  2. Ambigious(but still under API limits) amount of events data

Expected result: Calling this function should be safe, with any exceptions handled internally by the Mixpanel library. Ideally, a solution to prevent data loss caused by storage overflow should also be considered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions