Search Unity

Question Package Name has not been set up correctly

Discussion in 'Editor & General Support' started by Studio6D, Jul 21, 2021.

  1. Studio6D

    Studio6D

    Joined:
    Jun 10, 2021
    Posts:
    11
    I recently updated my Unity project from 2019 to 2020.

    After resolving some issues about missing build-tools, I now have the following warning:


    UnityException: Package Name has not been set up correctly
    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.
    Each segment must not start with a numeric character or underscore.


    It built just fine before I updated and when I check in the player settings it seems all good.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,735
    What does this mean? Is there a valid bundle in that field for the target you are building?
     
  3. Studio6D

    Studio6D

    Joined:
    Jun 10, 2021
    Posts:
    11
    Thanks for your answer.

    The package name is filled and I've the following message (attached files).
     

    Attached Files:

  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,735
    You need to read your error message better.

    It's actually TELLING you what's wrong.

    6 is a numeric character.