Search Unity

Discussion how to view IL code in Rider for Unity Project?

Discussion in 'Scripting' started by zhoutaosheng-elex, Apr 18, 2023.

  1. zhoutaosheng-elex

    zhoutaosheng-elex

    Joined:
    Mar 31, 2021
    Posts:
    12
    In Jetbrains Rider, I can use IL Viewer to view IL Code for normal C# projects.
    bur for Unity Projects, it always set paths to Temp\Bin\Debug{assembly.name}\, and the directory is empty
    upload_2023-4-18_11-58-8.png

    I got two ways, but none of which solve the problem elegantly and permantly
    1. Build Select Project, but when I modify code, and I have to build again, which had aleady built by unity itself

    2. change the output path of the project I want to view IL code to Library\ScriptAssemblies, but it would be overwritten by Unity



    Anyone has better ideas, a thousand thanks in advance!
     
    IAmJustADog, davient and ByteflowXxX like this.
  2. sathya

    sathya

    Joined:
    Jul 30, 2012
    Posts:
    297
    +1
     
    davient likes this.