# RelatedWorld Plugin for Unreal Engine 4

**URL:** <https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [June 3, 2018, 10:50am UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724 "2018-06-03T10:50:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [June 3, 2018, 10:50am UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/1 "2018-06-03T10:50:22Z")

</div>

Hello, comrades. I want to annonce new plugin for unreal engine 4 (version 4.19 and later) wich adding support for background levels and instanced levels. This is will be usefull if you want create realy big world for players or multiroom game session or you have problem whis dynamic actors scale (like X-Rebirth ships interriors render)

Plugin for now in havy development and not support network or actors cross world travels. Also have some Editor only bugs (like tick issue in PIE).

You can found plugin sources on my GitHub repo here: [Unreal-Engine-4-Multi-Map-Plugin](http://github.com/TehnoMag/Unreal-Engine-4-Multi-Map-Plugin)

If you want to help me, please contact with me.

With best regards, TehnoMag

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc3b02d11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc3b02d11](https://forums.unrealengine.com/u/anonymous_user_cc3b02d11)\
**Post date:** [June 3, 2018, 4:03pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/2 "2018-06-03T16:03:22Z")

</div>

Hi, can you post screencaps/gifs/vids of what it can currently do?

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [June 3, 2018, 5:55pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/3 "2018-06-03T17:55:54Z")

</div>

> [@Ashenwraith](#):
>
> Hi, can you post screencaps/gifs/vids of what it can currently do?

for now it only tested for cross level render captures (offscene renderer) . On a screenshot, Default level rendered throw render Target texture on plain placed on Root `Empty` level with every Tick updates. In future this plane can be used as portal.

Major issue for now it is a Editor. While PIE, background levels can not ticks.

---

<div class="post-metadata">

**Author:** ![MatzeOGH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MatzeOGH](https://forums.unrealengine.com/u/MatzeOGH)\
**Post date:** [June 4, 2018, 1:11pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/4 "2018-06-04T13:11:30Z")

</div>

Can you upload a sample project two. It’s hard to understand how the plugin is supposed to be used.  
Thanks

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [June 4, 2018, 1:43pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/5 "2018-06-04T13:43:59Z")

</div>

> [@MatzeOGH](#):
>
> Can you upload a sample project two. It’s hard to understand how the plugin is supposed to be used.  
> Thanks

I will upload a sample project based on the 3td Person template, when I find a way to fix bugs in the editor and implement the basic actor transfer system.

In 2 words: I have project with Galaxy Simulation wich has support multiplayer and procedural build by server seed. Game have several generation laуers (Galaxy, Solar System, Planet orbit). This plugin can simplified process of world composing and solve floating point problem. We just cut full sized world by layers (like standard World Composing do), but placing levels not into Persistent Level as slaves but as Independed levels and switch Viewport then needed.

---

<div class="post-metadata">

**Author:** ![MatzeOGH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MatzeOGH](https://forums.unrealengine.com/u/MatzeOGH)\
**Post date:** [June 4, 2018, 3:37pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/6 "2018-06-04T15:37:35Z")

</div>

I guess there are two independent game modes running

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [June 4, 2018, 3:59pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/7 "2018-06-04T15:59:37Z")

</div>

> [@MatzeOGH](#):
>
> I guess there are two independent game modes running

yes for now. In future a plan to rewrite it and use some sort of Proxy Gamemode for transfering commands

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [September 11, 2020, 10:51am UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/8 "2020-09-11T10:51:09Z")

</div>

I conceptuale upgraded plugin.  
New features and fixes:

- Fully worked in editor for now
- No separate GameMode need for that worlds
- Actors can migrate from world to world without needed to recreate them
- Network support (via shared Netdriver all actors replicates onto main world on client side)
- Multiplayer origin
- World translation (so this can be used as alternative WorldComposer in multiplayer).

Known issues

- Crash if not unload mannully in the EndPlay event
- NetCullDistance working wrong (die server distances are not syncronize)
- PhysX simulation ignore World translation

New “In Progress” version can be find here: [https://github.com/Delta-Proxima-Tea…e-RelatedWorld](https://github.com/Delta-Proxima-Team/UE4-Module-RelatedWorld)

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [September 12, 2020, 1:41pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/9 "2020-09-12T13:41:51Z")

</div>

Physics replication seems to be fixed. However, more tests are needed. Especially i do not sure how it react to the change world translation while gameplay

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [September 18, 2020, 9:02am UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/10 "2020-09-18T09:02:14Z")

</div>

Actors transltation from world to world are now working correctly.  
Now all that remains is to solve the problem with NetCullDistance and implement Attachment replication.

And I still can’t figure out how to implement auto-unload triggering, according to the PersistentLevel`s EndPlay Event.

After solving these issues (except for unloding), I think it will be possible to assemble the module as a plugin and put it on the market.

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [September 20, 2020, 2:05pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/11 "2020-09-20T14:05:04Z")

</div>

NetCullDistance behavior was fixed.  
Added ReplicationGraph as default replication driver (for now just for the testing purpose. Will be replaced later).

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [September 23, 2020, 9:48am UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/12 "2020-09-23T09:48:17Z")

</div>

Changelog

- Fixing Server-\>Client RPC
- Added character movement compability

Also added sample project. Can be downloaded here (based on ThirdPerson template) [https://github.com/Delta-Proxima-Tea…e-RelatedWorld](https://github.com/Delta-Proxima-Team/UE4-Sample-RelatedWorld)

2 maps available for test

1. Default - TEST/Maps/START\_ONLINE - can be launch only in dedicated server mode
2. Optional - TEST/Maps/START\_OFFLINE - for singleplayer

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [September 23, 2020, 10:23am UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/13 "2020-09-23T10:23:06Z")

</div>

Demonstration video available:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/5/7955e7abae545477d414fadd7866da5482141eee.jpeg "RelatedWorld plugin demo") ](https://www.youtube.com/watch?v=3VWCxFvrN6U)

Case: Two maps loaded

1. ThirdPersonExample map loaded in World Zero as Related on server side and as instance on a client side
2. StartedMap map loadin In 0,100000000,0 as Related on server side and as instance on a client side.

On the key event character moving from one world to another.

- On a server side world context changed
- On a client side location and World Origin changed

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [September 24, 2020, 12:48pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/14 "2020-09-24T12:48:37Z")

</div>

ChangeLog:

- Fixed issue related to the network camera update
- Updated demo project (now players characters are visible correctly).

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [September 28, 2020, 9:15pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/15 "2020-09-28T21:15:47Z")

</div>

ChageLog:

- Replaced Location Correction component with better one
- Fixed movement lag when relative world translated very far
- Changed location replication policy from WorldSpace to RelativeSpace
- Added several dynamic delegates, accesable from blueprints
- NetCullDistance does not work correctly again. Need to replace ReplicationGrpah with new policy support.
- Demo project was updated.

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [October 11, 2020, 2:19pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/16 "2020-10-11T14:19:22Z")

</div>

ChangeLog:

- Added new ReplicationGraph with Domain replication policy (only Public domain implemented for now)
- NetCullDistance has experemental fix (but still got some problems if RelatedWorld was loaded very far away from global zero)
- Demo project was updated

Domain replication policy is a policy whereby actors are replicated to clients according to the domain of the world they are on.  
There are 3 domains:  
Public: replication occurs to any client  
Private: replication occurs only to clients that are in the same worlds. In this case, actors in the Public Domain are also replicated.  
Isolated: Replication occurs exclusively to clients in this world. The public domain is ignored.

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [October 26, 2020, 12:55pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/17 "2020-10-26T12:55:47Z")

</div>

ChangeLog:

- Implemented Public domain policy for the new ReplicationGraph
- Implemented Private domain policy for the new ReplicationGraph

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [November 3, 2020, 2:20pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/18 "2020-11-03T14:20:36Z")

</div>

ChangeLog:

- Implemented Isolated domain policy for the new ReplicationGraph
- Fixed bug then Actors did not add to the Router Node while spawning if Spawning required new Rule
- Demo project was updated

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [December 3, 2020, 7:43pm UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/19 "2020-12-03T19:43:56Z")

</div>

ChangeLog:

- Fixed crash then are no any related worlds are loaded on the server
- Added support for 4.26 (not fully working for now. See repository README)

---

<div class="post-metadata">

**Author:** ![TehnoMag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Post date:** [December 4, 2020, 10:57am UTC](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724/20 "2020-12-04T10:57:08Z")

</div>

ChangeLog:

- 4.26 full support
- Demo project repository switched to 4.26 (4.25 version can be find in separate brunch)

[Next page](https://forums.unrealengine.com/t/relatedworld-plugin-for-unreal-engine-4/111724.md?page=2)
