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

USER ISSUE: Duplicate player model and actions #23657

Closed
underclockd opened this issue Jan 3, 2023 · 9 comments
Closed

USER ISSUE: Duplicate player model and actions #23657

underclockd opened this issue Jan 3, 2023 · 9 comments

Comments

@underclockd
Copy link

underclockd commented Jan 3, 2023


User Id: (Not logged user)
Version: 0.9.7.6 beta release-420

Steps to Reproduce:
Upon joining the server initially, there was no unexpected behavior. However, when reconnecting about 5-10 minutes later, the duplicate model appeared.

Expected behavior:
The game should show a single player model and only attempt to perform player actions once.

Actual behavior:

The game duplicates all actions my player character performs, including but not limited to: firing two arrows at a time, giving the "cannot dig while holding dirt" warning despite not initially holding anything, and giving the "no more room in inventory" warning when grabbing from a stockpile with empty hands. Additionally, when in thrid-person, there are two player models displayed (which is particularly noticeable when pushing a cart or other vehicle, as only one model actually has the cart animation applied).

Do you have mods installed? Does the issue happen when no mods are installed?:
No mods are installed.

Logs:
Player.log
Player-prev.log

Additionally, I believe this is the latest server log:
log_230101050107.log

@underclockd
Copy link
Author

I've seen issues like this with Unity before—if you guys are using the Netcode library, this behavior typically happens when both the server and client spawn separate instances of the player prefab. Let me know if there's anything else you need to help isolate the issue!

@D3nnis3n
Copy link
Collaborator

D3nnis3n commented Jan 4, 2023

We know about this issue, but have never been able to reproduce it, it also does seem to only happen to specific people while others doing the exact same things have no issues. We're still looking into it, but so far without luck.

@underclockd
Copy link
Author

underclockd commented Jan 4, 2023

One additional detail—I started this particular world with the Host feature within the game, before copying the world files to the server. Is there any chance that when the client creates those files it causes an issue with the server and client running in the same instance?

I'm just speculating, maybe there's a common thread.

As mentioned originally: the game didn't have this behavior when I initially joined the server after updating to the latest version yesterday. However, prior to the update, it was doing this every time, and every time I connected after that first time post-update, it has also occurred.

@D3nnis3n
Copy link
Collaborator

D3nnis3n commented Jan 4, 2023

No, this also happens on normal dedicated servers that have never been on a client.

@ZachBora
Copy link

This problem is still happening in 9.7.8
Server was restarted, client just opened ECO and just logged to 1 server, press F5 I have a clone of myself not doing the actions that I am performing.

@ZachBora
Copy link

Also it might be related to the clone, when i right-click while in inventory it also sometimes right-click through the internet and makes me pickup from when's in front of me. E.g. it will remove coal from a bakery oven, or remove the first item from a chest.

@ZachBora
Copy link

Also it might be related to the clone, when i right-click while in inventory it also sometimes right-click through the internet and makes me pickup from when's in front of me. E.g. it will remove coal from a bakery oven, or remove the first item from a chest.

OK so I checked this... I dont have a duplicate right now visible and it's still doing it, so might be unrelated.

@renatokuipers
Copy link

renatokuipers commented Feb 11, 2024

Soooo... a Year later....

I have this issue too on the latest version of Eco.
I played with a pal of mine on my own server and everything was fine.
then I had to restart the server for some maintenance (performed some backups and stuff) and started the server again...
When I joined the server again, I have a doppleganger model that is sometimes exactly in sync, but for example if I use a wheelbarrow, 1 model is using the wheelbarrow, while the other model shows the "running" animation without using the wheelbarrow...

I am breaking my mind on this, but can't seem to solve this issue....
What's the problem? Whats the solution?

Please fix this asap if possible.... pretty please :)

image

@D3nnis3n
Copy link
Collaborator

Merged with #24772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants