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 38818d3 commit cf8e2d4Copy full SHA for cf8e2d4
Assets/FbxExporters/Editor/ConvertToModel.cs
@@ -132,7 +132,7 @@ public static GameObject[] CreateInstantiatedModelPrefab (GameObject [] unityGam
132
}
133
134
// Instantiate the FBX file.
135
- Object unityObj = PrefabUtility.InstantiatePrefab (unityMainAsset);
+ Object unityObj = PrefabUtility.InstantiatePrefab (unityMainAsset, gosToExport[i].scene);
136
GameObject unityGO = unityObj as GameObject;
137
if (!unityGO) {
138
continue;
0 commit comments