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.
2 parents b7611e5 + 151a8b0 commit e8d22b2Copy full SHA for e8d22b2
Assets/FbxExporters/Editor/ConvertToModel.cs
@@ -157,7 +157,7 @@ public static GameObject[] CreateInstantiatedModelPrefab (GameObject [] unityGam
157
prefabFileName, fbxFileName));
158
}
159
// Connect to the prefab file.
160
- PrefabUtility.ConnectGameObjectToPrefab(unityGO, prefab);
+ unityGO = PrefabUtility.ConnectGameObjectToPrefab(unityGO, prefab);
161
162
// Remove (now redundant) gameobject
163
if (!keepOriginal) {
0 commit comments