It does not set the penalties, paths go right through the objects. If I uncomment the lines about walkability, that works fine. This is straight out of the documentation. What could be wrong?
Okay, I got it working. These objects that interrupt the pathing move slowly, so I need to restore the normal penalties once they have moved off of some nodes. This is my approach - I have a GUOAdd that adds 100000, and a GUOReset adds -100000.
I keep a copy of the previous bounds, and apply them like this when the object has moved sufficiently:
Most likely you have applied the negative penalty multiple times on some nodes (or added the positive penalty more than 20000 times, but that is unlikely).
Set Debug Mode = Penalties in A* Inspector -> Settings and enable Show Graphs. That will color nodes depending on what penalty they have, make sure it works correctly.
Also, make sure you set GUO.updatePhysics=false for this because when updatePhysics is enabled, it will first recalculate all parameters on those nodes (which among other things, sets the penalty to the default value).