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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Accelerator is queried again and again for the same file

Discussion in 'Unity Accelerator' started by kjyv, Jan 12, 2022.

  1. kjyv

    kjyv

    Joined:
    Feb 20, 2018
    Posts:
    53
    Our automatic builds sometimes get into a state where the cache is queried again and again for the same file even though it was apparently loaded successfully, of course then stalling all other builds. Stopping the cache server will make the editor import the file directly right away and continue fine. I've tried deleting the whole accelerator cache but the same issue still happens.
    It only started happening recently, the last 2 weeks maybe, so I assume an automatic update has taken place that introduced this issue. Anyone else with similar problems?
     
  2. kirkchen

    kirkchen

    Unity Technologies

    Joined:
    May 18, 2018
    Posts:
    18
    We haven't made any updates in the past month. Have you changed anything in your setup?
     
  3. kjyv

    kjyv

    Joined:
    Feb 20, 2018
    Posts:
    53
    Hi! Well, we switched to Unity 2021.2 from 2020.3 at some point in December, which might of course also be the cause.
     
  4. kirkchen

    kirkchen

    Unity Technologies

    Joined:
    May 18, 2018
    Posts:
    18
    We did receive reports of the new editor version causing more load on the accelerator. We are currently investigating this.
     
  5. kirkchen

    kirkchen

    Unity Technologies

    Joined:
    May 18, 2018
    Posts:
    18
  6. kjyv

    kjyv

    Joined:
    Feb 20, 2018
    Posts:
    53
    Hi, I already did that when posting here. There has been no answer so far.
    Issue number is 1394543 (not public yet)
     
  7. rainer_klanggames

    rainer_klanggames

    Joined:
    Nov 12, 2015
    Posts:
    3
    We are experiencing the same issue as described above. We can produce it on Linux and Windows, with a local or remote accelerator (running on windows and on Linux). It seems that this is a unity editor issue. We also tried different versions of the Accelerator as well as using different versions of unity 2021.2 (to the latest ".13f" at this point). The only "workaround" is to not use the cache server and have our build times run like 8 times longer.
     
    neptaco_ likes this.
  8. Dave-Hampson

    Dave-Hampson

    Unity Technologies

    Joined:
    Jan 2, 2014
    Posts:
    150
    Hi, just wanted to mention that as far as I can tell there is no repro project included in 1394543
    In order for the devs to be able to work on this issue, you would need to send a small repro project and reproduction steps showing the issue.

    That's probably one of the reasons you haven't got a response yet.
     
  9. kjyv

    kjyv

    Joined:
    Feb 20, 2018
    Posts:
    53
    Hi thanks for your reminder but how are we supposed to give a repro project for an issue that only happens sporadically and is not tied to a project but the editor importing things from an accelerator instance? It seems to not occur anymore for us though, but it's unclear if because of a Unity update or possible accelerator update. Then again the previous poster seems to have the same issue with recent versions - so it could also be some internal state in the accelerator that has changed. We had the issue on macOS.

    Something Unity QA apparently never does is ask bug reporters about doing certain debugging when the issue occurs to gather more info directly - that would often be more straight forward than the default answer of "give us a repro project".