This is because in a Shotcut project file, it writes XML code using the address of that file. If you change the name, or move it, you will get “invalid” 100% each and every time.
When you save/restart the project, it gives you a screen to locate the proper file(s) that are missing.