ID 607830 - The Producer object is not returning the correct portIndex that has been assigned

Follow

Problem summary
The Producer object is not returning the correct portIndex that has been assigned.
 
Customer reported version
katana.7.5v4
 
Customer reported platform
Rocky9
 
Steps to reproduce
 

  1. Create a Group node and place two PrimitiveCreate nodes
     
  2. Name the first PrimitiveCreate node "primitive1" and the second one "primitive2"
     
  3. Run the following code and see the output for primitive2 
    import NodegraphAPI as NM group = NM.GetNode("group") def portCheck(port):     producer = Nodes3DAPI.GetGeometryProducer(node=group, portIndex=port)     print(f"port index = {port}")     print(f"Producer = {producer}")     print(f"primitive1 = {bool(producer.getProducerByPath('/root/world/geo/primitive1'))}")     print(f"primitive2 = {bool(producer.getProducerByPath('/root/world/geo/primitive2'))}")     print() portCheck(0) portCheck(1)
     
 
Expected behaviour
Returns the producer at the given portIndex.
 
Actual behaviour
Returns the producer at portIndex 0.
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Katana 8.0v4 - Windows 11, Rocky 9
Katana 7.5v4 - Windows 11
Katana 7.5v1 - Windows 11, Rocky 9 - Regression
 
Unable to reproduce bug in:
Katana 7.0v7 - Windows 10
Katana 6.5v7 - Windows 10
 
Earliest version tested
Katana 6.5v7/7.0v7 - This issue doesn't appear in this version and has regressed
 
 

    We're sorry to hear that

    Please tell us why