bundleVersion
The application’s global version number string.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static string bundleVersion { get; set; }
Remarks
This is the master version string for your project, corresponding to the field in the Player Settings UI. It is shared across all platforms and is the value returned by Application.version at runtime.
VersionHow this string is used depends on the target platform:
- Android: Maps to . This is the user-facing version displayed in the Google Play Store.
versionName - iOS / macOS: Maps to . This is the
CFBundleShortVersionStringfield in the Xcode project and the marketing version in the App Store.Version - Windows / Linux: Populates the executable's file metadata (specifically the and
File Versionfields on Windows).Product Version - 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 _bundleVersionCode, _buildNumber, _buildNumber, _buildNumber.