[OneSync] Ghost cars, Syncing issues (SEMI FIXED SEE COMMENTS)

You should be able to reproduce the bug with specific steps
In this case it could require, a specific time of the day, weather, camera angle etc… who knows :man_shrugging:

1 Like

I’m not guessing anything??? I stated the repro, onesynce server, have someone in the car with you while you drive, drive down the road, witness the sync issues. It’s literally that simple. I’m not sure what else you need to understand to reproduce the issue?

Easiest place to witness the issues are on the highways the most. If that helps you but it happens EVERYWHERE. I haven’t made it a big issue before but if you want EXACTLY specifics on anything, I don’t think it’s really necessary when it’s extremely easy to reproduce the problem. It’s not a resource related issue, weather issue, or anything it is directly related to onesync and how it syncs the cars between players.

1 Like

I understand what picho is saying, he saying they want an exact on how to repro, so been on a highway from the back of pillbox onwards is a great place to see this happen, have one or more passengers in your vehicle, ofcourse have one sync enabled

So I followed your “”“repro”"" steps

I don’t spot any issue.

I will get a video as soon as i can so you can see the issues :slight_smile: Might not be doing it for you seen as your running them both from the same PC etcetc

@Rhodiniium I can back up up on this one. We have used this OneSync ‘density hack’ as I named it back then, ever since we started using OneSync.

1 Like

We did have this issue and I honestly can not remember what we did to fix it, I’ll try figure it out tomorrow and report back

What params are you running?

ie:
set onesync_distanceCullVehicles true

etc

Can confirm this is an issue existing on my server as well. You can watch an hour or so of popular streamers and see it’s certainly an issue. Cars with the drivers gone and still driving, cars spawning in on top of each other 30 at a time. The more people in an area and the more the issues get wild. You may not see the issue just after server restart. It takes some time for it to build up. But about 4 hours into a servers up time with plenty of people playing you would be lying if you said you didn’t see any issues with traffic and peds.

Ill capture some video tonight if you would like. It will show exactly the symptoms described here by previous posters.

2 Likes

Hey, could you find the fix?

Bump
I hope when devs are done with their yacht champagne parties they can grace us with doing their jobs.

1 Like

Nobody has done this yet, so not sure why everyone is ‘bumping’ this topic all the time begging for a fix.

An unreproducible issue is an unfixable issue.

no, your message is literally just stating that you’re lazy to not even try to reproduce what’s happening.
the issue is random at best, hence why a direct reproduction is not possible.
a ‘ghost’ car is when the sync goes off inbetween cars, and a car without npc just comes driving past you and/or others - most commonly happening in an area of a larger group of players

And where are you implying this from? We tried. It doesn’t occur at all with low player counts, and even at higher player counts if the best you can offer is it only occurs “randomly” that is literally the definition of unreproducible: we don’t even have 30 people to test, can’t easily summon such an amount and if we can that still doesn’t help capturing the issue as it occurs.

This isn’t failing in any of the code we wrote, it’s something to do with game code that is likely completely unexplored, going at the entire game executable blindly makes absolutely no sense.

That, and there’s likely a way to accelerate this happening even with 2-3 players; except since nobody even bothered finding such a way (and you all having experienced this issue means you probably know the exact circumstances under which it happens and can definitely toy around to induce it intentionally) of course we haven’t got one yet. See last population issue that was fixed: someone provided us with a set of player positions, camera angles and in-game time and a script to run on 2 clients that led to a near 100% repro, and therefore the issue was fixed nearly instantly.

We have better things to do than going on a wild goose chase hunting down an issue that likely won’t even be found by said wild goose chase.

It’s an issue that has been around since OneSync was released, so it is within FiveM code.

As I mentioned, it is something that at best happens on random occurrences, it can happen without any external scripts - it’s ruining RP, because an AI car can come driving past you without having any kind of driver or anything inside of it.

The best I can give you, is to put 30 people around some random spot, and wait for the cars to come driving past you without NPCs inside

1 Like

And how are you so sure of that? The former clause in the sentence still doesn’t lead to your conclusion at the end of the sentence. Ever since OneSync existed, GTA V code has also existed, so it can be in there as well.

Is it even possible to “RP” without being picky about minor issues?

Right, and where would we get 30 players to place themselves in a coordinated way? We don’t even have 5 people to do so, let alone 30.

It isnt that random honestly, The cars that ghost happen in the same area/coords every time. (Can provide some locations if it helps)

So far my theory is they lose there AI track paths and then become floating objects/instaned as onesync doesn’t know how to handle that vehicle or yet onesync doesn’t even know it exists. Ofcourse the more players that are on they become more of a problem, The way I have tried to limit this is ofcourse lower the cars that spawn in the world which leads to less ‘ghost’ vehicles but the issue is still there but on a much smaller scale.

If you have a way I can further find more information in regards to this @nta then please do let me know, I dont mind spending some time trying to figure out how, when these ‘ghost’ vehicles occur as right now all i have is theories that im sure you allready have thought of.

today a /bring a invisible player to me, that vehicles start’s to despawn, but its hard, becouse cant find a way to replicate that, seems be random, other times, player are visible, but all cars that player spawn remains invisible to everyone, the player must restart than works fine.

1 Like

Completely unrelated issue.

Now this topic is about three distinct issues? Please stop hijacking topics if you’re not 100% sure it’s the exact same issue with the exact same cause.

should stop firing 30 developers a minute then.

it’s obviously a fivem issue, when the issue doesnt occur on any other service