You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GitLab CI Unity3D example project has recently been updated with breaking changes in version 4.0.0. These changes affect how Unity licenses are activated and the required environment variables for the CI pipeline. The documentation on the game.ci website needs to be updated to reflect these changes to ensure that users can continue to activate Unity licenses without issues.
The UNITY_USERNAME variable has been replaced with UNITY_EMAIL.
The UNITY_SERIAL environment variable has been made mandatory for activation and must be extracted from the Unity license file (.ulf). This might be a temporary change until we have a better solution
Breaking change: The old get_activation_file.sh script has been removed. Users should now use the updated activation process, which involves Unity's blank project for license verification.
Documentation should reflect these new changes and include updated instructions for retrieving and setting up the necessary environment variables (UNITY_EMAIL, UNITY_PASSWORD, UNITY_SERIAL).
CI/CD Configuration Changes:
The .gitlab-ci.yml example configuration should be updated to reflect the new environment variables and the updated license activation process.
Users of earlier versions should be instructed to update the ci folder containing the different shell script for activation and returning licenses.
Docker Image Updates:
Ensure the documentation reflects the fact that the project now supports v3 Docker images.
Provide guidance on how to adjust existing CI configurations to prevent errors caused by using outdated images.
New Instructions for Unity License File:
Detailed steps on how to extract the UNITY_SERIAL from the .ulf file should be added.
Update instructions for creating and setting the new environment variables (UNITY_EMAIL, UNITY_PASSWORD, UNITY_SERIAL) in GitLab's CI/CD settings.
Suggested Documentation Updates:
Activation Section:
Update instructions to specify that UNITY_EMAIL, UNITY_PASSWORD, and UNITY_SERIAL are now required as environment variables.
Provide updated steps for retrieving and configuring these variables.
Update the section where users configure their Unity credentials in GitLab CI/CD settings to reflect the new environment variable names.
License Handling:
Clarify that Unity’s new activation mechanism requires the serial to be extracted from the .ulf file using a new script and add these steps to the documentation.
The text was updated successfully, but these errors were encountered:
I couldn't figure how to extract the license from the .ulf file, in the ulf there is a SerialMasked field but the end of it is masked by XXXX, eg <SerialMasked Value="F4-UY9Q-ME8T-D9ZQ-5BEW-XXXX"/>. You mention that a new script is required to extract it, is this script available somewhere ?
Edit: Since I'm trying to get it to work on gitlab, I could do a PR for the documentation once I get it working ?
Follow these steps to retrieve and decode your Unity license:
Activate a Unity license using Unity Hub on your local machine. If the file is not present, you must request a new license with the Add button even if a license is shown in the UI.
I'm about to send a pull-request to update the GitHbu actions activation section as well to make it clear that we need to click the Add button as described in #469
The GitLab CI Unity3D example project has recently been updated with breaking changes in version 4.0.0. These changes affect how Unity licenses are activated and the required environment variables for the CI pipeline. The documentation on the game.ci website needs to be updated to reflect these changes to ensure that users can continue to activate Unity licenses without issues.
Related website page to update:
We should get closer to the following documentation:
Changes to Be Updated in the Documentation:
Unity License Activation Update:
UNITY_USERNAME
variable has been replaced withUNITY_EMAIL
.UNITY_SERIAL
environment variable has been made mandatory for activation and must be extracted from the Unity license file (.ulf
). This might be a temporary change until we have a better solutionget_activation_file.sh
script has been removed. Users should now use the updated activation process, which involves Unity's blank project for license verification.UNITY_EMAIL
,UNITY_PASSWORD
,UNITY_SERIAL
).CI/CD Configuration Changes:
.gitlab-ci.yml
example configuration should be updated to reflect the new environment variables and the updated license activation process.ci
folder containing the different shell script for activation and returning licenses.Docker Image Updates:
New Instructions for Unity License File:
UNITY_SERIAL
from the.ulf
file should be added.UNITY_EMAIL
,UNITY_PASSWORD
,UNITY_SERIAL
) in GitLab's CI/CD settings.Suggested Documentation Updates:
Activation Section:
UNITY_EMAIL
,UNITY_PASSWORD
, andUNITY_SERIAL
are now required as environment variables.License Handling:
.ulf
file using a new script and add these steps to the documentation.The text was updated successfully, but these errors were encountered: