Traversable graphs not changing through script?

I’ve been trying to change the traversable graph in the seeker using GetComponent().graphMask and it just won’t change no matter what I do. Help please?

Hi

What code are you trying to use?