# Where is WORLD\_SIZE?

**URL:** <https://forums.unrealengine.com/t/where-is-world-size/460364>\
**Category:** World Creation\
**Tags:** world, size, limit, unreal-engine, UE4, question\
**Created:** [January 9, 2020, 7:15pm UTC](https://forums.unrealengine.com/t/where-is-world-size/460364 "2020-01-09T19:15:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![alphabrox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alphabrox](https://forums.unrealengine.com/u/alphabrox)\
**Post date:** [January 9, 2020, 7:15pm UTC](https://forums.unrealengine.com/t/where-is-world-size/460364/1 "2020-01-09T19:15:51Z")

</div>

Hi.

As I understand, default world limit is 10km to any direction. How to increase it? Internet says to change “WORLD\_SIZE” variable, but it don’t say where is it. I tried to search in engine sources but unsuccessfully.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b58cf9e8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b58cf9e8](https://forums.unrealengine.com/u/anonymous_user_b58cf9e8)\
**Post date:** [January 9, 2020, 9:40pm UTC](https://forums.unrealengine.com/t/where-is-world-size/460364/2 "2020-01-09T21:40:57Z")

</div>

If you are creating very large worlds you may want to look into the [World Composition](https://docs.unrealengine.com/en-US/Engine/LevelStreaming/WorldBrowser/index.html) features. Expanding world size can have unintended consequences such as floating point errors at extreme distances.

---

<div class="post-metadata">

**Author:** ![alphabrox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alphabrox](https://forums.unrealengine.com/u/alphabrox)\
**Post date:** [January 9, 2020, 11:13pm UTC](https://forums.unrealengine.com/t/where-is-world-size/460364/3 "2020-01-09T23:13:57Z")

</div>

I make a multiplayer game. Yeah, I met a ‘float problem’ already and solve (I guess) it with ‘rebase origin’ feature. But not-local characters disappear after 10km.

---

<div class="post-metadata">

**Author:** ![blindminds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blindminds/32/1213160_2.png) [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Post date:** [January 9, 2020, 11:45pm UTC](https://forums.unrealengine.com/t/where-is-world-size/460364/4 "2020-01-09T23:45:52Z")

</div>

Unfortunately, world composition does not support multiplayer (not yet anyways if I remember correctly).

---

<div class="post-metadata">

**Author:** ![alphabrox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alphabrox](https://forums.unrealengine.com/u/alphabrox)\
**Post date:** [January 9, 2020, 11:54pm UTC](https://forums.unrealengine.com/t/where-is-world-size/460364/5 "2020-01-09T23:54:42Z")

</div>

as I understand, there can be implemented the next scheme: server - all levels are loaded, client - only local tile is loaded. But I don’t need the World Composition, I make a space game without any terrain. 🙂

---

<div class="post-metadata">

**Author:** ![blindminds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blindminds/32/1213160_2.png) [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Post date:** [January 9, 2020, 11:59pm UTC](https://forums.unrealengine.com/t/where-is-world-size/460364/6 "2020-01-09T23:59:14Z")

</div>

What about level streaming? search for “ue4 space level streaming”…I remember watching a vid from a space game in development where they were using level streaming. wish i still had link for ya.

---

<div class="post-metadata">

**Author:** ![alphabrox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alphabrox](https://forums.unrealengine.com/u/alphabrox)\
**Post date:** [January 10, 2020, 12:04am UTC](https://forums.unrealengine.com/t/where-is-world-size/460364/7 "2020-01-10T00:04:50Z")

</div>

Thanks, I’ll try to find it. But there is maybe a singleplayer solution 🙂

---

<div class="post-metadata">

**Author:** ![alphabrox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alphabrox](https://forums.unrealengine.com/u/alphabrox)\
**Post date:** [January 10, 2020, 1:24am UTC](https://forums.unrealengine.com/t/where-is-world-size/460364/8 "2020-01-10T01:24:59Z")

</div>

I got wrong name: WORLD\_SIZE. Correct name is WORLD\_MAX.

I got answer: runtime/engine/public/enginedefines.h (or %engine%/source/runtime/engine/public/enginedefines.h)

---

<div class="post-metadata">

**Author:** ![Tronological](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tronological](https://forums.unrealengine.com/u/Tronological)\
**Post date:** [May 2, 2021, 2:17pm UTC](https://forums.unrealengine.com/t/where-is-world-size/460364/9 "2021-05-02T14:17:10Z")

</div>

You’ll also want to change WORLD\_MAX in the lighting.h file. Got this from a youtube that showed a sample project with increased max in multiplayer.

UnrealEngine\Engine\Source\Runtime\Engine\Public\EngineDefines.h  
UnrealEngine\Engine\Source\Programs\UnrealLightmass\Private\Lighting\Lighting.h  
#define WORLD\_MAX 2097152 change to 2097152000
