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. Dismiss Notice

Bug UIElementsModule.dll could not be opened -- Image is too small.

Discussion in 'UI Toolkit' started by CoryMaklin, Sep 21, 2021.

  1. CoryMaklin

    CoryMaklin

    Joined:
    Oct 10, 2020
    Posts:
    29
    Every so often I randomly obtain the following error:

    error CS0009: Metadata file UnityEngine.UIElementsModule.dll could not be opened -- Image is too small.

    The only way I was able to resolve it is by closing my Editor. The next time I try to open it, it crashes. Then when I open it the second time, the error is gone.
     
  2. griendeau_unity

    griendeau_unity

    Unity Technologies

    Joined:
    Aug 25, 2020
    Posts:
    230
    Hi Cory,

    Are you using the package or the built in version of the toolkit?
    From our internal threads, this seems to be an issue that appeared after upgrading to 2021.1. Is that your case?
    You could try the usual clear of the Library folder.
     
  3. CoryMaklin

    CoryMaklin

    Joined:
    Oct 10, 2020
    Posts:
    29
    I'm using the package. I installed the packages into a fresh 2021.1.21f1 project. I will give that a try.