As shown in the screenshot, there are a total of 378 photos. There are 378 lines in list.txt. I even wrote a small script to check for any extra photos.
The result is obvious:
In fact, I found this problem when exporting in Metashape. It defaults to exporting all photos, so I removed the misaligned photos in Metashape before exporting. This is how I exported in Metashape (Sorry, I blurred some information because that is another projects):

The exported out file can be opened with an editor, and the content is like this:
Still not sure where the problem occurred that caused rc to fail to import the out project file. Looking forward to your further guidance.




