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.

Editor crash when creating Assembly Definition file and won't restart

Discussion in '2017.2 Beta' started by pahe, Jul 14, 2017.

  1. pahe


    May 10, 2011
    Hey guys.

    I'm trying out the Assembly Definition file and maybe I'm doing something wrong, but I can't find out what and my editor is crashing everytime I try to reopen the project.

    I'm using NGUI and want to create a DLL out of that, so I'm creating a Assembly Definition file for that under "Assets/NGUI/Scripts/" with name "NGUI.assembly.json" and the content:

    Code (csharp):
    1. {
    2.     "name" : "NGUI",
    3.     "references" : []
    4. }
    Like from the example project. When the editor compiles, it crashes and won't open the project anymore. I've to delete all generated dlls in the "Library/ScriptAssemblies" folder (the generated NGUI.dll and all others too) and delete my Assembly Definition file too.

    I'm not sure what the problem is, why the editor crashes, but I can think of namespace problems to cross references of assemblies.

    If anyone has a hint what I could be doing wrong, please let me know.

    Thanks for help,

    PS: I submitted a bug report with the latest version 2017.2.b03. Case 931161
    Peter77 likes this.