Pen Pressure Not Being Detected

Hello. I am using an XP- Pen Artist 12 tablet. It works just fine on Photoshop and other programs. However, when I use it on Painter 2020, it doesn't detect pressure. Can anyone help?