I'm not a doctor, but I've dealt with these before. You may be burned out, depressed, or both. While taking a good break and changing up your life can help if your burned out, it will often just mask depression.
I would encourage you to talk to a doctor and find a good psychologist who understands cognitive based therapies. The best responses to depression include both pharmacological and brain hacking (which is what CBT is). They can help you understand if you are burned out, depressed or both.
I wish you well. It's a hard spot to be in, but one you can get out of. Feel free to email me (in my profile) if I can answer any questions (or do much of anything else) for you.