Issue with Unreal and VSCode

Hello

I’m on the collision volumes video of the course and have reached the end of it. Every time I try to compile in Unreal though, it keeps giving me errors. I’ve tried a few things but I’m not sure what I’m doing wrong and could use some advice.

Any suggestions?

Thank you

Line 36 has an error which could be the source of your issues. You have a comma after float

If you are still having problems, can you share the errors you are receiving. Are the errors happening when you build in code or in the Editor?

Also, there’s an option in the File menu of the Unreal Editor to refresh your project files - give that a try.

That seems to have fixed some of it, still getting a couple of errors though,

Are you missing includes on the cpp file for the trigger volume?
Check you have #include "Engine/TriggerVolume.h"

Also, in the header, you have OpenDoor declared twice.

Hi, I’ve fixed most of it but it seems to have a problem with this section. I think it’s more when I build in code, it keeps giving me errors when compiling in Unreal:

you have a semi-colon at the end of line 42, of the OpenDoor.cpp

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.