Search Issue Tracker
Fixed in 2023.1.X
Fixed in 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b5
2022.1
Issue ID
1354652
Regression
No
'displayName' in package.json is ignored if the package is from GitHub
How to reproduce:
1. Create a GitHub account and go into github.com/settings/tokens
2. Press "Generate new token" and scroll down to the third row of the table
3. Check the "read:packages" setting ON
4. Scroll down and generate token
5. Place the attached "upmconfig.toml" file into the "Users/<username>" directory and rename it to ".upmconfig.toml"
6. Open the user attached project "PackageManagerDisplayNameReport.zip"
7. Open the Packages folder
Expected result: Packages use “displayName: Prefab Package Example ” from “package.json”
Actual result: Packages use “name: com.tsgcpp.unitygithubpackageexample.prefab” instead of “displayName: Prefab Package Example” from “package.json"
Reproducible: 2019.4.30f1, 2020.3.18f1, 2021.1.21f1, 2021.2.0b12, 2022.1.0a8
Note:
* The access token currently in the file ".upmconfig.toml" expires on 10/06, replace it with the token you generated if expired/doesn't work
* When renaming "upmconfig.toml" you might be warned that the file will be hidden, you can still open it with VScode if you go into the directory it's in
* For step 5 refer to the documentation: https://docs.unity3d.com/Manual/upm-config.html
* For result examples, please refer to the screenshots attached
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 2023.1):
Fixed in: 2023.1.0a2
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0b1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.9f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.7f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.37f1