/// Applies penalty to the paths it processes telling other units to avoid choosing the same path.
///
/// Note that this might not work properly if penalties are modified by other actions as well (e.g graph update objects which reset the penalty to zero).
/// It will only work when all penalty modifications are relative, i.e adding or subtracting penalties, but not when setting penalties
/// to specific values.
///
/// When destroyed, it will correctly remove any added penalty.
Debug.LogWarning("Penalty for some nodes has been reset while the AlternativePath modifier was active (possibly because of a graph update). Some penalties might be incorrect (they may be lower than expected for the affected nodes)");