# Error in UnrealNerwork.h when trying to replicate...?

**URL:** <https://forums.unrealengine.com/t/error-in-unrealnerwork-h-when-trying-to-replicate/299694>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [November 23, 2014, 7:25pm UTC](https://forums.unrealengine.com/t/error-in-unrealnerwork-h-when-trying-to-replicate/299694 "2014-11-23T19:25:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Whag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whag](https://forums.unrealengine.com/u/Whag)\
**Post date:** [November 23, 2014, 7:25pm UTC](https://forums.unrealengine.com/t/error-in-unrealnerwork-h-when-trying-to-replicate/299694/1 "2014-11-23T19:25:31Z")

</div>

got this bug in my main project, I couldn’t figure it out. So I started a blank project with a single variable “Health” as in

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

blindly followed… the log is the same  
any ideas on what is messing up?  
I set the variable to replicate, called GetLifetimeReplicatedProps in my cpp file and included UnrealNetwork.h nothing else…  
link text

---

<div class="post-metadata">

**Author:** ![Whag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whag](https://forums.unrealengine.com/u/Whag)\
**Post date:** [November 23, 2014, 7:28pm UTC](https://forums.unrealengine.com/t/error-in-unrealnerwork-h-when-trying-to-replicate/299694/2 "2014-11-23T19:28:28Z")

</div>

Here’s the log of a blank project  
link text
