When the object display type was set to wireframe or boundbox the depth buffer wasn't updated resulting in not visible weightpaint overlay. Thanks to Demeter Dzadik for mentioning it.
When the object display type was set to wireframe or boundbox the depth buffer wasn't updated resulting in not visible weightpaint overlay. Thanks to Demeter Dzadik for mentioning it.