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 f75d07a commit 151a8b0Copy full SHA for 151a8b0
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