I have encountered a problem where uniformContainer / vestContainer / backpackContainer *sometimes* return nil. What I do is to add a uniform, vest or backpack to a player object and then get the new container.
The weird thing is, that it works a couple of times without problems, but later in the game it just returns nil. It does not seem to be related to the player object, as this one is fine :)
What can I do?