hello just on Dependency Injection lecture on Unreal 5.0 C++ Developer: Learn C++ and Make Video Games and ive ran into some errors where added the mover.h file seems to cause issue with TriggerComponent.generated.h ive attempted to do build task outside editor,refresh visual code project. lastly i delete binaries and intemediate folders then tried opening unreal to trigger a rebuild which usally works when get these errors did manage get orginal version back by restoreing binary and intemidate folders
I think it’s likely that that error you posted was due to not saving the .cpp file before compiling.
However you show a different error in that screenshot, on line 60 Mover should be NewMover. Currently there’s nothing called NewMover which you’re trying to assign to Mover on line 62.
If you can successfully compile then there’s no actual “error” with the code. What VS Code underlines are separate. It can usually be fixed by doing Tools > Refresh VS Code Project within Unreal which will refresh the project files that VS Code uses to understand your code.
hi thanks so yeagh i just did live codeing seem succeed vs code still showing erros after i refeshed vs code but should be fine now since did show an error when i complied