Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

PlayerSettings.bundleVersion

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public static bundleVersion;

Description

The application’s global version number string.

This is the master version string for your project, corresponding to the Version field in the Player Settings UI. It is shared across all platforms and is the value returned by Application.version at runtime.

How this string is used depends on the target platform:

  • Android: Maps to versionName. This is the user-facing version displayed in the Google Play Store.
  • iOS / macOS: Maps to CFBundleShortVersionString. This is the Version field in the Xcode project and the marketing version in the App Store.
  • Windows / Linux: Populates the executable's file metadata (specifically the File Version and Product Version fields on Windows).
  • WebGL: Included in the build's metadata.

Note: While this is the user-facing version, many platforms require an internal build number for store submissions. Refer to PlayerSettings.Android.bundleVersionCode, PlayerSettings.iOS.buildNumber, PlayerSettings.tvOS.buildNumber, PlayerSettings.VisionOS.buildNumber.