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 329cfd3 commit 132a459Copy full SHA for 132a459
Assets/FbxExporters/Editor/ConvertToModel.cs
@@ -108,7 +108,7 @@ private static List<GameObject> OnConvertInPlace (GameObject [] unityActiveGOs)
108
Object unityMainAsset = AssetDatabase.LoadMainAssetAtPath (fbxFileName);
109
110
if (unityMainAsset != null) {
111
- Object unityObj = PrefabUtility.InstantiateAttachedAsset (unityMainAsset);
+ Object unityObj = PrefabUtility.InstantiatePrefab (unityMainAsset);
112
GameObject unityGO = unityObj as GameObject;
113
if (unityGO != null)
114
{
0 commit comments