I am in Darktable 5.2.1 (Linux appimage version). The tif file created from Hugin (compressed or uncompressed) cannot be open by DT. Error message: Unsupported feature in the file.
Jpg files created from Hugin can be open.
Currently, the working solution is to open the tif in Gimp and saved it again in tif. Then open in DT.
Not sure if some one has experience solving the issue.
Sounds similar to 16 bit TIFF created by Hugin can't be open in Darktable · Issue #19552 · darktable-org/darktable · GitHub which has been fixed in master.
An alternative might be saving as (16-bit) png?
Or wait for the next release version (normally towards the end of the year).