Reading Custom Property from Blender Game Engine I'm using the BGE to read a custom property that I set in Blender on the default Cube object. For some reason, the property doesn't show up in the BGE? Am I missing something obvious? All the documentation I can find says I can just access it with obj['propertyName'], but it doesn't work.

cube = bge.logic.getCurrentScene().objects["Cube"]
print(cube['min'])  # KeyError: 'value = gameOb[key]: KX_GameObject, key "min" does not exist'
print(cube.get('min'))  # Returns None
print(cube.getPropertyNames())  # Empty list
print(cube.attrDict)  # Empty dictionary


Version is Blender 2.78; to run the engine, I just do blenderplayer myfile.blend.
Custom properties belong to Blender. They are not converted and do not exist in the BGE.

You need to set up game properties (game logic editor).