xNode
xNode copied to clipboard
culledNodes in NodeEditorGUI.cs causes NullRefException and is never used
see https://github.com/Siccity/xNode/commit/f04629a120bcda8a0fcb592b152375a48e878359#r62377093
Is this an issue with your pull request?
No, it's an issue in the main code base, I just commented on the exact line of code that shows the problem from the commit that added that line (via blame). If you look at the uses of culledNodes it only gets assigned to a list in the EventType.Layout phase but then gets checked for .Contains() when it's not in the layout phase. Even if that wouldn't be the case, culledNodes never gets used otherwise so probably won't do anything.
I just stumbled upon this today as I got the nullref exception repeatedly.
oh! I see. Thank you for pointing it out :) Unfortunately I do not have time to look at it till after the holidays
Is there a fix for this?