# How do you replicate transient variables inside EditInLineNew/Instanced objects?

**URL:** <https://forums.unrealengine.com/t/how-do-you-replicate-transient-variables-inside-editinlinenew-instanced-objects/382006>\
**Category:** Asset Creation\
**Tags:** Instanced-Mesh, unreal-engine, question\
**Created:** [January 16, 2017, 10:14am UTC](https://forums.unrealengine.com/t/how-do-you-replicate-transient-variables-inside-editinlinenew-instanced-objects/382006 "2017-01-16T10:14:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellocator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ellocator](https://forums.unrealengine.com/u/ellocator)\
**Post date:** [January 16, 2017, 10:14am UTC](https://forums.unrealengine.com/t/how-do-you-replicate-transient-variables-inside-editinlinenew-instanced-objects/382006/1 "2017-01-16T10:14:26Z")

</div>

Hi

We have an EditInlineNew object:

```
UCLASS(EditInLineNew)
class UObjectiveKillEnemies: public UObjective 
{
  UPROPERTY(Category = "Paramters", EditAnywhere)
  TSubclassOf<class UEnemy> TypeToKill;

  UPROPERTY(Category = "Paramters", EditAnywhere)
  int NumberToKill;

  UPROPERTY(Replicated, Transient)
  int CurrentKillCounter;
}

```

It is referenced as member variable like this:

```
class UMisson: public UObject
{
  UPROPERTY(Category = "Paramters", EditAnywhere, Replicated, Instanced)
  TSubclassOf<class UObjective> Objective;

  ...
}

```

So when the client kills an enemy, the server will increase the CurrentKillCounter and then the server should replicate the counter value to the client, so that the client sees his progress for the mission.

We declared GetLifetimeReplicatedProps, ReplicateSubobjects and IsSupportedForNetworking.

But we get the error:

“Stably named sub-object not found”

---

<div class="post-metadata">

**Author:** ![SnowFlying](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/snowflying/32/675980_2.png) [@SnowFlying](https://forums.unrealengine.com/u/SnowFlying)\
**Post date:** [April 8, 2023, 12:12pm UTC](https://forums.unrealengine.com/t/how-do-you-replicate-transient-variables-inside-editinlinenew-instanced-objects/382006/2 "2023-04-08T12:12:00Z")

</div>

We hope this Blueprint Class “EditInlinenNew” plugin (which no longer requires any C++ to use the EditInlinenNew feature) will help you. 💓

> **[Blueprint EditInlineNew in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/blueprint-editinlinenew)**
>
> Blueprint EditInlineNew feature for Blueprint Class and Blueprint Variable. To implement the EditInlineNew feature, simply check the check box in the blueprint.

---

<div class="post-metadata">

**Author:** ![Mark\_Barunovas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mark\_Barunovas](https://forums.unrealengine.com/u/Mark_Barunovas)\
**Post date:** [February 3, 2025, 2:35pm UTC](https://forums.unrealengine.com/t/how-do-you-replicate-transient-variables-inside-editinlinenew-instanced-objects/382006/3 "2025-02-03T14:35:36Z")

</div>

ahahahah 100 dollars
