Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UnityException: Package Name has not been set up correctly

Discussion in 'Scripting' started by DoomDude99, Aug 1, 2019.

  1. DoomDude99

    DoomDude99

    Joined:
    May 11, 2019
    Posts:
    87
    I'm using uLiveWallpaper:

    https://assetstore.unity.com/packages/tools/integration/ulivewallpaper-pro-52477

    to import preferences from android into unity. It creates the android project which builds fine in android studio. But, when I close android studio and try to update the unity project, I get the following error:

    Code (CSharp):
    1. UnityException: Package Name has not been set up correctly
    2. Please set the Package Name in the Player Settings. The value must follow the convention 'com.YourCompanyName.YourProductName' and can contain alphanumeric characters and underscore.
    3.  
    Pacakge name variations tried (uppercase):




    (alphanumeric (underscores are stripped)):



    (lowercase):



    What am I doing wrong? The project builds fine in unity (without that update from the plugin).
     
    Last edited: Aug 1, 2019
    anandk174 likes this.
  2. amitDklein

    amitDklein

    Joined:
    Apr 10, 2017
    Posts:
    20
    Hi,
    for everyone that will come across this thread, I made sure that my company name and product name match the
    Code (CSharp):
    1. com.CompanyName.ProductName
    and make sure to be in the right platform settings

    good luck

    upload_2021-5-4_2-47-59.png
     

    Attached Files:

  3. Bakrpify

    Bakrpify

    Joined:
    Jul 4, 2021
    Posts:
    4
    Hi Amit.
    Thank you it solved for me to..
     
    amitDklein likes this.