title: Rider for UE: build don't have any effect
body: <p>Not sure if it's a software issue or my incredible programming skills.
  I'm using UE4.27 and Rider for UE 2021.2.1 for C++ project. Recently I got some strange bug or something else: some changes in the code do not affect the program in any way. For example, there are old logs (Unable to get Owner Actor, AttackMontageN) that still work fine and new logs (NewLog) that didn't work, but there are no errors while building, crashes or anything like this:</p>
  <pre><code> void UMeleeAttackAbility::CommitExecute(const FGameplayAbilitySpecHandle Handle, const FGameplayAbilityActorInfo* ActorInfo,
                                       const FGameplayAbilityActivationInfo ActivationInfo)
      {
          Super::CommitExecute(Handle, ActorInfo, ActivationInfo);
          const auto Owner = ActorInfo-&gt;OwnerActor.Get();
          if (!Owner)
          {
              UE_LOG(LogPRAbilitySystemBase, Error, TEXT(&quot;Unable to get Owner Actor&quot;))
              K2_EndAbility();
          }
          UE_LOG(LogPRAbilitySystemBase, Warning, TEXT(&quot;NewLog&quot;));
          const int MontageIndex = rand() % 3;
          switch(MontageIndex)
          {
          case 0:
              UE_LOG(LogPRAbilitySystemBase, Warning, TEXT(&quot;AttackMontage1&quot;));
              AttackMontage = AttackMontage1;
              break;
          case 1:
              UE_LOG(LogPRAbilitySystemBase, Warning, TEXT(&quot;AttackMontage2&quot;));
              AttackMontage = AttackMontage2;
              break;
          case 2:
              UE_LOG(LogPRAbilitySystemBase, Warning, TEXT(&quot;AttackMontage3&quot;));
              AttackMontage = AttackMontage3;
              break;
          default:
              break;
          }
          UE_LOG(LogPRAbilitySystemBase, Warning, TEXT(&quot;NewLog&quot;));
          //...
      }
  </code></pre>
  <p>I reverted to one very old commit where this code is completely different, but the results in the logs and character behavior are still the same. Also I'm tried to rebuild current project (in Advanced Build Actions) and do some other obvious things such restarting UE4/Rider, etc. Is it Rider problem or it can be something else?</p>