Skip to content

No versions retrieved from Unity pages #441

@chazix

Description

@chazix

Issue Checklist

  • [x ] I'm using the latest u3d version
  • [x ] I ran u3d --help
  • [x ] I read the README
  • [x ] I made sure that a similar issue doesn't exit

Issue Description

The urls where we retrieve versions from has changed. fetch_version_paged doesn't return anything anymore, and have to rely on the cache.json file, and modify manually in the interim.

This url also redirects to a relative location, which causes follow_redirects to fail & crash:
UNITY_LTSES = 'https://unity3d.com/unity/qa/lts-releases' It redirects here: /releases/editor/archive

Modifying this variable to be:
UNITY_LTSES = 'https://unity.com/releases/editor/archive'
Fixes the redirect issue, but no versions are determined due to the structure of the page changing based on how 1.3.3 parses for versions.

This is an example of data that is returned in this page:
{\"version\":\"6000.0.4f1\",\"releaseDate\":\"2024-05-29T16:49:19.341Z\",\"unityHubDeepLink\":\"unityhub://6000.0.4f1/b5d5d06b038a\",\"stream\":\"TECH\"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions