How to add "com.unity.code-analysis"

Hello!

I want to use roslyn and i found out, that com.unity.code-analysis uses those dlls, so it will collide if i manually insert the roslyn files.

Now i want to use the com.unity.code-analysis package, which according to this post is part of visual scripting.
DOTS Visual Scripting first experimental drop page-2#post-4598263
Visual Scripting is Bolt if i researched correctly, but that doesnt include the package.

Here unity employee @mathieur described how to add none-whitelisted packages
DOTS Visual Scripting first experimental drop page-2#post-4616428
which in my case leads to a 40 second loading time and no further packages shown.

And finally, here we got a github-fork of com.unity.code-analysis.
GitHub - needle-mirror/com.unity.code-analysis: Roslyn C# code analysis and evaluation tool for Unity. 📦 [Mirrored from UPM, not affiliated with Unity Technologies.]
Where did that person get the code? He only links to documentation.

So.

  • Where could i get the code for com.unity.code-analysis?
  • How could i include the com.unity.code-analysis package?
  • How could i get a visual scripting package that includes com.unity.code-analysis?

Thats a lot. Thanks for taking the time!

Hey there!

Can you let us know which version of Unity you’re currently using to try and achieve this?