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
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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

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

  1. pahe

    pahe

    Joined:
    May 10, 2011
    Posts:
    543
    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,
    Patrick

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