Using null for the layer parameter of IsInstanceExtensionPresent or TryGetInstanceExtension doesn't send nullptr as expected to native. Instead, it sends a pointer to an empty string.
This should be fixed, ideally with appropriate nullability annotations applied.