ID 244824 - LookFiles with multiple root locations and rootIds aren’t resolved correctly

Follow

Problem summary
 
When using multiple root locations in a LookFileBake node, the LookFile should be assigned correctly in a new scene even if the root locations have a different name, as long as they have the same rootId as the original location (see Adding Additional Locations and Using rootIds).
 
In Katana 2.0 upwards, LookFiles with multiple root locations seem to only get resolved correctly if the locations in the new scene have the same name, but not if they only share a rootId.
 
Steps to reproduce
  1. Open the attached scene or recreate the following scene:



    In the AttributeSet nodes, set lookfile.rootId to root1 on the firstRoot scene graph location and to root2 for secondRoot.
     
  2. Add firstRoot and secondRoot to the root locations in the LookFileBake node and write the LookFile to a convenient location.
     
  3. In the LocationCreate nodes, change the names of firstRoot and secondRoot to newFirstRoot and newSecondRoot. After the AttributeSet nodes, assign the baked LookFile and add a LookFileResolve node.


     
  4. Inspect the scene graph at the LookFileResolve node. Instead of creating the collections collect1 at newFirstRoot and collect 2 at newSecondRoot, collect1 is created at both locations.
 
Reproduced by support
Works correctly in Katana 1.6v3
 
Reproduced in:
Katana 2.0v1, 2.0v5, 2.1v1, 2.1v5, 2.5v1, 2.5v4 (RHEL 6.6)
Katana 2.5v1, 2.5v4 (Windows 7)
 
Expected behaviour
The LookFile should apply the correct operations to the locations that share a rootId with the root locations in the original scene, so here collect1 should be created under newFirstRoot and collect2 should be created under newSecondRoot.
 
Actual behaviour
The LookFile isn’t resolved correctly for multiple root locations using rootIds and collect1 is created under both root locations in the new scene.

    We're sorry to hear that

    Please tell us why