mojira.dev
REALMS-6805

Realms changes worlds to simulation distance 10

Update on this issue by [~Mega_Spud]:

While the changes to the simulation distance increasing to 10 was an intentional change, we can use this ticket to log any new issues this may have caused.

If possible, please try and include as much relevant information as possible:

  • Did this issue only start with the recent change to the sim distance, or did you experience issues beforehand?

  • Does the number of players on your Realm affect the issue at all?

  • Which device are you joining the Realm from, and does performance differ between devices?

Before today, or yesterday, Bedrock realms were restricted to a simulation distance of 4. Now they are running at simulation distance 10. The increased capacity is great, except that now you cannot choose a lower simulation distance even if you want to. If you upload to your realm a world with simulation distance lower than 10, it gets changed to 10.

Steps to reproduce

  1. Create a new world with simulation distance 4, 6, or 8.

  2. Upload the world to a realm.

  3. Observe mob spawns, or create a command block system to mark mob spawns with blocks, or track mob despawns (e.g. by having them say "hi" as you move away).

  4. Download the realm.

Expected results

The world runs on realms at the simulation distance you set it to. Mobs spawn and despawn accordingly. When you download the world it is still at the simulation distance you set it to.

Actual results

The world runs on realms at simulation distance 10. Mobs spawn and despawn accordingly. When you download the world it is at simulation distance 10.

Related issues

Attachments

Comments

migrated
[media][media]
migrated

Please devs, fix this. Noone cares more about any other bug more than this 😞

[Mojang] Mega_Spud (Jay)

Is the fact the sim distance setting of 10 on Realms affecting gameplay or performance at all? (And if so, when did the issue start?)

migrated

Yes I was having major lag issues. And I believe it started around 15-18 hours ago.

migrated

Realms often struggle with performance at a simulation distance of 4.

Unless you have increased the processing capabilities to 4.23 times the previous capability level, then yes, this will result in a significant decrease in performance on the realms.

The current main limitation is the processing power for the single main thread that handles the tick process. Loading up and running the tick process on 4.23 times as many chunks will be a MAJOR strain without an accompanying increase in the processing ability of the machine running the realm.

(4.23 = 217/49 .. 217 being the number of ticking chunks per player on a sim distance 10 world, and 49 being the number on a sim distance 4 world)

Edited to add "per player" to numerical explanation

 

migrated

My existing realm is also suffering from the unexpected increase in sim distance

  • Minecarts are moving in jerky motions.

  • Pistons are extending and retracting in slow jerky motions.

  • Hoppers are transferring items at a significantly slower rate.

  • Spawner are spawning mobs much slower.

  • Item entities (like mining stone from a ceiling) are very jittery as they are falling, they keep rubberbanding up and down for a bit.

  • Entering a nether portals takes considerably longer.

I tossed some leather armor on the ground and it took around 13 and a half minutes for the items to despawn, where it normally is 5 minutes. I think Random Tick Speed is negatively affected by the change.

migrated

My realm is absolutely wrecked right now. Performance has tanked for everyone. Started yesterday. Hoping this is why.

migrated

I noticed a lot of lag on my realm today. This was all with one player online. Mob movement was stuttering a lot. Mining blocks was difficult, block lag was worse than usual, chunk loading was very slow as well. I'd suggedt changing to Sim6 and allow us to evaluate that.

migrated

Corner tweeted that it's official. Unbelievable https://twitter.com/CornerHardMC/status/1349951720969785348

migrated

No new bugs were found by me. However, the server speed dropped significantly. Example for demonstration:
Until yesterday, 4 players could join my realm and my farm with pistons worked +- ok. Now, when I am ONE on the server, the pistons are moving 3 times slower than usual. And so it lags absolutely everything - hoppers transfer objects much slower, objects despawn more slowly, chunks are barely loaded. It's impossible to play.

Why can't you just increase server performance? Why, after so many bugs (REALMS-4642REALMS-1887), you still haven't done anything to fix it?

 

P.S. My PC is working absolutely fine (RAM 32, 12CPUs ~3.2GHz, GTX 1080), internet connection is stable. Can show other characteristics if needed

migrated

Ever since 24-28 hours ago, my realm speed has dropped significantly. My Xbox One S can not handle gameplay. My movement was stuttering, opening inventory, and other inventories takes ages and trading with villagers is virtually impossible. Please add a sim distance slider or at least change it back to 4. 

migrated

I think sim 10 is a step in the right direction, but it was a bit too much. It was about 10-20% laggier than normal. I would suggest sim 6 or sim 8 because mobs can spawn and despawn better than they do with sim 4, but it also doesn’t load nearly as many chunks as sim 10, so it could be a happy medium between mob spawning/ despawning mechanics and performance.

migrated

I'm sorry, but I hate the change. Simulation distance 10 brought lag and everything lag brings with it. With the sim distance being on 10, that means players also have to spawnproof way bigger areas, wich I honestly definitly do not want to do. I'd like to be able to play, and not spend an entire month spawnproofing everything around my base. We joked around that from now on all bases will become skybases to not load mobs on the ground, but that's like the only viable option right now. I was perfectly happy with a sim distance of 4, I don't need more. If the realms would get a bigger sim distance, that should've been anounced weeks in advance. Think of all the mobfarms that are designed and spawnproofed for sim distance 4! All those need tweaking. I hope this change will get reversed, but as for now, I will stay of the realm as much as I can. Totally not playable.

