Skip to content

Commit d6ff458

Browse files
committed
add comment with issue number
1 parent 40b4454 commit d6ff458

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/FbxExporters/Editor/ConvertToModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ public static Dictionary<string,GameObject> MapNameToSourceRecursive(GameObject
375375
public static void CopyComponents(GameObject to, GameObject from){
376376
var originalComponents = new List<Component>(to.GetComponents<Component> ());
377377

378+
// UNI-27534: This fixes the issue where the mesh collider would not update to point to the mesh in the fbx after export
378379
// Point the mesh included in the mesh collider to the mesh in the FBX file, which is the same as the one in mesh filter
379380
var toMeshCollider = to.GetComponent<MeshCollider>();
380381
var toMeshFilter = to.GetComponent<MeshFilter>();

0 commit comments

Comments
 (0)