Search Issue Tracker
By Design
Votes
2
Found in
2022.3.20f1
2023.3.0b9
Issue ID
UUM-64905
Regression
Yes
[tvOS] CFBundleShortVersionString is not updated when changing Version in Player Settings
How to reproduce:
1. Open the attached Project "testt"
2. Open Edit -> Project Settings... -> Player
3. Edit the "Version" field to a new value
4. Observe the "Version" field under tvOS settings -> Other Settings
Expected result: The version under Other Settings matches the Version in Player Settings
Actual result: The versions do not match
Reproducible with: 2022.3.18f1, 2022.3.20f1, 2023.3.0b9
Not reproducible with: 2021.3.35f1, 2022.3.17f1, 2023.2.12f1
Comments (2)
-
rytis_unity
Mar 18, 2024 10:24
@STIJN2097, which Unity version are you using?
There are platform specific APIs to change 'tvOSBundleVersion' and 'visionOSBundleVersion':
https://docs.unity3d.com/ScriptReference/PlayerSettings-tvOSBundleVersion.html
https://docs.unity3d.com/ScriptReference/PlayerSettings-visionOSBundleVersion.html -
Stijn2097
Mar 01, 2024 12:57
New properties 'tvOSBundleVersion' and 'visionOSBundleVersion' are introduced in 'ProjectSettings/ProjectSettings.asset', but they can not be modified through scripts (for automated builds) like the normal 'bundleVersion' can through 'PlayerSettings.bundleVersion'.
For now we will use a workaround to post-process the xcode project and fix the version for tvOS.
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
The behaviour now matches the API.
tvOS and visionOS have platforms specific APIs for the Bundle version, so the value in the UI is now also separated.