Search Issue Tracker

Fixed in 5.3.6

Votes

0

Found in

5.2.4f1

Issue ID

763242

Regression

No

[OSX] Application.version returns Application.unityVersion in OSX Editor

OSX

-

Steps to reproduce:

1. Open attached project (version_info.zip)
2. Switch build target to iOS
3. Open and play 'main' scene
4. Check the console messages

Expected behaviour: Application.version should return the application's version (same as PlayerSettings.bundleVersion)
Actual behaviour: Application.version returns the same value as Application.unityVersion

Workaround: Use PlayerSettings.bundleVersion to get the application's version.

Note:
Only reproduces on OSX editor. On Windows it works as expected - the correct value (application's version) is returned.

Comments (5)

  1. gamecakestudios

    Mar 11, 2017 22:18

    This issue is still present in Unity 5.5.2f1 on OSX standalone builds (not OS X Editor)

  2. CulzeanHexWar

    Dec 20, 2016 11:04

    also seeing this issue in 5.5.0f3

  3. Igorexa

    Dec 09, 2016 14:23

    Reproduced on 5.5.0f3.

  4. bobmoff

    Nov 24, 2016 13:21

    This issue remains in builds. It is correct in the editor but Application.version still returns same value as Application.unityVersion when building OSX X64 Standalone when using Unity 5.4.2p3

  5. Culzean

    Sep 30, 2016 11:14

    I have encountered this exact problem. I am running Unity version 5.4.1f1. Application.version works fine for windows builds, but displays Unity version number for OSX builds.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.