Minimal sample to support SourceGenerator in Unity3d as sample is used https://github.com/Cysharp/UnitGenerator Notes: Generator.dll should be in root of Assets Folder Unity 2021.2 or later