Refractive error even with 20/20 vision. Is this bad for flying?

It depends. Refractive error limits for pilots vary by branch of service and probably also by country. In the us air force, a small amount of refractive error is permissible as long as the vision is correctable to 20/20 in each eye. For specifics, visit the medical standards website for your desired branch of service and career field.