-
Notifications
You must be signed in to change notification settings - Fork 150
Objects not always fully removed from client-side. #291
Comments
I had the same issue when created a "farming" kind of system, where you spawn objects randomly in different pos on the map and a player has to interact with the object. Once interacted - object gets removed. Each object has label, interaction point and object model itself. |
@OlegGulevskyy Yea. It's a very strange but. I've tried investigating it for a long time and have rewritten object streamers and all sorts of things in hopes it would resolve the issue; but I think the only solution that is left is waiting for the alt:V Object API to come out of the dev branch. Until then this sits in the backlog. |
@Stuyk Xm, i had same issue in one of my plugins. Object didn't removed from world after calling all of natives which can delete entity, i even tried copy natives from streamer remove method, object was still there, and actually only 1 of 10 objects weren't removed while the others were removed fine all the time.
|
@gotgameio Definitely not a great solution since all you're doing is hiding the object. Eventually client-side will run out objects and hit limitations because they're simply hidden and not fully deleted. |
I think if we hide entity after we delete it successfully isn't it a problem? If there is only one entity left which somewhy not being deleted we can hide it as i did for such case? i mean hidding deleted entity will not cause some limitations problem cause its deleted and for last one limit will reach only with big entity spawn delete each second i think or no? |
The alt.Object api is now available on client-side. Just need to convert the object streamer over to utilize it. |
This bug is really difficult to reproduce; but also fix. We've tried dozens of solutions with no fix in sight.
The simplest way to reproduce the bug is to give yourself a full inventory of single items.
Drop all of the items in one place.
Then pick them all back up.
If reproduced correctly you will see
1
object with no text label above it.The text was updated successfully, but these errors were encountered: