Although unemployment is not earned income, it does get added to your income to determine your total income that is used to calculate your earned income credit. So, it does affect the amount of your earned income credit.
This article may be helpful:
https://turbotax.intuit.com/tax-tips/unemployment/do-i-qualify-for-earned-income-credit-while-on-une...
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"