unity-activate
unity-activate copied to clipboard
Unity 6000 or over does not work due to version patterning.
Bug description Activate fails because of version patterning. How to reproduce Put an unity 6000 version as a unityVersion in the input.
- Expected behavior Not give an invalid version error.
Additional details Root of the problem.
// From Src/Model/ImageTag.ts
static get versionPattern() {
return /^20\d{2}\.\d\.\w{3,4}|3$/;
} // The problem. It looks for 20 because of Unity's previous 21st century version name scheme. They abandoned it and its causing problems