Apparently, only the first "get" in the chain of conditions was setting and keeping the value of the fileType variable, so only some of the resources were being shown correctly. If we changed the order of conditions and, for example, put GetBinaryType before GetExtensionType, then another group of resources would display correctly, and the previous one would break.
Separating the checks in if statements seems to fix the issue, making all 3 groups show their types correctly.
I think this is related to the angelscript update, since I don't remember having this issue in base Urho
Apparently, only the first "get" in the chain of conditions was setting and keeping the value of the fileType variable, so only some of the resources were being shown correctly. If we changed the order of conditions and, for example, put GetBinaryType before GetExtensionType, then another group of resources would display correctly, and the previous one would break. Separating the checks in if statements seems to fix the issue, making all 3 groups show their types correctly.
I think this is related to the angelscript update, since I don't remember having this issue in base Urho