Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No versions retrieved from Unity pages #441

Open
chazix opened this issue Jun 7, 2024 · 0 comments
Open

No versions retrieved from Unity pages #441

chazix opened this issue Jun 7, 2024 · 0 comments

Comments

@chazix
Copy link

chazix commented Jun 7, 2024

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\"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant