Skip to content

Commit a1bca2a

Browse files
authored
Merge pull request #249 from Unity-Technologies/UNI-32975-fix-fbxprefab-test-failing
UNI-32975 fix FbxPrefab basic test failing
2 parents beb77d4 + 9cbb8a1 commit a1bca2a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Assets/FbxExporters/Editor/UnitTests/FbxPrefabTest.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,13 @@ public void BasicTest() {
249249

250250
// Make sure we got the right changes. Parent2 got its
251251
// transform changed, Parent3 was created.
252+
// Child3 had the fileID in its MeshFilter changed, as the
253+
// fileID depends on the order in the FBX file. Therefore,
254+
// adding/deleting/moving nodes can affect the fileID of
255+
// other objects in the scene.
252256
Assert.AreEqual (1, updateSet.NumUpdates);
253257
Assert.That (updateSet.Updated, Is.EquivalentTo (new string [] {
254-
"Parent2", "Parent3"
258+
"Parent2", "Parent3", "Child3"
255259
}
256260
));
257261

0 commit comments

Comments
 (0)