invalidateAndUnloadModifierResources(modifierLoadId) {
    const modifierLoadData = this._modifierLoadDataByLoadId[modifierLoadId];
    if (modifierLoadData != null && modifierLoadData.valid) {
      // invalidate modifier load data
      modifierLoadData.valid = false;
      this._modifierIndices = _.without(this._modifierIndices, modifierLoadData.modifierIndex);
      this._modifiers = SDK.GameSession.getInstance().getModifiersByIndices(this._modifierIndices);
      this.removeResourceRequestById(modifierLoadId);
    } else if (modifierLoadData == null) {
      // create pseudo load data so that any further attempts to use resources for this modifier get blocked
      this._modifierLoadDataByLoadId[modifierLoadId] = {
        valid: false,
        promise: Promise.resolve(modifierLoadId),
      };
    }
  }
Invalidates a modifier resources load and unloads the resources.
@param {Int} modifierLoadId