This version of Unity is unsupported.

SessionState.SetBool

public static void SetBool(string key, bool value);

Description

Store a Boolean value.