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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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