Exporting Twinmotion Material to USD material texture rotated and wrong scale

Hi. I’m trying to export a Twinmotion brick material to USD. However, it doesn’t seem to be working for me.

I’m using File->Export Selected->USDA. I’m selecting “Bake Material”. When I read the usda back into UE the bricks are rotated through 90deg and too small.

In the following image the cube on the right is the native UE object with the material applied. The cube on the left is a USDStageActor loading the exported USDA back into UE.

And if you zoom in you can see the cube on the left (the USDA import) the bricks are now vertical.

image

I’ve tried a couple of things so far - neither appear to have any effect:

  1. Setting the metersPerUnit in the material usda file.
  2. Changing the size of the exported PNGs (in the USD export option dialog)

Any ideas what I’m doing wrong?

Is there a transform I can make to the USDA material definition produced to alter the scaling and rotation? (Sorry, I’m a noob to materials in general!)

Also, a final question - sometimes “File → Reload” in the USD Stage window doesn’t seem to reflect changes in my file (and I have to load a different USD and then reload my file to pick up changes). Any ideas?

Many thanks.

BTW - I just realized my test object is square so while it could theoretically be the cube that’s rotated, I’m fairly sure it’s the material texture. Because if I look at the texture in UE the bricks are horizontal, but in the exported textures they’re vertical.

Using UE 5.21 and USD Plugin