Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RenderGraphEditor error, index of Input or Output pins out of bounds in RenderPassUI #373

Open
RohanFernandez opened this issue Jul 15, 2023 · 0 comments

Comments

@RohanFernandez
Copy link

I get an error while using the RenderGraphEditor UI.

From what I checked, the index at RenderPassUI::renderPinUI is out of bounds of the vector mInputPins or mOutputPins.
The reason is because the index sometimes refers to the mOutputPins but it should be on the mInputPins and vice versa.

To reproduce it,
I am on the version 9fdfdbb i.e. latest version as per 15th July.
I set the RenderGraphEditor as a startup project and run it, then add the SVGFPass and the GBufferRT.
The error occurs when I hover over a pin, but occurs at a random attempt to hover over a pin.
This is when I get the out of bounds error at:

In file : RenderGraphUI.cpp
In function : void RenderPassUI::renderPinUI(const std::string& passName, RenderGraphUI* pGraphUI, uint32_t index, bool input)
Exact line : RenderPassUI::PinUI& pinUI = input ? mInputPins[index] : mOutputPins[index];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant