PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.89k stars 2.29k forks source link

Citizens NPC‘s disappearing #8476

Closed ScuroK closed 2 years ago

ScuroK commented 2 years ago

Expected behavior

NPC‘s created by the citizens plugin should not disappear on chunk unload.

Observed/Actual behavior

Some NPC's are invisible while some are fine. It does not matter what mob type they are. For example: one villager shows up while another villager does not. If i create a new npc its there. after i teleport away or restart the server its gone. the affected NPC's will still show up under /npc list. it seems like the plugin thinks they are there.

Some users report that this issue started to occure after paper changed the chunk handling (version 174).

Steps/models to reproduce

Plugin and Datapack List

Paper version

Paper version git-Paper-214 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: ec00f99) You are running the latest version

Other

Citizens Reports:

https://github.com/CitizensDev/Citizens2/issues/2918

https://github.com/CitizensDev/Citizens2/issues/2919

ScuroK commented 2 years ago

EDIT : if i create the NPC inside of a spawn chunk and keep the spawn chunks in memory it does not occure. So it seems definitely related to unloading/loading chunks.

ScuroK commented 2 years ago

EDIT 2 : It does not happen with player NPCs only with mob type NPCs

Astralchroma commented 2 years ago

Report the bug to citizens not paper https://github.com/CitizensDev/Citizens2

Chew commented 2 years ago

There already seems to be 2 reports on citizens and they were asked to come here.

ScuroK commented 2 years ago

The way paper handles chunks different than spigot is also quite new. There is a good chance this should be fixed by paper in order to prevent future bugs and conflicts.

fullwall commented 2 years ago

There already seems to be 2 reports on citizens and they were asked to come here.

(by a user, not by the developers)

ScuroK commented 2 years ago

There already seems to be 2 reports on citizens and they were asked to come here.

(by a user, not by the developers)

so what is your take on this?

ScuroK commented 2 years ago

Fixed by citizens

ScuroK commented 2 years ago

Closed