Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
11
Question by ducklin · Dec 02, 2014 at 08:36 PM · editorproject

How to know Unity version of an Unity project without open it?

Is there a way to know unity version in just windows folders? Without open it in unity editor

Comment
Comments Locked
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

7 Replies

· Add your reply
  • Sort: 
avatar image
9
Best Answer

Answer by maria-dev · Dec 03, 2014 at 01:49 PM

@ducklin
You mean in just windows without an open unity editor

So here is a simple trick

GOTO Your Project > Library Open any .Asset format file in notepad.
After opening the file you can see the unity version in the first line.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bonfire-Boy · Dec 02, 2017 at 02:29 PM 0
Share

And what if the Library folder doesn't exist? A common use case is that one wants to know what version of Unity a newly cloned project was created in. All one will normally have in the project folder are the Assets and ProjectSettings folders, particularly if (as stated in the question) one hasn't opened the project in the editor yet! I$$anonymous$$O hexagonius's solution is the one that will always work.

avatar image stechmann · Jun 21, 2019 at 01:54 PM 0
Share

only applicable for Unity 4.x

avatar image Ziplock9000 · Jan 20 at 09:04 AM 0
Share

This works, but I would add that it works with ANY .asset file under the asset folder too. I've just used this to identify an old 5.4.x project.

avatar image
28

Answer by hexagonius · Aug 19, 2017 at 11:28 AM

Under ProjectSettings in the project folder there's a ProjectVersion.txt.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bonfire-Boy · Dec 02, 2017 at 02:25 PM 0
Share

It's ProjectVersion.txt, but apart from that this is the correct answer. The accepted answer involves the Library folder which may not even exist!

avatar image hexagonius Bonfire-Boy · Oct 06, 2018 at 06:23 PM 0
Share

did change it, thx for the correction

avatar image Ziplock9000 Bonfire-Boy · Jan 20 at 09:03 AM 0
Share

No it involves any .asset file in the assets folder. I've just used it to find out an old 5.4.x project number.

avatar image elenzil · Jun 08, 2018 at 04:24 PM 0
Share

this should be the accepted answer.

if you're command-liney:

 cat ProjectSettings/ProjectVersion.txt | grep m_EditorVersion | cut -d ' ' -f 2
avatar image
2

Answer by SmilingCatEntertainment · Oct 06, 2018 at 04:12 PM

Here is what I found after going through all of my old projects:

For 5.x and later, the Unity version can be found in ProjectSettings\ProjectVersion.txt.

For 4.x, the version can be found by opening a .asset file in notepad and looking at the first few bytes.

I have yet to find a good way to determine the version for projects last opened in 3.x or earlier.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by thelackey3326 · Dec 03, 2014 at 04:16 AM

Looks like there is a file called version.txt in the Library/UnityAssemblies folder. The very first line is the Unity version.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image thelackey3326 · Dec 03, 2014 at 04:22 AM 1
Share

Also, looks like you can open some of those .asset files found in the Library folder as text files and see the Unity version number a couple dozen bytes from the beginning, or so.

avatar image RyanFavale · Aug 19, 2017 at 10:26 AM 0
Share

Nothing in the Library folder. So why do I get this error when starting up?

[Unity website won't upload my image atm] Text: Your project was last opened with a different setup of Unity. $$anonymous$$:/Alpha 16 The saved project (before 5.0) does not match the launched editor (5.3.3p3). This may require re-import...

avatar image
0

Answer by RyanFavale · Aug 19, 2017 at 10:20 AM

Not seeing it in the first line of an asset. Only seeing something like this:

%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!28 &2800000 Texture2D: m_ObjectHideFlags:..........................................

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image lailongwei77 · Dec 02, 2017 at 08:00 AM 0
Share

I have not see any about unity version info in the file, but if using unity 5.x open project, will generate version.txt file, 4.x has not found...

  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Odd behavior with project 3.5 1 Answer

Some Text crash after few force closing of Unity Editor 2 Answers

Undo asset replace? *emergency D:* 3 Answers

Unable to create a Unity Project with HDRP. 0 Answers

Getting assets / sub folders inside a folder 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges