x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Header File Inaccessible.

Hey Community,

Quick Question! I'm not entirely sure why this is doing this... it didn't seem to be an issue with 4.17 but ever since I upgraded to 4.21 this problem just isn't going away!

The problem is it is telling me that LoadStreamLevel is inaccessible despite the fact that I am including the proper header for it. I'm not entirely sure what is causing this issue.

This class derides from an Actor class - a custom made Level Stream Volume but I want it to utilize from Gameplay Statics. Any help would be appreciated!

Things i've already done: 1) Rebuild the Solution 2) Generate Visual Studio Files 3) Re-Scanned Solution

None of these have worked unfortunately.

 #include "LevelStream_Volume.h"
 #include "Components/BoxComponent.h"
 #include "Components/BillboardComponent.h"
 #include "Kismet/GameplayStatics.h"
 #include "Engine.h"
 
 //////////////////////////////////////////////////////////////////////////
 // Constructor & Begin Play methods
 
 // Sets default values
 ALevelStream_Volume::ALevelStream_Volume()
 {
      // Set this actor to call Tick() every frame.  You can turn this off to improve performance if you don't need it.
     PrimaryActorTick.bCanEverTick = true;
     /***********************************/
 
 }
 
 //////////////////////////
 // UFUNCTION METHODS
 
 void ALevelStream_Volume::OnOverlapBegin(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult &SweepResult)
 {
     FLatentActionInfo LatentInfo;
     UGameplayStatics::LoadStreamLevel(this, LevelTransitionName, true, true, LatentInfo);
 
 }
Product Version: UE 4.21
Tags:
more ▼

asked Apr 01 '19 at 06:42 AM in C++ Programming

avatar image

Mark James G
534 44 25 52

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

So... the only solution I was able to find for this just in case someone else is looking for it.

You MUST add the path of the MODULE to Intellisense. It's located, in my case, here. Hopefully other folks won't have to constantly scratch their heads trying to figure it out!

C:\UE4_Updated\UnrealEngine-release\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Engine

Please pay CAREFUL attention to this link for other issues. 4.20+ builds seem to be... Intellisense Unfriendly!

<3

https://forums.unrealengine.com/development-discussion/c-gameplay-programming/1503170-solved-intellisense-cannot-find-source-files-in-new-untouched-project#post1504102

more ▼

answered Apr 01 '19 at 11:32 PM

avatar image

Mark James G
534 44 25 52

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question