Steps to reproduce:
- Create and open a new project
- Import the 'PolyPortsQAGraph.cs' script into the project
- Create a new graph in 'Tools -> Graph Toolkit -> Create Polymorphic Ports QA Graph'
- In the two displayed nodes (PolyNode and PolyNodeOpposite), set the 'in2' ports to the second available type (PolyNode -> String, PolyNodeOpposite -> Bool)
- Set identical values in both nodes (Bool = 'true', String = "test")
- Save the graph and close the window
- Reopen the graph
- Observe the values of each node
Actual results: PolyNode string is blank, PolyNodeOpposite bool is 'false'
Expected results: PolyNode string reads "test", PolyNodeOpposite bool reads 'true'
Reproducible with versions: 6000.7.0b1, 7000.0.0a1
Can’t test with versions: 6000.0.84f1 - 6000.7.0a6 (Polymorphic ports are not supported)
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- Ports with default types are unaffected - their values are serialized correctly every time