Under what circumstances would a layer CanCreateRenderer method return true, yet running CreateRenderer with the same renderer caused the following error:
ArcGIS.Desktop.Mapping.MappingException: 'Error HRESULT E_FAIL has been returned from a call to a COM component.'
Can't nail down why the error. Everything seems to be set up correctly, using a FeatureLayer, all required elements are set in the classes. To top it off, this code has been working since at least ArcGIS Pro 2.8 and has just recently started to crash Pro. Any ideas?