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

Vehicles Despawning Even While Driven - NET ID issues/OneSync issues? NETWORK_GET_ENTITY_FROM_NETWORK_ID #2654

Closed
Legacy-TacticalGamingInteractive opened this issue Jul 19, 2024 · 5 comments
Labels

Comments

@Legacy-TacticalGamingInteractive
Copy link

Legacy-TacticalGamingInteractive commented Jul 19, 2024

What happened?

We have an issue with networked objects, especially vehicles. NET ID issue perhaps?

A player will spawn a vehicle using the menu (vMenu or other menu via client side), the error in yellow shows, vehicle saves to cache as you see, then randomly despawns after some random amount of time, even when someone is driving it or standing beside it. Then this warning shows yet again when it despawns.

NETWORK_GET_ENTITY_FROM_NETWORK_ID: no such entity

image

We have been turning off all of our scripts trying to figure out of one of them is the culprit with no luck. It has been happening for weeks. I have been searching every old post I can possibly find online about similar problems which have existed for some people some years back but nothing conclusive.

Could this be related to this? 5b62f20

Any ideas? Or easy way to check how many net id's are currently in use and what is creating them if possible? Maybe its an issue suddenly with max NET ID in use? This starts happening whether there are 30 people on the server or 100 it really doesn't seem to make a difference in that regard. However, it does seem to happen more often when there are more networked objects or vehicles around.

Happens on production, beta and canary at this time.

Expected result

Vehicles should remain persistent? Or at least not despawn when someone is driving them.

Reproduction steps

  1. Running latest artifacts. Windows. tx: v7.2.2 | fx: b8981 | b3905. Onesync Infinity.
  2. Spawning add on vehicles with vMenu or other menu on client side such as Badger Vehicle Spawner or other. You can see one of the functions for spawning vehicles here from Badger https://github.com/ChonkyBadger/Vehicle-Spawner/blob/master/Client/Main.cs
  3. Vehicle will spawn, can drive for a while but then will simply despawn on you. Sometimes every single vehicle you spawn will despawn.
  4. Attempt to exacerbate this for testing purposes by spawning tons of networked objects perhaps or some other NET ID test.

Importancy

Unknown

Area(s)

FiveM, FXServer, OneSync

Specific version(s)

FXServer Artifacts 8981 | FiveM canary 8981 or production or beta, Game Build 3905, Onesync Infinity. Windows Server 2022.

Additional information

We are losing our minds trying to figure this out. Please help! It started a few weeks back unfortunately we cannot pinpoint the exact artifacts version when it happens as reports by players were sporadic.

I also noticed someone opened this 2 weeks ago about the same symptom however their spawn method is different than ours is so I'm not certain if its the same thing. #2623

@Legacy-TacticalGamingInteractive Legacy-TacticalGamingInteractive added bug triage Needs a preliminary assessment to determine the urgency and required action labels Jul 19, 2024
@UnityRPDevs
Copy link

I can confirm this bug, i've this like for months!

@Legacy-TacticalGamingInteractive
Copy link
Author

I can confirm this bug, i've this like for months!

Whats your server artifacts and game build

@UnityRPDevs
Copy link

I can confirm this bug, i've this like for months!

Whats your server artifacts and game build

Artifacts 7290 - Game Build 3095.

@Legacy-TacticalGamingInteractive
Copy link
Author

@UnityRPDevs did it fix itself or still happening?

@Legacy-TacticalGamingInteractive
Copy link
Author

Seems to have fixed itself. Who knows.

@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants