

What is the reason that it the source generator is not working, and how could I get around this? I don't mind using hacks as the project is not commercial. To the best of my understanding the issue seems to be the compiler Unity is using is outdated, but I would assume my hack of forcing it to use a newer version of compiler should have solved the issue if that's the case. I tried to force Unity to use a newer version of Compiler(3.10) using third party library but that doesn't seems to fix the issue either. It seems people are having similar problems but was not able to find a solution. I am able to build a source generator and put the resulting analyzer in Unity, my IDE is able to pick up the generated code(syntax highlighting is working), however when unity compiles it it was not able to find the related code and hence give an compile error.

I am having problems when I am trying to incorporate Unity with Source Generator.
