Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Unique / Incrementing Build Number

Discussion in 'Scripting' started by Y2JB, Oct 9, 2023.

  1. Y2JB

    Y2JB

    Joined:
    Jan 12, 2021
    Posts:
    8
    Hello,

    I would like to have an incrementing build number which is attached to each release. I feel this needs to be an automated process as manually managing it will clearly lead to problems. I thought about maybe some pre-compile script that edits some c# source file but that feels a little messy. I thought I would ask here as this is surely a problem multiple people have solved in the past. Thoughts?
     
  2. Nad_B

    Nad_B

    Joined:
    Aug 1, 2021
    Posts:
    373