Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Machine-parsable feed of Editor updates and their dependencies

Discussion in 'Editor & General Support' started by david-wtf, Sep 4, 2022.

  1. david-wtf

    david-wtf

    Joined:
    Sep 30, 2021
    Posts:
    23
    Hi,

    I'm trying to build an automated update-solution for the Unity Editor and the dependencies of our project. The idea is to keep a pinned version of Unity Editor (e.g. 2022.1) up to date by performing periodic checks for new releases. I could achieve this by using the release XML feed at https://unity3d.com/unity/releases.xml even though that feed is rather for human consumption (e.g. news feed) rather than machine processing.

    However, since Unity Editor versions also come with requirements on dependencies, I would be looking for a structured data source that specifies the dependencies of each Editor version, so that we can bump those versions together with the Editor version accordingly. I assume that Unity Hub uses a non-disclosed API for managing Unity versions and also for cleanly upgrading a project, and would be interested in such an API for our automated setup too.

    Does anything like this exist already, or has anyone built such a community managed data source?

    Best.
     
  2. david-wtf

    david-wtf

    Joined:
    Sep 30, 2021
    Posts:
    23
    Nevermind, I just realized that opening the project in batchmode with the desired Editor version yields the expected package upgrades anyways (without me needing to know any of the dependencies myself).