TheRoyalBlock

Realms have already been laggy on a simulation distance of 4. Unless the entire game has been optimized AND realm specs have been raised (neither of which have happened), realms should not be raised to any simulation distance other than 4 or 6 (which is ideal). Simulation distance 10 loads 4 times as many chunks (see @Amuhn Ra's breakdown) per player. Realms simply aren't built to handle anywhere near this: I have no idea what testing you did, but this does not seem thought out to me.

 

On top of that, this not only added a lot more lag to both realms AND clients (devices stuttering, mobs "teleporting", mob caps filling up nearly instantly, etc), but it also broke the majority of farms on the platform as virtually all farms are built for sim 6 or sim 4. 

 

Players typically don't even play on sim 10 on their local worlds: I don't understand why it's being forced on realms. 

 

Especially on realms with addons or realms with many players, it's impossible to play: almost half of my players have protested this change and started playing on other servers rather than our realm, simply because it's such a massively negative change. Some other realm owners I know switched immediately from realms to servers. Please, revert this change, or switch it to simulation 6, or open it up to player changing. 

migrated

On my realm even when there is just one player on it the TPS(ticks per second) drops below the normal 20. Then when 4+ people join it drops to almost half or a third. The world is still playable, but flying with elytra is impossible.  Once the realm fills to its max of 10 players, I would classify the TPS as unplayable as it probably dips below 5. This was not at all how it was before and only started happening when this change was introduced. Also I am not 100% sure but I have built multiple farms that rely on sim distance 4, and if the mob spawning radius changed I would have to rebuild the farm.

ravinmaddhatter

Umm.. can we do something about getting 79 phantoms in 1 minute after coming up from the mine.

Phantoms spawn, they move over to the closets player, open up spawn cap, and keep spawning... It is impossible to survive if you dont sleep. and you cant sleep easily on multi player servers 

 

Client: all 

It is sim 10 related and having sim 10 is just broken right now. Sim 6 and Sim 4 is fine

migrated

To many mobs spawning when coming up from mines, not to mention the 70 phantoms coming at me. Not to mention this lags out the game when we have any more then 6 people if different areas of the map just makes the game unplayable. (Unless we slab or light up a radios of 96 blocks around areas were we are working) it's ridiculous. Either dedicate more Ram to the Realms or fix the issues cause if not you gonna lose people to servers.

On Win 10 but don't get how this matters 

migrated

It was requested to provide the client device, I have tested on Windows 10 PC (Ryzen3 2600) and Android (Samsung Galaxy S7), both had noticeable lag. 

ForestOfLight

Advanced Automation is one of the best places to test things (most importantly lag) for Realms. We're a tech server that's been running on the same realm world for nearly two years now and have taken large steps to reduce lag while working on the world. It's a given to most of the players that the world will always be a little laggy. Simulation distance 10 brought standard lag that has new effects like fairly common block lag with non-instabreak blocks, slower redstone (gameticks have slowed down–my guess is around 10-15 gt/s), and restricted flight due to slower chunk loading (aside from it being more difficult to take off, even when being the only player on I reach unloaded chunks every 200 blocks or so). NinjaPigeon is correct when he says the lag is about 15-20% worse than normal even when staying in the same area (not loading new chunks). My internet runs over 200mbps download and 50mbps upload speed so the lag I experience is nearly all from the server.
I believe the best long term and agreed-upon solution is to give Realms owners the ability to change the world simulation distance between 4, 6, 8, and 10. Before that's implemented, setting Realms to simulation distance 6 would be the best solution to reduce lag while keeping the larger spawn/despawn radii. We as a server love that you're working on higher simulation distances for Realms, thank you!

migrated

This change was extremely noticeable. Everyone on my realm has been complaining about severe lag the last 2 days.

 

It takes multiple attempts to successfully join the realm now. Trying to take off and fly with elytra is very hard, you have to spam jump and fireworks for up to 20seconds before it works typically. Lot of frame drops and laggy gameplay. People on my realm keep dying because of lag spikes while flying in particular. When we run any farms on the realm, the game becomes near unplayable.

 

People can't eat food properly. You hold the button to eat and the eating animation just goes on indefinitely without ever actually consuming the food. This is because the realms are so incredibly laggy now.

 

Also issues with picking up dropped items on the floor. We have lost some shulker boxes full of materials because it won't pick it up into our inventory due to the lag.

 

Please please please revert this change, or at least give us the option to choose our preferred simulation distance. This is such a terrible game ruining change you have made.

 

Edit: I play on ps4. Typically 4 people on my realm when I play. All are either playstation or Xbox. 

migrated

Noticable increase in realm lag. No issues when playing solo, but all joining players have raised that it is now lagging. Mainly seeing this with eating (Hunger does not fill), there is a delay to hitting and breaking blocks, items in water jitter when floating and smelting takes significantly longer.

Will 3+ players it there is a significant amount of lag, up to the point of it not being feasible to play without constantly being impacted.

 

Edit - This has only been an issue since last night. Faced by all players (Up to 7) across PS5/PS4/Switch

migrated

The lag on realms is crazy now since it changed, very noticeable. It never used to get it like this. Here is a basic example of something flowing in water.

[media]

Device Information

Model: HP Z230 Desktop Computer 
OS: Windows 10 Pro (64-bit)
CPU: Intel(R) Core(TM) i7-4770
GPU: AMD Radeon Pro WX 4100
Memory: 16GB
HD Free Space: 1.47TB
Internet Access: Wired/Ethernet - Fibre Broadband

 

racartwright

I've advocated for the increase of sim distance on Realms for several months now, so I'm glad for the change. Because of spawning mechanics and view distances, I would rather be running on sim 10 than sim 4. However, making such a big jump on existing realms is going to cause lag. Players have not designed their realm worlds for sim 10, and if they placed a lot of their farms, storage systems, and redstone too close together, then all of those farms will now be loaded at once. This is the source of lag. There is also increased memory and disk usage from increasing the sim distance. This would also contribute to lag.

In my experience with playing on technical servers with BDS, sim 8 and sim 10 struggled when multiple players were on. Sim 6 seemed like the sweet spot.

I can confirm that lag on the realm increased this week with the change over.
The number of players online does affect it (more players means more chunks getting simulated).
I'm joining realms from a PC, and I haven't tested different devices.

Code Analysis: Sim distances are implemented in a rather simple way in the game. Based on sim distance, the game creates a list of offsets representing all the ticked chunks relative to an active player. Every game tick, the game loops through all players and loops through all offsets for every player, and combines the player's position and the offsets to determine every chunk that needs to be simulated. It also includes the chunks in every ticking area as well.

It would not be difficult to allow realms/bds to dynamically scale sim distance based on load or number of players. By loading multiple lists of offsets into memory, the game can dynamically switch between sim distances. Alternatively, multiple lists can be used to prioritize certain chunks over others, such as the sim4 chunks being simulated before sim6, sim8, etc. This way the game can skip simulating outer chunks if a game tick is taking longer than 50 milliseconds.

migrated

I'm actually sorry: THERE IS a new bug. I think, its not normal amount of phantoms (Survival, Hard mode):

[media]
ravinmaddhatter

As this is broken i think i will suspend my realm sub until it is fixed. It is unplayable on Xbox one, phone, or windows 10 pc. even with 1 or 2 players online.

PC

I7-8700
32 gigs ram
RTX 2080

migrated

My family realm is unplayable, especially on Android and Switch, which is how the kids play there.  I might need to move it to a local game or a server.  If this was at Sim6, I think it would be tolerable.

migrated

Please give us the option to change this back to 4 if we want to. The game is completely unplayable at the moment. It is the same on both Nintendo Switch and PC - but the problem seems a little bit less noticeable when moving away from the base/builds. 
I never experienced this before the change. It does not matter if we are 1 or 2 players online. 

migrated

I believe this is an adverse change and needs to be reverted immediately. I own a public invite-only realm, and most of the users can’t join because of the extreme lag that sim 10 is causing. Normal tasks like eating food and taking off with elytra are increasingly difficult due to lag. I believe that realms should be at sim 6, as that seems to be the optimal sim distance.

migrated

It causes so much lag and breaks farms.  Please revert it back.  In the future, just let the realm owners have the option to set the simulation distance on their own.  Thanks

migrated

I too have horrid lag on realms. My friends and I tested by flying to an area we had not built in and firing an arrow. The arrow travelled slow and staggered. The lag is from the server, not you.

[Mojang] Mega_Spud (Jay)

Thank you for the helpful information regarding this issue, and thank you for your patience. The simulation distance on Minecraft (Bedrock) Realms has been set back to 4 chunks while the Realms team look further into the issues mentioned here.

Resolving as Fixed.

migrated

Reverting it back to 4 is the best solution for now I think... I belive that the sim distance should be per-realm and that the owner should be the one to set it.. sim10 happened to bee too much for all realms to have and the lag was unberable... But if people are able to tweak it most will go with sim4 or 6... So the few realms that have sim10 will have less lag! If still sim10 is too large to load on cloud, would sim8 be a better "max realm sim distance"? Maybe.. But a bigger sim distance is something we asked for long and the effort should't be scrapped!

GoldenHelmet

Several players had commented here about the increase in phantom spawns while Realms were at Sim10. That issue is tracked at MCPE-106557.

migrated

Please just allow users to select the simulation distance that works best for their realm. I'd love to be able to use something higher and was really disappointed to find out it's been reverted back to 4.

migrated

I too was disappointed that my realm could not be more than 4.  After researching and reading about the increase to 10, I finally signed up for realms thinking it would be worth it.  Its not with a Sim distance of only 4...

GoldenHelmet

(Unassigned)

Confirmed

Bedrock

Retrieved