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

Resolved SG variant limit should be per-project setting

Discussion in 'Shader Graph' started by Kelevra, Apr 20, 2021.

  1. Kelevra

    Kelevra

    Joined:
    Dec 27, 2012
    Posts:
    87
    Hello!
    Currently sg variant limit is an editor setting that totally breaks collaborative development and CI usage. You can't share editor settings with other people through VCS, so you need manually change this setting on every machine and run reimport. You can' configure remote machines in Unity Cloud Build, so you can't longer use UCB to test your build. Even inside your own build pipeline, you need to tweak editor preference on every agent.

    It would much easier if this setting will be moved to the project settings and can be uploaded to VCS.
     
  2. HG_SB

    HG_SB

    Joined:
    Dec 9, 2015
    Posts:
    38
    +1

    This preference setting really messes with our team workflow and build pipeline. I would question why this even is an option in the first place. Why limit the number of variants by an arbitrary number?
    But if there is a valid reason for this limit it should at least be a project setting so it can be submitted to version control and correctly picked up by build systems and new developer workstations.
     
  3. FredMoreau

    FredMoreau

    Unity Technologies

    Joined:
    May 27, 2019
    Posts:
    112
    Hi,

    indeed!
    We just changed this in 2023.3.0a7, with a few other UX improvements.

    Please join this thread should you want to provide feedback.

    Thanks.