UE Crashes when using compute shaders

After attacking this issue again, I’ve found out that the very definition of the Global Shader is enough to make the editor crash on compilation. I’m not even using it!

Truth is, this code isn’t within a module or a plugin, it is in the same source folder as all the other code. Is that what might be wrong? Does this global shader NEED to be in a plugin or module that has the PostConfigInit option? I had hoped that placing it in the .uproject file would be enough.

Anyway, I’m attaching the code that causes problems. I don’t see anything wrong with it, so I’m assuming its the PostConfigInit thing, but one may never know.