In my game Horror Tycoon, every couple weeks the calculated position of the tycoon suddenly changes. As a result of this bug and me not noticing it happened, our session time and CCU plummeted to basically 0.
The position of the tycoon is determined with the following 2 calculations:
1.
The tycoon, originally a Folder (for easy editing in studio), is converted to a Model:
2.
For each plot, the tycoon is cloned, and moved to the plot’s location with PivotTo():
(The red floating parts seen below is ‘Plot’ referenced above)
This code is meant to produce 8 identical plots in a circle as seen below (ignore the different colours).
However, multiple times (I can’t name an exact number, but probably ~4 times in the span of around 2 months), the resulting tycoon position ends up being below the ground, without any differences in the code, the plot part, or the tycoon.
Just to be clear: this bug does NOT happen randomly during a game server and then never again. It’s like a switch is flipped, and the calculated position is permanently changed in all servers.
As you can see in the image where I show the red plot parts, the red parts are quite high above the ground. This is because when this bug happened previously, I moved the plot parts up to bring the tycoon back to a normal position. The red plot parts were originally on the ground! Previously this had happened before the game released, and I didn’t think much of it. But now that the game is released, this single Roblox bug killed our game completely.
The graph above shows exactly when the bug occurred, and hence plummeted our session time due to the game being unplayable.
I apologise for the vague bug report, I honestly have no clue what causes this bug and it is very mysterious. This is very concerning, because even though I have since moved the red plot part up to counteract the bug, this bug will happen again at some point in the future, and will make my game unplayable once again.
Thank you for reading!