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

Roslyn support

Discussion in 'Experimental Scripting Previews' started by liortal, Nov 6, 2017.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    Are there any updates regarding Roslyn support? i am particularly interested in support for different "analyzers": https://github.com/meng-hui/UnityEngineAnalyzer

    Currently these only run from the CLI (on Windows IMO).

    Is there any chance to be able to include these as a .DLL and to be executed directly from within Unity ?
     
  2. joncham

    joncham

    Unity Technologies

    Joined:
    Dec 1, 2011
    Posts:
    276
    I would expect it to work with new Mono runtime if Roslyn targets .NET 4.6? If it targets something newer, then it likely won't be possible until we support whatever version is needed. Expect that in 2018.
     
    liortal likes this.
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    I will give that a try, thanks
     
  4. Prog_X

    Prog_X

    Joined:
    May 29, 2016
    Posts:
    1
    Did it work? I am currently trying to use Roslyn DLLs , but unity unloads the assemblies because "They can cause crashes during runtime".
     
  5. dadude123

    dadude123

    Joined:
    Feb 26, 2014
    Posts:
    789