Skip to content

Lag spike every 300 units when moving near alot of objects #5262

Description

@q8X

Describe the bug

as in title, its a bit different from #5261, cuz this one only happens while moving and its a spike not a drop

so if you have alot of object in one area you get a spike every 300 units. it happens even when the objects are in different dimensions

doubling the objects in the area makes the spike bigger, i ran into this when testing in map editor, the editor leaves its own copy of the map in dimension 200 while u test on dimension 0, so u end up with two copies of the map sitting in the same spot

300units.mp4

Steps to reproduce

run both

1. crun for i = 1, 8000 do object = createObject(1337, 1000 + i *0.2, -1300, 200) setElementDimension(object, getElementDimension (me)) end
2. crun for i = 1, 8000 do object = createObject(1337, 1000 + i *0.2, -1300, 200) setElementDimension(object, 88) end

Version

No response

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions