pick from master #39109 when first regulator child output nullable is not right, we may get wrong nullable output, and lead be crash
pick from master #39109 when first regulator child output nullable is not right, we may get wrong nullable output, and lead be crash