UE5.4 glb export issues with linear textures

I am having an issue with exporting glb files from 5.4. Everything works well except 1 thing with the textures. I have a standard ORM texture created with Substance Painter. In UE I have it correctly set to liner space (uncheck sRGB). However, when I export the model as a glb and reimport it back into the project to check it the ORM texture becomes washed out, thus making the metallic and roughness values look incorrect. I found that after reimporting the glb I have to open the ORM texture again and do either of these things to get the values back correctly:

1). enable sRGB
or
2). Change the RBGCurve to 2.2.

I’m not sure what is happening in the glb export but this seems to only happen to textures set in linear space and when the model is exported as a glb. All other textures seem to be fine. As you can see below, the texture on the left is much lighter than the original one on the right. My glb export settings are default, I just increased the texture resolution to 2k.

If anyone knows how to avoid this please let me know! Unfortunately I need to use the glb format.

ah, I think I found the solution. On the ORM textures, I need to change compression to HDR. This seems to have fixed it.