This also solved my issue where I did not need any of the required items to activate the button. I called the GetItemCount function and it returned 2147483647, which is the max value of a signed integer. No idea why it would be set to that on begin, but for whatever reason unchecking infinite resources works.