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

v5.5.0b9 - Crash when processing Microsoft.CodeAnalysis.Workspaces.dll

Discussion in 'Experimental Scripting Previews' started by Chetic, Oct 28, 2016.

  1. Chetic

    Chetic

    Joined:
    Oct 28, 2016
    Posts:
    4
    I created a new project, added a new script containing "using Microsoft.CodeAnalysis.MSBuild" and the line "MSBuildWorkspace ws = MSBuildWorkspace.Create()". I add the file Microsoft.CodeAnalysis.Workspaces.Desktop.dll to the Assets folder and switch focus to Unity which successfully processes it.

    Then I add Microsoft.CodeAnalysis.Workspaces.Desktop.dll to the assets folder, switch focus to Unity which starts processing it and crashes according to the attached crashdump.

    Both managed assemblies are compiled against .NET Runtime v4.0.30319 and are of version 1.3.1.0.
     

    Attached Files:

  2. Chetic

    Chetic

    Joined:
    Oct 28, 2016
    Posts:
    4
    Attaching Editor.log. Can also see an empty file named "CrashedAssetImports.txt" in the project Library folder, if that helps.
     

    Attached Files:

  3. Chetic

    Chetic

    Joined:
    Oct 28, 2016
    Posts:
    4
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    Thanks for submitting this bug report. We will investigate it.