[SPIGOT-1546] Entity Activation Range (EAR) does not work properly Created: 01/Mar/16 Updated: 01/Mar/16 Resolved: 01/Mar/16 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Dylan Xaldin | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 1.9, spigot | ||
| Description |
|
The Entity Activation Range is not properly "deactivating" mobs outside of the range in the spigot configuration file. All entities are staying activated regardless of range, leading to large performance loss. You can easily reproduce this by setting your animal range to a very low value then going in game and seeing entities walking smoothly from far away. You can also verify this with /timings. |
| Comments |
| Comment by md_5 [ 01/Mar/16 ] |
|
Resolved |
| Comment by Dylan Xaldin [ 01/Mar/16 ] |
|
Just loaded up a fresh Spigot 1.9 server with no plugins and I can still reproduce the issue. I have set all entity activation ranges to a total of "1" and then started the server back up. This would of course only make them activate fully if within a block of me. I am able to see all animals and monsters walking freely with no movement penalty from inactive ticking and timings certainly shows that everything is at full tick rate. (http://timings.aikar.co/?url=15249350) |
| Comment by md_5 [ 01/Mar/16 ] |
|
Does not look like it here: |