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

Question How do I know if accelerator is working?

Discussion in 'Unity Accelerator' started by YuriyPopov, Jun 8, 2022.

  1. YuriyPopov

    YuriyPopov

    Joined:
    Sep 5, 2017
    Posts:
    212
    So I installed it on our local linux server. Right now we are testing with two editors. Both are connected and showing OK checkmarks for the cache server. What we are testing is puting a large fbx file on one machine, commiting it in git, pulling it on the other machine. What I expected was to have a shorter import time but I'm not seeing it. What I'm seeing in the metrics dashboard is data served from cache 1.3 mb and that is way less than the fbx file. Time saved by accelerator is at 0 seconds. What am I missing here ?
     
  2. henriksc

    henriksc

    Unity Technologies

    Joined:
    Aug 27, 2020
    Posts:
    30
    The simplest way of checking that you are actually utilising the Accelerator would be to check the `editor.log` for entries like this

    Artifact(artifact id=8fb440a43be5a63a18d2aa2af7fb77b5, static dependencies=3e9e8c5e8f5c98163369675ffc57edc7, content hash=c4395e7753908b1cb99e7742ad0fd84f) uploaded to cacheserver​

    The artifact id will match an entry like this

    Start importing Packages/com.unity.test-framework/UnityEngine.TestRunner/NUnitExtensions/Filters/FullNameFilter.cs using Guid(f07fb40f4e944ebeb84eb8f8a6bb5b13) Importer(-1,00000000000000000000000000000000) -> (artifact id: '8fb440a43be5a63a18d2aa2af7fb77b5') in 0.001572 seconds ​

    That way you can see what import is actually getting uploaded.

    Second thing. You can check on both machines that the static dependencies hash and the content hash are the same. If they differ, then something in the dependencies or import result have changed. This can get a little difficult to debug. But you can use the `Import Activity` window(located under Window->Analysis->Import Activity) to look into why.