We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b3494 commit 6877a62Copy full SHA for 6877a62
com.unity.formats.fbx/Editor/ConvertToNestedPrefab.cs
@@ -412,7 +412,8 @@ public static GameObject Convert(
412
// replace hierarchy in the scene
413
if (!isPrefabAsset && toConvert != null)
414
{
415
- fbxInstance.transform.parent = toConvert.transform.parent;
+ // don't worry about keeping the world position in the prefab, as we will fix the transform on the instance root
416
+ fbxInstance.transform.SetParent(toConvert.transform.parent, worldPositionStays: false);
417
fbxInstance.transform.SetSiblingIndex(toConvert.transform.GetSiblingIndex());
418
}
419
0 commit comments