Instance segmentation image is just black

For me the view port shows correct instance segmentation but when using synthetic data recorder to record the data the instance segmentation image is black. I have the checked the pixel values and all of them are zero. Can you say where might be a error.

instance segmentation image

rgb image

viewport visualization of instance segmentation

solved. I needed to toggle the colorize instance segmentation in synthetic data recorder before pressing start.