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"

[Closed] Project Won't Open - Replicated [resolved]

I was working on a practice c++ project with Unreal Engine 4.23 Preview and it would compile successfully, but when I attempted to launch the project it would load 95% of the project and then silently terminate.

I checked the logs and discovered that the editor crashed due to a variable having replication implemented, but it didn't have the "Replicated" specifier.


 #include "Net/UnrealNetwork.h"
 virtual void GetLifetimeReplicatedProps( TArray< class FLifetimeProperty > & OutLifetimeProps ) const;

 // WARNING: Variable replicated without "Replicated" specifier
 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Practice")
 FString Message;


 void AReplicationActor::GetLifetimeReplicatedProps(TArray<class FLifetimeProperty>& OutLifetimeProps) const
     // WARNING: If "Message" doesn't have the "replicated" specifier
     // the project will crash on launch
     DOREPLIFETIME(AReplicationActor, Message);
Product Version: UE 4.23 Preview
more ▼

asked Aug 12 '19 at 09:26 AM in C++ Programming

avatar image

96 5 7 11

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

The question has been closed Aug 12 '19 at 09:34 AM by Spidermined for the following reason:

The question is answered, right answer was accepted

1 answer: sort voted first

I added the "Replicated" specifier to the variable. The Crash Reporter eventually appeared, but I will submit a bug report.

more ▼

answered Aug 12 '19 at 09:33 AM

avatar image

96 5 7 11

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

Follow this question

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

Answers to this question