Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug Roslyn Source Generators

Discussion in '2022.1 Beta' started by JakeSayingWoosh, Jan 11, 2022.

  1. JakeSayingWoosh


    Mar 11, 2018
    Roslyn source generators currently don't work in Unity 2022.1. On the documentation it says it should work [see link]. Currently (and I think this is the issue), its either Unity doesn't generate the script or It doesn't know what to do with it.

    It'd be great to see source generation work in Unity, will improve the workflow by a ton.
  2. LeonhardP


    Unity Technologies

    Jul 4, 2016
    Hi @JakeSayingWoosh,

    Could you please submit a bug report with reproduction steps attached for this issue?