How can I get rid of this coordinates limit?

Hi!

I’m new to unreal engine 4 and today I encountered a weird problem. I created infinite terrain spawned around player. It works perfectly as long as I don’t reach certain coordinates. From what I noticed these coordinates are always proportional to my variable “RenderRange” which is supposed to control only spawning range around player but somehow chunks stop spawning at coordinates 6000 * RenderRange and they won’t spawn even when I turn back to my spawn location. I did not include such rule in my blueprints and have no idea how to get rid of this.
Am I missing something obvious?

Here are my blueprints which include mentioned variable:

Please help!

You want to use World Composition. When you are too far from the origin the coordinate values are too high that precision is lost, to compensate the origin needs to be shifted. Read more below.

Epic did a live stream on this today : Training Livestream - Getting Started with World Composition - May 16th - Live from Epic HQ - Events - Unreal Engine Forums

Thanks for your answer!
I watched this stream you wrote about and I created new function with the “set world origin location” node. Unfortunately I don’t think it changed anythink because I still can’t go beyond +/-18000 coordinate. Also I think this may not be the problem because in “world composition” window I can see max coordinates are 1,000,000 X 1,000,000 Y and I’m not even close to that…

I think your problem may related to player location coordinates. Because this is main coordinate you use to spawn chunks. How do you update it?

Here is the blueprint
I call this function every second

PROBLEM SOLVED

Source of the problem was variable “Chunk Size Half” (which is “Chunk Size” divided by 2 obviously) in “Update Position” and “'Add Chunk” functions. I tried using “Chunk Size” instead and somehow this solved my problem.