I am a regimen comunitario card holder. I live in Spain for almost 2 years. Then went back to Philippines to study. Since, I can stay out Spain for not more than 12 months I flew back to Spain on May 2019. But went back to Philippines again on June 2019.

Now, if I go back to Spain on June 2020,
-is there going to be a problem?
-Will I still be able to enter Spain?
-or Will I lose the validity of my residency card?

Your answer will be highly appreciated. Thank you