Why can't you select a XML file in a TextAsset selector in the Inspector?

I made an array of TextAssets in a Monobehaviour that is suppose to be a list of XML files. However, the inspector won’t allow me to actually add the XML files.

XML is a supported file type for TextAsset according to the Official Unity Documentation.

This makes no sense.

Just tried it myself, it works fine. Can you show some code or screenshot/video of what it looks like when it’s failing ?

I just did a clean project test of mine and it works as you expect it would. It’s weird because my game project isn’t recognizing a XML file as a text file. So confused.

And a “reimport” fixed the problem. Still annoyingly glitchy for Unity.