You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validation considers a top level input conneted to an interface input on a nodegraph as invalid even though this
should be valid and is accepted by code generation.
Interface name not found in referenced declaration: <input name="floatIn" type="float" interfacename="input_float1">
Interface name not found in referenced declaration: <input name="color3In" type="color3" interfacename="input_color4">
Code gen and rendering see fine if you ignore the validation error. This is an ESSL render
Proposed Fix
The issue appears to be that when trying to find a parent graph element, the top level document (which is a graph) is
precluded here:
Issue
Validation considers a top level
input
conneted to an interface input on anodegraph
as invalid even though thisshould be valid and is accepted by code generation.
Test data
These interface connections are considered invalid.
with these errors:
Code gen and rendering see fine if you ignore the validation error. This is an ESSL render
![](https://private-user-images.githubusercontent.com/49369885/332967293-b5f414a4-f274-427b-97b4-9b3e9a11e855.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwMzU4OTMsIm5iZiI6MTcyMTAzNTU5MywicGF0aCI6Ii80OTM2OTg4NS8zMzI5NjcyOTMtYjVmNDE0YTQtZjI3NC00MjdiLTk3YjQtOWIzZTlhMTFlODU1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE1VDA5MjYzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY3MmIxZjUzNGE1YTgzZWViYjU5NDJhZDQyOTU3M2VkNTA4Y2NjZGM0MDI2YTVjYzcyZjUzY2M3NzgwYTVlZDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.PGoG0fq_FkQr-qIVxG4D3qDbZG5UJrixpfTSwMH_Cqg)
Proposed Fix
The issue appears to be that when trying to find a parent graph element, the top level document (which is a graph) is
precluded here:
precludes checking for the document Seems like the fix is to check for
GraphElement
and notNodeGraph
.The text was updated successfully, but these errors were encountered: