Pointer to incomplete class type is not allowed(getworld())

I cant solve this problem even after including engine/world.h the error is not resolved please help me

What line is giving you that issue?


You’re accessing members off of two types in that line. One is UWorld the other is APlayerController, you need to include the headers for the types you are using.

what header file should i need to add sir??

i’ve included world.h what more i need to include>>

thanks sir i solved the problem by adding the player controller header file

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

Privacy & Terms