Hi Justin,
I'm getting the same null ref (on line 541 BehaviorManager) after upgrading from 1.6.1 to 1.6.2.
After removing the lines you suggest (on BehaviourManager.cs line 524 TO 529), i'm starting getting another error :
Error: Unable to set SharedVariable - the variable type...