Suppressing the analyzer warning is a clear indication of that. Change to ConvertTo-UnitySetupComponent.