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. Dismiss Notice

A way to check Unity version in a project

Discussion in 'Editor & General Support' started by richardh, Feb 7, 2013.

  1. richardh

    richardh

    Joined:
    Mar 7, 2012
    Posts:
    226
    Hi
    I am about to re-download Unity Ver 3 which I have used to create my project (PC died so now have new PC). I wanted to download the same version as the one I created my project in. Is there a way to find out which version of Unity a project was created in?

    I know it's Ver 3 but I can't remember which build of Ver 3 I was using? Does it matter? Should I just downward Unity 4 and stick my project in there? Id Ver 4 stable?

    ta
     
  2. Dan_Tsukasa

    Dan_Tsukasa

    Joined:
    Jan 26, 2013
    Posts:
    155
    Provided you stick to the 3's then you should be good, depending on what you've used in your code it may haev a few issues with upgrading.
    I'd recommend copying the project and testing it out on 4.0 (unless you specifically require 3 that is) to see if there are any errors flagged.
     
  3. CreativeChris

    CreativeChris

    Unity Technologies

    Joined:
    Jun 7, 2010
    Posts:
    456
    To view the version your project was built with you can open the ProjectSettings.asset with NotePad++ or something similar and the version number should be displayed in the first line.

    Version 4 is stable, but due to it being a major upgrade there may be issues with upgrading your project, so please backup before you do.

    Thanks,
    Chris
     
  4. Peter Rush

    Peter Rush

    Joined:
    Mar 25, 2013
    Posts:
    9
    Hi, I think that was true of the binary version of ProjectSettings.asset, but it seems to have been removed from the text version.

    For example the top few lines of one ProjectSettings.asset now say:

    %YAML 1.1
    %TAG !u! tag:unity3d.com,2011:
    --- !u!129 1
    PlayerSettings:
    m_ObjectHideFlags: 0
    serializedVersion: 2
    .... (etc)

    Is there any other way of detecting the version of a project? It is very painful trying to go back to earlier projects, even just to open them to have a look, because if you don't get quite the right version it often adds an issue, changes a bunch of files and is non-reversable.
     
    LightStriker and scott-havird like this.
  5. Ibrapptly

    Ibrapptly

    Joined:
    Nov 21, 2014
    Posts:
    1
    Just got to Help menu,
    then click on Check For Updates - your version will appear and whether or not it's up-to-date
     
  6. Adamcbrz

    Adamcbrz

    Joined:
    Jul 13, 2011
    Posts:
    21
    I know this is an old thread but it appears you can look at your Library files in a text editor and the version is the first readable text in the file. (Could change at any point when unity updates version)

    The first line of Library/assetDatabase3:
    ˚†R~ú ˚¿4.6.1p1˛ˇˇˇÏAssetDatabaseBaseˇˇˇˇÄunsigned

    So the version of unity this was last used was 4.6.1p1.
     
  7. jake9xx

    jake9xx

    Joined:
    May 28, 2014
    Posts:
    2
    Again, I know this is relatively old thread but because some people seem to have problems with this still. At least as of Unity 5.x builds, the information is as follows:

    You should check <project>/ProjectSettings/ProjectVersion.txt for 'm_EditorVersion' tag. It tells you all you need to know on this topic.

    thanks, Jarko
     
    its_just_Cam likes this.
  8. elenzil

    elenzil

    Joined:
    Jan 23, 2014
    Posts:
    73
    unfortunately ProjectVersion.txt seems to have been introduced w/ Unity 5, so for earlier versions you need to use the methods mentioned earlier. Adamcbrz's suggestion worked for me w/ unity 4.5.1.
     
  9. rvictorcardozo

    rvictorcardozo

    Joined:
    Jul 8, 2014
    Posts:
    2
    Ty so much! <3
     
  10. nextage575

    nextage575

    Joined:
    Nov 4, 2019
    Posts:
    20
    in project settings,their is file with name ProjectVersion.txt
    you can find it out their
     
  11. Honorsoft

    Honorsoft

    Joined:
    Oct 31, 2016
    Posts:
    81
    The first line of any ProjectSettings.asset is "%YAML 1.1". The next two lines are: "%TAG !u! tag:unity3d.com,2011:
    --- !u!129 &1"
    I think you meant the first line of "ProjectVersion.txt" which shows the version (m_EditorVersion) of the Editor, however Projectversion.txt is not used in Unity versions 3 and 4. Let me know if there's a way to detect those versions with a text editor.
     
  12. AmitTiwari4Unity

    AmitTiwari4Unity

    Joined:
    Aug 26, 2021
    Posts:
    6
    Inside the "ProjectSettings" folder you can find the text file "ProjectVersion". It has the version details.
     
    mcroswell likes this.