# Import of FBX having LOD gives unexpected result

**URL:** <https://forums.unrealengine.com/t/import-of-fbx-having-lod-gives-unexpected-result/1306638>\
**Category:** Getting Started & Setup\
**Tags:** fbx-import, unreal-engine, FBX, import-fbx, question\
**Created:** [September 21, 2023, 3:55pm UTC](https://forums.unrealengine.com/t/import-of-fbx-having-lod-gives-unexpected-result/1306638 "2023-09-21T15:55:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vrevanth9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vrevanth9](https://forums.unrealengine.com/u/vrevanth9)\
**Post date:** [September 21, 2023, 3:55pm UTC](https://forums.unrealengine.com/t/import-of-fbx-having-lod-gives-unexpected-result/1306638/1 "2023-09-21T15:55:15Z")

</div>

I’m trying to import an FBX file into Unreal, the file is created in another software using FBX SDK. After importing it into Unreal, the scene tree order is not retained. Following is the FBX SDK code I used to export to FBX.  
FbxNode \*lLodGroup = FbxNode::Create(pScene, “LOD\_01”);  
FbxLODGroup \*lLodGroupAttr = FbxLODGroup::Create(pScene, “LOD\_01”);  
lLodGroupAttr-\>AddDisplayLevel(FbxLODGroup::eUseLOD);  
lLodGroupAttr-\>AddThreshold(FbxDistance(500, FbxSystemUnit::mm));  
lLodGroupAttr-\>AddDisplayLevel(FbxLODGroup::eUseLOD);  
lLodGroupAttr-\>AddThreshold(FbxDistance(1000, FbxSystemUnit::mm));  
lLodGroupAttr-\>AddDisplayLevel(FbxLODGroup::eUseLOD);  
lLodGroupAttr-\>AddThreshold(FbxDistance(1500, FbxSystemUnit::mm));  
lLodGroupAttr-\>AddDisplayLevel(FbxLODGroup::eUseLOD);   
lLodGroup-\>SetNodeAttribute(lLodGroupAttr);  
for (int j = 0; j \< lChildNodes.GetCount(); j++)  
{  
lLodGroup-\>AddChild(lChildNodes.GetAt(j));  
}  
Can you kindly let me know what is the correct way to create LODs through FBX SDK and import them into Unreal?
