Depth of field doesn't work with all objects.

If you made this with code, make sure the Trace Channel is blocked by the object.