Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Copycat blocks on trains causing lag #187

Open
dti131 opened this issue Jan 16, 2025 · 3 comments
Open

[Bug] Copycat blocks on trains causing lag #187

dti131 opened this issue Jan 16, 2025 · 3 comments
Labels
Bug Something isn't working Needs Info Further information is requested Performance Related to lag or low performance

Comments

@dti131
Copy link

dti131 commented Jan 16, 2025

Too many copycat blocks (of any type) on trains will cause FPS lag for some people, including game crashes. This isn't a system issue: most of the people I know who experience this have at least decent PCs/laptops that are otherwise capable of running Minecraft at 90+ FPS with high render distances, Distant Horizons, Create machines, etc

Steps to reproduce the behavior:

  1. Build a large train using at least a couple hundred copycat blocks of any type (panels, bytes, slopes, whatever)
  2. Assemble the train
  3. Drive train around
  4. Decent likelihood that you, or another user on the same server for multiplayer, will experience drops to below 10 FPS or instant game crashes.

Expected behavior
The same framerate as a user would get from looking at any other assembled train, with no crashes or other issues.

Desktop (please complete the following information):

  • Minecraft Version: 1.20.1
  • Mod Loader: Fabric
  • Mod Version: 2.1.4

Additional context
This problem ONLY happens with trains made from hundreds of copycat items. It doesn't happen with trains made with a small amount of copycats or static blocks.
The framerate issues persist, even after leaving the area containing a train built from copycats. The only solution for this is a game restart.

@dti131 dti131 added the Bug Something isn't working label Jan 16, 2025
@dti131 dti131 changed the title [Bug] [Bug] Copycat blocks on trains causing lag Jan 16, 2025
@embeddedt
Copy link

Can you run a Spark profile on the client thread with /sparkc profiler start when the lag is happening?

@dti131
Copy link
Author

dti131 commented Jan 16, 2025 via email

@hlysine
Copy link
Member

hlysine commented Jan 30, 2025

We do have a few performance fixes in the next update which may help, but without a Spark profile we can't locate the cause.

@hlysine hlysine added Needs Info Further information is requested Performance Related to lag or low performance labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Needs Info Further information is requested Performance Related to lag or low performance
Projects
None yet
Development

No branches or pull requests

3 participants