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?
laggyluk
(laggyluk)
June 9, 2023, 2:11pm
3
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.
Riipitud1
(Riipitud)
June 10, 2023, 10:27am
4
The output window has the exact same error as intellisense.
Riipitud1
(Riipitud)
June 10, 2023, 10:33am
5
Rebuilding the solution dosnt help.
Here is the code.
InteractionSystem.cpp (4.6 KB)
InteractionSystem.h (1.3 KB)
laggyluk
(laggyluk)
June 11, 2023, 6:43am
6
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?