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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Has PostEditChangeProperty changed?

So im following a Unreal tutorial from 2015 (https://www.youtube.com/playlist?list=PLZlv_N0_O1gb5sdygbSiEU7hb0eomNLdq) Im on part 5 and i followed exactly what he said but then i get undefined for PostEditChangeProperty even though he hasnt defined it either.

Product Version: UE 4.16
more ▼

asked Jul 28 '17 at 08:03 PM in C++ Programming

avatar image

1 1 2 4

avatar image ScottSpadea Jul 28 '17 at 10:34 PM

you might need to include an extra header file, because they separated a bunch of header files for faster compile times. maybe Object.h?

I believe any UObject or AActor should just be able to use that function, since its part of UObject.

avatar image RudeyPunk Dec 15 '17 at 05:11 PM

Greetings - I'm working with version UE 4.18.1 and am encountering the same problem myself.

I tried including "Object.h" but to no avail. Does anyone know which header to include in order to get this working?

 #include "CoreMinimal.h"
 #include "GameFramework/Actor.h"
 #include "Object.h"
 #include "My_Actor.generated.h"
 class MYActorProject My_Actor : public AActor
     // Sets default values for this actor's properties
         // Visual Studio Can't find "PostEditChangeProperty"
     virtual void PostEditChangeProperty(struct FPropertyChangeEvent&) override;
avatar image Nachtmahr Dec 15 '17 at 05:32 PM

You missing the name in your Function. There are no special includes needed. Example Code:

 #pragma once
 #include "MyActor.generated.h"
 class AMyActor : public AActor
     virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
 //---- .cpp -----
 #include "MyActor.h"
 void AMyActor::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
avatar image RudeyPunk Dec 19 '17 at 04:47 PM

Sorry for the slow response Nachtmahr. That seemed to do the trick. Thanks for pulling my head out of the sand!

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

0 answers: sort voted first
Be the first one to answer this question
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