Search Unity

Bug "On demand scheduler waiting for no artifacts" Error Message

Discussion in 'Unity Accelerator' started by Kinggrass, Oct 19, 2022.

  1. Kinggrass

    Kinggrass

    Joined:
    Jun 7, 2016
    Posts:
    72
    Hello everyone,

    I have setup the Unity Accelerator and it is uploading data and also downloading but somehow I have the feeling that not everthing got managed from the cache.

    My Library folder is round about 8 - 9 GB big and according to the dashboard only 2.5 GB are transfered.

    The Log in the dashboard also have entries where the status is written "key not found" and in the first start up of Unity the error message is logged "On demand scheduler waiting for no artifacts" without any further hint?

    Does have somebody some tips, hints or ideas?
     
  2. mehran_unity

    mehran_unity

    Unity Technologies

    Joined:
    Oct 7, 2022
    Posts:
    12
    Hi Kinggrass,

    Could you please tell us what version of Unity are you using and share the log file containing "On demand scheduler waiting for no artifacts" error here?

    About the Unity Accelerator, as you mentioned not all the files are pushed and pulled to/from the cache. The Accelerator is purely a key/value store. All logic and hashing in done on the editor side. Data is pushed or pulled to/from Accelerator by Unity Editor.

    If you want to double check if your accelerator is working, look for a line containing "Imports:" in your Editor.log file:

    With Cache Server Disabled:
    Imports: total=5014 (actual=5014, local cache=0, cache server=0)

    With Cache Server Enabled:
    Imports: total=5014 (actual=871, local cache=3962, cache server=271)
     
  3. Kinggrass

    Kinggrass

    Joined:
    Jun 7, 2016
    Posts:
    72

    Hi @mehran_unity,

    first of alls thank you for reading my post and taking time.

    I double checked the Editor.log and it is using the cache server successfully.

    Unfortunatly I am not allowed to share the full log file public because of business policies.

    But I can attach a snippet screenshot which does not contain sensible data.
    In my perpective I dont get/see why a error is thrown in this place.

    Do you have a guess?

    Edit:
    I missed to answer a question. We are using Unity 2021.3.0f1.

    upload_2022-10-21_9-8-14.png
     
    Last edited: Oct 21, 2022
  4. mehran_unity

    mehran_unity

    Unity Technologies

    Joined:
    Oct 7, 2022
    Posts:
    12
    Hi Kinggrass,

    Thank you for sharing the info with us.
    I talked about the error message with my colleagues and looks like it is harmless and can be ignored. They will reword the message in future versions:

    "It means the scheduler is told to WaitForImport while the list passed to the scheduler is empty. It may be raised when doing Reimport All or when opening a project without a Library folder."

    Cheers
     
    Kinggrass likes this.
  5. Kinggrass

    Kinggrass

    Joined:
    Jun 7, 2016
    Posts:
    72
    Hi @mehran_unity,

    like your colleagues are saying that is actually the case that it is opened without a Library folder.
    In particular on CI gitlab runners we have this often.

    But now we know what it is and how it has to be handled.

    Thank you really much @mehran_unity for your help.

    Cheers
     
    mehran_unity likes this.