This is also why funding (and employees) helps a lot of startups. Not so much the money itself, but an ever growing consortium of people who literally have a vested interest in the thing continuing. It's harder to give up when people are counting on you.
If your side project isn't the kind where you want to make money in the end then you're going to need to have higher intrinsic motivation I suspect as none of these pressures will likely come to bear and help you stay motivated.
So, I picked my best memories, and they were animation related. I knew that when it came to the 'switch horses' temptation, I would be able to say, "every project gets to this stage, so why would I switch to my 2nd favorite thing, because surely that would be even harder at this phase. Sure this phase is hard, but doing my favorite thing means this is the easiest version of this phase".
It's kept me going.
I took a break from side projects for several years but recently got back to it and couple weeks back finished building. It is the same story all over again. Same feeling. I'm dreading what comes next.