The editor will attempt to load the Unity.Mathematics.Codegen scripts in projects using com.unity.mathematics. When it does it'll see there is no asmdef for the scripts nor are the scripts under the Assets directory. This results in the editor generating the warning such as Script 'com.unity.mathematics/Unity.Mathematics.CodeGen/Program.cs' will not be compiled because it exists outside the Assets folder and does not to belong to any assembly definition file.
To avoid this warning we move the CodeGen dir to CodeGen~ which the Editor will ignore.
We were git ignoring all suffixed directories previously, so the .gitignore file was updated to allow this directory.
The editor will attempt to load the Unity.Mathematics.Codegen scripts in projects using com.unity.mathematics. When it does it'll see there is no asmdef for the scripts nor are the scripts under the Assets directory. This results in the editor generating the warning such as
Script 'com.unity.mathematics/Unity.Mathematics.CodeGen/Program.cs' will not be compiled because it exists outside the Assets folder and does not to belong to any assembly definition file.
To avoid this warning we move the CodeGen dir to
CodeGen~
which the Editor will ignore.We were git ignoring all suffixed directories previously, so the
.gitignore
file was updated to allow this directory.