Need to clean for every change

I’m working on a project on Android Studio
Since yesterday, every time I made a simple change, like add a comment to a file,
that file fails on compilation with “Unresolved reference” message for every import from app domain,
I need to clean the project and build again then it works

Are you using gradle, maven or android studio to build? Do you use any special plugins? What version are you on, etc?
This sounds like some of the tools in your build chain don’t work properly.

Android Studio 3.5, Gradle latest plugin and same for kotlin,
It is strange because I didn’t notice any update on the tools
Coworker have the same issue, so it is no a local thing

Does File >> Invalidate Caches / Restart… help?