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"

Graph is linked to external private object when using custom class

I created a custom C++ class actor and using a class reference for it in my Player BP. Everything is fine until I create the variable to hold the class. Then when i want to save it it says

Can't save ../../../../../../Users/Thorwin/Documents/Unreal Projects/Project/Content/Blueprints/PlayerShipPawn.uasset: Graph is linked to private object(s) in an external package. External Object(s): /Engine/Transient Try to find the chain of references to that object (may take some time)?

The code for my custom class header file:

 #pragma once
 
 #include "GameFramework/Actor.h"
 #include "SmallShipClass.generated.h"
 
 UCLASS()
 class PROJECT_API ASmallShipClass : public AActor
 {
     GENERATED_BODY()
     
 public:    
     // Sets default values for this actor's properties
     ASmallShipClass();
 
     // Called when the game starts or when spawned
     virtual void BeginPlay() override;
     
     // Called every frame
     virtual void Tick( float DeltaSeconds ) override;
 
     UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Ship Data")
     FString Name;
     
 };
 

Product Version: UE 4.14
Tags:
more ▼

asked Jan 28 '17 at 05:50 PM in Blueprint Scripting

avatar image

Thorwin99
33 2 3 5

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

1 answer: sort voted first

Isnt Name already declared for all Objects?

more ▼

answered Jan 29 '17 at 01:16 AM

avatar image

MonsOlympus
973 37 11 37

avatar image Thorwin99 Jan 29 '17 at 03:30 PM

Ok i found out, that it isnt that class which causes the problem. It is a non-public BPFuctionslibrary

(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