Do you have any hobbies outside of work? Are you pursuing or maintaining any strong relationships with friends and family? I think you're a little wrapped up in finding your sense of being and happiness and satisfaction in your career, and you should branch on to find other sources too. Don't get me wrong, your work can still be a source of all of that, you might just need more sources. With hobbies, you can find new challenges and problems and milestones and that provides direction, which takes the burden off your software/job for providing it all. Good to hear you're actively taking care of yourself.