Cannot set custom object runtime parameters with custom segmentation model?

I am working on implementing custom YOLO segmentation masking into my ROS2 node and have come across an issue where I cannot call setCustomObjectDetectionRuntimeParameters without the process failing. No error is given. If I remove this line and use, I’m assuming, default parameters the process works.

Am I able to set custom object/class parameters if the model is a segmentation model? If I remove this function call, my segmentation detections work but I can’t set properties like is_static, is_grounded, tracking_timeout, etc.