I just started using Darktable, and I'm having trouble while importing some images. I just got some photos developed and scanned, and I copied the scans (they're jpgs) to my local storage. When I use "add to library" to add these images, it does not create an XMP file for them. I tried putting them higher up in the file structure, and shortening the names in case it was some kind of character limit issue, but that had no effect.
What's strange is that I have some older scans (also jpgs) that I can import into Darktable using "add to library" and it has no problem creating the XMP files for those images.
It's not a folder permission error because I can get XMP files from the old scans in the same folder as the new scans. And I don't get XMP files from the new scans when they're in the same folder as the old scans.
So the problem specifically follows the image files. Is there something in the metadata that makes Darktable choose not to generate an XMP file?
(This is on Windows 10 with Darktable 4.0)