Setting PrimaryComponentTick.bCanEverTick in a custom actor component's constructor does not does not stop the component from ticking after compile.
if (GEngine) { GEngine->AddOnScreenDebugMessage(-1, 4.f, FColor::Magenta, TEXT("Component Is Ticking")); }
Result:
Debug message is still shown on screen
Expected:
Debug message is not printed since component is set to not tick.
Head over to the existing Questions & Answers thread and let us know what's up.
| 11 |
| Component | UE - Gameplay - Components |
|---|---|
| Affects Versions | 4.14.3, 4.15, 4.19 |
| Created | Mar 15, 2017 |
|---|---|
| Resolved | Aug 18, 2021 |
| Updated | Aug 18, 2021 |
| 5830 - Algorithman |