Could not find it so here is a little script to auto increase build number. For it to work you just drop this script somewhere in your project and add ‘.0’ to the end of your version string (File -> Player Settings… -> Player -> Version). The script will parse the number after the last ‘.’ and increase it by 1 on every build.

You can access the version with PlayerSettings.bundleVersion to use it somewhere.

Copy to Clipboard