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

Bug Roslyn Source Generators

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

  1. JakeSayingWoosh

    JakeSayingWoosh

    Joined:
    Mar 11, 2018
    Posts:
    12
    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

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Hi @JakeSayingWoosh,

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