Cant open Components

I cant compile anything because VSCode says it cant open components/ActorComponent is there any solution for this?

1 Like

Hello @Dank_Soul

I’ve dealt with the same problem before. I’m on building escape though but this should work. Have you put it in the same folder as in unreal, if yes move it to a completely new folder(other than unreal). If this not works @DanM can solve it.

Take care mate,
BYE!!

Just like @TP_MakeGames I also had that error.
Glad to see that someone found success.

You say you can’t compile, but what happened when you tried ?
I say this because those errors are false.

VSCode thinks it can’t find the #include ...... but when it goes to compile, it actually can.

@DanM and @SHuRiKeN helped me a great deal, and it was almost resolved, but there are bugs in the software that cannot be fully resolved.

It’s the Intellisense extension - bugs were fixed in the previous version of Unreal / VS Code but there still broken bits.
.
.

From the last post in taht thread we can see that that this is a current version issue.

Also note that as of this posting 5/6/2021 Intellisense will continue to have difficulty loading CoreMinimal.h because of a separate and unrelated problem relating to macro expansion. You may see:

cannot open source file "UBT_COMPILED_PLATFORM/UBT_COMPILED_PLATFORMPlatformCompilerPreSetup.h"(dependency of "CoreMinimal.h")

So while CoreMinimal.h will still appear red-underlined, the reason is different now. That’s progress!

.
.
Intellisense has problems finding all the #includes, not just CoreMinimal.h

Some people get it working.

Cheers.

1 Like

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

Privacy & Terms