I totally forgot about this question but I found the culprit. I copied a lot of things from a different project and one of the things that I missed was a cross compile setting. I',m fully on Scala3 after I removed the cross compile setting my problems disappeared as snow in front of the sun.