PrimaryComponentTick.bCanEverTick destroys my project

PrimaryComponentTick.bCanEverTick causes an error that makes it impossible for me to open my project.

Deleting it causes about 60 random errors to come up. Here are some.

All of this code worked fine for 6 months, until now when it randomly broke. I have tried to restart, but it didnt help.

Hi!

Have you tried rebuilding solution?

If you do and it doesn’t help, then could you, please provide full .h and .cpp files?

Don’t look at the errors window, intellisense is broken with unreal code and produces massive amount of ‘false errors’ that don’t prevent successful compile. Instead check output window for more meaningful problem summary.

The output window has the exact same error as intellisense.

Rebuilding the solution dosnt help.

Here is the code.
InteractionSystem.cpp (4.6 KB)
InteractionSystem.h (1.3 KB)

idk, looks like it doesn’t recognize ‘PrimaryComponentTick’, maybe api changed after upgrading to new version?

You can try creating new, blank component that inherits from USceneComponent like yours and compare how it’s initialized

Code seems fine to me.

Can you, please, show full error list? At the first screenshot we can see only 3 out of 16.

Also, what engine version do you use?