- Home /
Is there a way to print out the version of the Unity Editor from command line?
I can't seem to find any documentation for this. In our automated build system, I want to add a version check that the correct version of Unity 3D is being used to compile a project into a player executable. I potentially could try to use some app version retrieval offered by the OS, but something like running "unity.exe --version" would definitely be easier.
Similar question, try a quick debug to see if this also works for editor : http://answers.unity3d.com/questions/1258225/is-there-a-way-to-get-the-version-of-unity-used-fo.html
Specific API link : https://docs.unity3d.com/540/Documentation/ScriptReference/Application-unityVersion.html
or : https://docs.unity3d.com/540/Documentation/ScriptReference/Application-version.html
all Application variables/functions/delegates : https://docs.unity3d.com/540/Documentation/ScriptReference/Application.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612094916im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why do I have differences between my editor version and my built iOS version? 0 Answers
Updated to 2021.3.3, why did my FPS drop significantly? (over 350fps) 0 Answers
Select sprite preview images not showing after upgrading to 2020.2.2f1 3 Answers
Unity versions across multiple developers? 1 Answer
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers