# How do I convert transform matrix from Unity to Unreal? Insights and Solutions Needed

**URL:** <https://forums.unrealengine.com/t/how-do-i-convert-transform-matrix-from-unity-to-unreal-insights-and-solutions-needed/1798868>\
**Category:** Programming & Scripting\
**Tags:** convert, rotation, Importing, unreal-engine, transform, unity, CPP, question\
**Created:** [April 11, 2024, 2:42pm UTC](https://forums.unrealengine.com/t/how-do-i-convert-transform-matrix-from-unity-to-unreal-insights-and-solutions-needed/1798868 "2024-04-11T14:42:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JinPark3333](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JinPark3333](https://forums.unrealengine.com/u/JinPark3333)\
**Post date:** [April 11, 2024, 2:42pm UTC](https://forums.unrealengine.com/t/how-do-i-convert-transform-matrix-from-unity-to-unreal-insights-and-solutions-needed/1798868/1 "2024-04-11T14:42:16Z")

</div>

Can I ask a question related to the process of converting projects from Unity to Unreal? (I am currently trying this.)  
I am encountering issues with converting Unity’s transform matrix (Matrix 4x4) to Unreal’s transform matrix (FMatrix).

For instance, when creating transform matrix for the same position (10, 20, 30), rotation (30, 40, 50), and scale (1, 2, 3) in both Unity and Unreal, I end up with different 4x4 matrix. The issue does not seem to be resolved by simple methods like converting Unity’s coordinate system to Unreal’s ( X, Y, Z → X, Z, Y) nor by transposing from the column-major order to row-major order.

The mismatch seems to lie within the 3x3 matrix part of the transform matrix 4x4, which involves rotation and scale(without the row of translation). If you know the reason for this mismatch or have any advice, I would greatly appreciate it.

---

<div class="post-metadata">

**Author:** ![Arredatore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Arredatore](https://forums.unrealengine.com/u/Arredatore)\
**Post date:** [June 4, 2024, 10:13am UTC](https://forums.unrealengine.com/t/how-do-i-convert-transform-matrix-from-unity-to-unreal-insights-and-solutions-needed/1798868/2 "2024-06-04T10:13:40Z")

</div>

Hi, Have you found the solution? I’ve stumbled upon a similar issue.

---

<div class="post-metadata">

**Author:** ![JPritchard1010](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JPritchard1010](https://forums.unrealengine.com/u/JPritchard1010)\
**Post date:** [June 4, 2024, 1:18pm UTC](https://forums.unrealengine.com/t/how-do-i-convert-transform-matrix-from-unity-to-unreal-insights-and-solutions-needed/1798868/3 "2024-06-04T13:18:25Z")

</div>

use `FTransform` instead
