Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Question Unity IAP: You are not authorized to set the license key - GG Play

Discussion in 'Unity IAP' started by unity_2landadvanture, Jan 3, 2023.

  1. unity_2landadvanture

    unity_2landadvanture

    Joined:
    Jul 5, 2022
    Posts:
    6
    Hi, I tried to add the google license key for my app in "Project settings" - "Services" - "In-App Purchasing"

    I got that error message: "You are not authorized to set the license key"

    Who can help?

    Unity: 2022.1.17f1
    Purchasing Package: 4.4.1

    I am the owner of this project.

    Thanks for help
    upload_2023-1-3_21-55-8.png
    upload_2023-1-3_21-54-59.png
     
  2. Yannick_D

    Yannick_D

    Unity Technologies

    Joined:
    Feb 21, 2022
    Posts:
    218
    Hello,
    You already added your Google License Key in Unity Gaming Services so you don't have to set it again in the project (it's the same key).
    The error can be ignored and everything should work fine!

    We have plans to rework this window which will also fix this problem.
     
  3. unity_2landadvanture

    unity_2landadvanture

    Joined:
    Jul 5, 2022
    Posts:
    6
    that's nice, thank u
     
  4. aliasgar5253

    aliasgar5253

    Joined:
    Nov 1, 2020
    Posts:
    4
  5. twell59

    twell59

    Joined:
    Feb 6, 2016
    Posts:
    25
    This still doesn't work.

    It was reported 4 years ago here: https://forum.unity.com/threads/can-not-verify-google-play-public-key.631630/

    And still it's not fixed after 4 years and the red NullReferenceException error is still there:

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.Purchasing.NetworkingUtils.GetValueFromJsonDictionary (System.String rawJson, System.String key) (at ./Library/PackageCache/com.unity.purchasing@4.9.4/Editor/ServiceProjectSettings/Service/Networking/NetworkingUtils.cs:23)
    Adding the license key to the dashboard doesn't remove the NullReferenceException.
     
    Last edited: Sep 10, 2023
    CrazyCod3r likes this.
  6. mattwood2855

    mattwood2855

    Joined:
    Nov 4, 2022
    Posts:
    2
    I am still getting this issue
     
  7. alpnp

    alpnp

    Joined:
    Mar 31, 2023
    Posts:
    1
    Hello my dear friends. Today 14 November I still getting this problem in my unity project... Again TT