Unity DOTS unable to see Roslyn source generators code from Unity ECS systems like use of SystemAPI
I no longer see any generated code for Unity DOTS ecs systems. Is this a setting I may have disabled? How can I enable this code vision such that I can browse the source gen?
Info from rider blog: https://blog.jetbrains.com/dotnet/2023/03/16/unity-dots-support-in-rider-2023-1/#rider-and-dots
Info from Unity docs: https://docs.unity3d.com/Packages/com.unity.entities@1.3/manual/systems-systemapi.html
“To inspect your systems, use an IDE that supports source generation, such as Visual Studio 2022+ or Rider 2021.3.3+. You can then select Go To Definition to inspect the generated code on the system you're using SystemAPI within. This illustrates why you need to mark systems as partial.”
Please sign in to leave a comment.
Hello Cmlewis89,
Thank you for reaching Rider Forum.
Could you please share the screen-shot of the issue?
Also, it would be helpful if you could provide logs from Help > Collect Logs and Diagnostic Data and upload it to our shared storage at https://uploads.jetbrains.com (share the upload ID right after).
Thank you in advance.
Hi Anna Morozyuk, thanks for the reply.
Screenshot: 2025_04_04_WSzdTSxLfS5jp9VezL7Svm
I have uploaded my logs: 2025_04_04_mWVg8kK6KnpBTfSFcShdHb