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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity 2019.3 'AssetDatabaseExperimental' does not contain a definition for 'IsAssetImportWorkerProce

Discussion in 'Asset Database' started by nicobu, Feb 10, 2020.

  1. nicobu

    nicobu

    Joined:
    Jul 12, 2013
    Posts:
    6
    Hi,

    I just upgraded to 2019.3.0b3 and get the following error message:
    Library\PackageCache\com.unity.ide.rider@1.1.4\Rider\Editor\RiderScriptEditor.cs(385,65): error CS0117: 'AssetDatabaseExperimental' does not contain a definition for 'IsAssetImportWorkerProcess'
    in the Editor.

    I deleted The folder "Library\PackageCache\com.unity.ide.rider@1.1.4" but it is recreated when I start Unity.

    Looks like the error is in RiderScriptEditor
    Code (CSharp):
    1.     private static bool IsAssetImportWorkerProcess()
    2.     {
    3. #if UNITY_2019_3_OR_NEWER
    4.       return UnityEditor.Experimental.AssetDatabaseExperimental.IsAssetImportWorkerProcess();
    5. #else
    6.       return false;
    7. #endif
    8.     }
    What's wrong?

    Edit 1: Uninstalling the Rider Editor package or switching to another one seems to lead to more error messages when playing the game.
    Edit 2: Downgrading Unity back to 2019.3.0f1 seems to resolve the error...

    Thanks
    Nico
     
    Last edited: Feb 10, 2020
  2. wechat_os_Qy06Jg69KQHncPFAWxjhzcCvs

    wechat_os_Qy06Jg69KQHncPFAWxjhzcCvs

    Joined:
    Feb 13, 2020
    Posts:
    1
    i meet the same issue and don't how to resolve...
     
  3. GLeBaTi

    GLeBaTi

    Joined:
    Jan 12, 2013
    Posts:
    47
    You can remove RIDER package from "package manager" in Unity.
    This is solve it problem