I have the same problem with the mac studio m1 max.
But I just have this problem with the mod when I use the multiMC launcher. If I use the Tlauncher the mod is working without a problem but in my test only with the 1.18.1, I dont test it jet with the new 1.19.2
I some one know how to solve this problem or how to recompile the mod is awesome.