Search Unity

Question How would we use accelerator and git at the same time?

Discussion in 'Unity Accelerator' started by YuriyPopov, Oct 13, 2021.

  1. YuriyPopov

    YuriyPopov

    Joined:
    Sep 5, 2017
    Posts:
    237
    Im intrigued by the possibility of using this to speed asset importing, but everyone on the team including artists use git. I'm confused on how both of these would play with eachother.
     
  2. kirkchen

    kirkchen

    Unity Technologies

    Joined:
    May 18, 2018
    Posts:
    18
    The accelerator handles the caching by itself, independent of the version control system. It's able to function alongside git, or without git.
     
    Last edited: Jan 18, 2022
  3. Francoimora

    Francoimora

    Joined:
    Aug 1, 2013
    Posts:
    68
    So you can confirm that accelerator can handle multiple versions of the same file (for users that are not in the same branch and are editing the same file) ? Is it using some kind of file hash as key ?
     
  4. kirkchen

    kirkchen

    Unity Technologies

    Joined:
    May 18, 2018
    Posts:
    18
    Yes, the accelerator handles multiple versions of the same files
     
  5. YuriyPopov

    YuriyPopov

    Joined:
    Sep 5, 2017
    Posts:
    237
    So we use a local server to handle source controll. You are saying I can set up the accelelator there too and it will just work?
     
  6. kirkchen

    kirkchen

    Unity Technologies

    Joined:
    May 18, 2018
    Posts:
    18
    In this case, the accelerator will compete with your git server for system resources. It may slow down your git server.
    We recommend a machine with this requirements for it:
    https://docs.unity3d.com/Manual/UnityAccelerator.html#reqs