

Or you could translate a version number in “x.y” format to an integerīy encoding the “x” and “y” separately in the lower and upper 16 bits. You can define it however you want, as long as each successive The value must be set as an integer, such as Not the version number shown to users that number is set by the This number is used only to determine whether one version is more recent thanĪnother, with higher numbers indicating more recent versions. (This is sharedīundle Version Code: An internal version number. The version is specified in the common format of a stringĬontaining numbers separated by dots (eg, 4.3.2). Unity has the answer in their Manual of Player Settings page: ( Update: this link no longer contains the information below):īundle Version: Specifies the build version number of the bundle, which identifies an iteration (released or unreleased) of theīundle. Each APK must have a unique version code so Unity adds 100000 to the number for ARMv7, and 200000 for ARM64. Keep this number under 100000 if Split APKs by target architecture is enabled. Or you could simply increase the number by one each time a new version is released. Or you could translate a version number in “x.y” format to an integer by encoding the “x” and “y” separately in the lower and upper 16 bits.

You can define it however you want, as long as each successive version has a higher number.įor example, it could be a build number. The value must be set as an integer, such as “100”. This is not the version number shown to users that number is set by the versionName attribute. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. (Shared between iOS and Android.)īundle Version Code: An internal version number. The version is specified in the common format of a string containing numbers separated by dots (eg, 4.3.2). Version: Enter the build version number of the bundle, which identifies an iteration (released or unreleased) of the bundle.

Documentation on these values can be found in the Unity docs for Android Player settings (Android Player settings > Other settings > Identification): In newer versions of Unity Bundle Version became just Version.
