Search Unity

Bug Can't clear metadata after key value pairs limit reached

Discussion in 'Unity Cloud Diagnostics' started by Deleted User, Feb 23, 2023.

  1. Deleted User

    Deleted User

    Guest

    Hi there.

    While making some tests, I tried to send more than 64 kvp with
    SetUserMetadata()


    After, when trying to call
    SetUserMetadata()
    with the key string and value as
    null
    , the following argument exception appeared:

    ArgumentException: Number of metadata entries may not exceed 64


    And it doesn't allow me to clear the metadata, it is, to call
    SetUserMetadata(key,null)


    Hoping this bug is fixed soon.

    Thanks for your attention.
     
    Last edited by a moderator: Feb 23, 2023
  2. Deleted User

    Deleted User

    Guest

    The custom metadata info (key value pairs) was deleted after restarting Unity.
    Anyway, it would be good to have a solution to clear this metadata with an API call.
     
    Last edited by a moderator: Mar 1, 2023