Search Issue Tracker
By Design
Duplicate in 2021.2.X
Votes
2
Found in
2020.3.31f1
2021.2
2022.1
2022.2
Issue ID
1412412
Regression
Yes
Spaces and symbols of the Project name are changed to hyphens causing "Invalid characters" warning in the Bundle Identifier
How to reproduce:
1. Create a new project
2. Go to the Player Settings
3. Go to the Player tab and observe the Bundle Identifier
Expected result: Project name is not changed and no warnings
Actual result: Hyphens are added to the Bundle Identifier and the "Invalid characters have been removed from the Application Identifier" warning appears
Reproducible with: 2020.3.31f1, 2020.3.32f1, 2021.2.17f1, 2022.1.0b13, 2022.2.0a8
Not reproducible with: 2019.4.37f1, 2020.3.30f1
Note: Reproducible with macOS, Windows
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2022.2.X):
This is the expected behaviour.
The change in the validation of the Application Identifier has been done in order to prevent having missing segments in the default Application Identifier in case either the Company Name or the Product Name contains only invalid characters (see case 1352216). The warning is there just to tell that invalid characters have been removed from the default Application Identifier, so it won't mirror the Company Name and the Product Name exactly. In case the Application Identifier itself is invalid, then an error will be displayed instead of a warning.
As always, the Application Identifier for each platform will be updated only when opening the Player settings of the corresponding platform. If the default Application Identifier is not the desired one, it can always be changed after checking the setting Override Default Bundle Identifier (or Override Default Package Name, for Android).
For more details, please check our documentation:
- macOS Player settings: https://docs.unity3d.com/Manual/PlayerSettings-macOS.html#AppStore
- iOS Player settings: https://docs.unity3d.com/2022.2/Documentation/Manual/class-PlayerSettingsiOS.html#Identification
- Android Player settings: https://docs.unity3d.com/Manual/class-PlayerSettingsAndroid.html#Identification