Can't compile on ue and have : was modified or is new

apparently, doing this enable my programme to work : 1. delete intermediate and binaries folders.
2. regenerate the project.
3. rebuild
4. and try again.
does it still happen?