faint
System.NullReferenceException in an if statement
I keep getting
System.NullReferenceException
directing me to the last if statement in the following code:
The problem is in _nodeContainer.TryGetNode...
. After I moved TryGetNode
from one place to another and added a new parameter, that error started appearing. Why does it always appear if all TryGetNode
's parameters are nullable:
51 replies