Unity 2020.3.33f1c2 and I used Unity UI for test(stm is inside Canvas). I have tried 3D stm, and the result is same.