Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Resolved Constant error with "UnityEditor.Experimental.AssetImporters.ScriptedImporter"

Discussion in '2021.2 Beta' started by sacb0y, Sep 7, 2021.

  1. sacb0y

    sacb0y

    Joined:
    May 9, 2016
    Posts:
    1,012
    I'm getting this error:

    Code (CSharp):
    1. TypeLoadException: Could not resolve type with token 01000051 from typeref (expected class 'UnityEditor.Experimental.AssetImporters.ScriptedImporter' in assembly 'UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:UnityEditor.Experimental.AssetImporters.ScriptedImporter member:(null)
    2. UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <462b82a54ea94e5da1dfbbc027ef8bd0>:0)
    A million times and I don't know why, considering this seems to be out of experimental with unity 2021 I'm not sure this is supposed to exist in this form.

    The project is upgrading from unity 2019.4, and seems to also break the package manager.

    I've also tried removing all assets using "AssetImporter" but the error continues.

    It does not appear in safe mode, and does not trigger safe mode when loading unity.
    upload_2021-9-7_17-31-11.png

    I've done a full reimport this does not fix it.

    I've tried "Reset Packages to Defaults" it does not fix it.

    This is in Unity 2021.2.0b10.3401

    Please help!
     
  2. sacb0y

    sacb0y

    Joined:
    May 9, 2016
    Posts:
    1,012
    turns out the issue was the older version of the substance source asset, updating finally fixed this.

    Issue was in a dll so i couldn't see where it was coming from
     
    LeonhardP likes this.