Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug Editor Folder periodically loses assembly references, which requires a re-import of Editor Folder

Discussion in '2020.2 Beta' started by Tsondre, Jun 19, 2020.

  1. Tsondre

    Tsondre

    Joined:
    Apr 9, 2016
    Posts:
    30
    Randomly (or so its felt so far), I'll get a string of errors due to the Unity project losing references to every script in the Editor Folder (used for custom editors for inspector view).

    To remedy the situation I have to:
    1. Clear errors from the console
    2. Run the game
    3. Right-click on the editor folder
    4. Wait for the re-import
    5. Reload Visual Studios 2019 (Community)
    6. Build in VS to verify it's fixed
    7. Continue development

    This averages 5 - 10 times a day. Anyone else had this problem so far?
     
  2. I have a bug reported: case #1255436

    I think it's the same issue. The "keep open one asmdef file in a fixed inspector and remove and add a reference randomly and apply" also works. Maybe it works for you as well? As a somewhat shorter workaround? It will kick off a recompile of the assembly, but maybe it is faster than the reimport?

    For me, any two asmdefs can lose reference to another. Usually the last entry in the reference list as far as I observed. I got frustrated so I have removed my tests from my project for now because of this.
     
    Last edited by a moderator: Jun 19, 2020