o3de icon indicating copy to clipboard operation
o3de copied to clipboard

Installer displayed version is not updated to newest release

Open LB-HubertUberman opened this issue 2 years ago • 5 comments

Describe the bug The latest Stabilization/2210 installer is displaying 0.0.0.0 Development build version instead of 2.2.1.0 Release in various areas. The issue occurs on both Windows and Linux.

Affected areas:

  • Installation window.
  • Engine directory.
  • Splash screen when launching the project.
  • Project manager.
  • Editor window.

Steps to reproduce

  1. Download and install the latest Stabilization/2210 installer version of the Engine.
  2. Navigate to any of the affected areas.

Expected behavior The installer displays the accurate Engine version.

Actual behavior The installer displayed version is not updated to the newest release.

Screenshots Installer_InstalationWindow_Version Installer_ProjectManager_Version Installer_SplashScreen_Version Installer_Editor_Version Installer_Directory_Version Installer_Linux_InstallWindow_Version Installer_Linux_Directory_Version

Found in Branch Latest Stabilization/2210 installer

Desktop/Device:

  • Device: PC
  • OS: Windows
  • Version: 10
  • CPU: AMD Ryzen 5 3600
  • GPU: NVIDIA GeForce RTX 2060 SUPER
  • Memory: 16GB

LB-HubertUberman avatar Sep 15 '22 10:09 LB-HubertUberman

Taking a look at the installer pipeline

amzn-changml avatar Sep 15 '22 14:09 amzn-changml

Temporarily resolved by resetting the O3DE_VERSION and O3DE_BUILD_VERSION environment variables and rebuilding. This PR will more permanently solve the issue: https://github.com/o3de/o3de/pull/12017

amzn-changml avatar Sep 15 '22 19:09 amzn-changml

The same issue occurs in build Stabilization/2210 (840e1f4)

  • Splash screen when launching the project.
  • Project manager.
  • Editor window.

LB-KacperSzczepanski avatar Sep 16 '22 08:09 LB-KacperSzczepanski

@LB-KacperSzczepanski https://github.com/o3de/o3de/pull/12017 has been merged and I've noted that the installer is now displaying the 22.10.0 version number and the Editor is displaying 2210. Can you verify that this is the case?

amzn-changml avatar Sep 21 '22 09:09 amzn-changml

@amzn-changml Verified that Engine is now displaying the 22.10.0 version on latest Stabilization/2210 installer. Also the issue still occurs in build Stabilization/2210 (https://github.com/o3de/o3de/commit/1a540addf51410165f5e05fab275d3ccc9579ace).

LB-HubertUberman avatar Sep 21 '22 10:09 LB-HubertUberman

@LB-HubertUberman There is an environmental variable used on build to define the version (as we don't pin the version directly with the git tag nor hardcode the version in the engine.json file per branch), so building stabilization alone without it will not result in a version number. Here's what you'll need to do for testing it:

In Windows:

set O3DE_VERSION=22.10.0
set O3DE_BUILD_VERSION=2210.0

<Run the build>

In Ubuntu:

export O3DE_VERSION=22.10.0
export O3DE_BUILD_VERSION=2210.0

<Run the build>

This can also be defined in the CMake variables as well. Please verify the scenario when available.

@Broganab Can we check if this test case needs to be modified for the compiled version?

amzn-changml avatar Sep 21 '22 18:09 amzn-changml

@amzn-changml I have verified that after setting the environmental variables the version displayed in the affected areas are correct on both Linux and Windows on the latest Stabilization/2210 branch (https://github.com/o3de/o3de/commit/8aa659da364d7fe5f994e192441fbb2b93b0122d).

LB-HubertUberman avatar Sep 22 '22 12:09 LB-HubertUberman

Thanks! I'll go ahead and close this issue as resolved.

amzn-changml avatar Sep 22 '22 15:09 amzn-changml