Unity has addressed this in UnityEvent with dynamic parameters not showing anymore in the Unity inspector