- Home /
Is there a way to get the version of unity (used for the build) at runtime?
I want to check my assetBundles for compatibility with my app. For that I need to know the version of unity that was used to build the app with. So I wonder if there is a way to get the unity version at runtime.
Comment
Did you try Application.unityVersion ?
https://docs.unity3d.com/540/Documentation/ScriptReference/Application-unityVersion.html
Answer by Diki_Thomas · Sep 11, 2017 at 02:28 PM
Application.unityVersion returns a string representation of the version eg "2017.1.0p5" or "5.5.4p1"
See https://docs.unity3d.com/ScriptReference/Application-unityVersion.html