I think you are talking about the problem of Collective Action and the Free Rider problem... I think they are a little different, because those are situations about needing to cooperate for the best outcome, but having no way to enforce cooperation while having individual incentives to not cooperate.