Particle weapon, object sync issues
closed
Mister Harper
We have been dealing with a lot of object sync and network IK issues with particle guns, prop items, and vehicals. We see this happen the most when people move to the next ik range. An example is a weapon firing will stay frozen in the air firing as the owner is still walking away thinking they have the weapon in their hand locally. This is causing issues for many different communities across vrchat. We are using the most recent SDK and unity versions as per your discord announcement. We hope this is being worked on, or is there possibly a way to change the network distance value?
Log In
Tupper - VRChat Head of Community
closed
Improved greatly with UNU
Ruuubick - Designer
in progress
After looking at the world, it seems like each gun has two object sync components, which is in itself a tiny issue, the second issue is that you try to destroy the object instead of using Reap when you let go of it. Which means that the object is never removed and the object sync is still in effect, this makes the map behave gradually worse the more object are spawned and destroyed. "Reap is a function you call on objectsync, and the objectsync needs to be on the top level parent of the prefab."
For reference, in Z0NE's world Ridge Racer, there was 5 object sync component per player car, plus 5 object sync components per AI car for a total of around 150 object sync components. It resulted in awful sync for all non master players, after removing all non necessary object sync the map now has only 30 object sync components and it works almost perfectly for everyone.
All of this is due to limits put in place to avoid bleeding money because of allowing for unlimited syncing of everything. Syncing is now limited, but a lot can still be done within that limit, as long as it's setup in a way that uses the least amount of object sync active at once as possible.
We're still working on making it look better though, but make sure to modify what you can on your content for the tests to be appropriate !
Ruuubick - Designer
Merged in a post:
Object sync on fast moving objects is very jerky for users who do not own the object
ZONE
Since the new patch (2020.1.1), fast moving objects (cars) in my world seem to move in bursts if you aren't their owner. The master owns the AI cars so those look fine if you are the world master. This movie shows what they look to like to someone who isn't the world master: https://drive.google.com/file/d/1vVv-MpEhZF1HYD_NVkbXgLPRdk2I1GMs/view?usp=sharing
Here's a link to the world (Ridge Racer) if you want to test it for yourself (Remember, you won't see the problem if you're the world master. You can see if you're the master if there's a purple gem over your head):
Mister Harper
Ruuubick - Designer We took a small batch of our community and tested out the issue we are having. The world uses a weapon vending machine. Other worlds where the guns are already placed to grab have this issue.
wrld_d113e803-914c-4233-bb05-b180ff5adda1
The world ID here is our test world we have been using. Also our weapons are originally based off learning from the JetDogs prefab.
If you need any more information please let us know. We are more than happy to help.
Ruuubick - Designer
tracked
Ruuubick - Designer
Mister Harper Could you add videos for comparison as well as world IDs where you experience this problem so we can add it to our tests ?
`Squishy
Also experiencing this. Car in my safari world now freezes at spaced intervals for passengers other than the driver.
ZONE
`Squishy: Yes, exact same issue as in my world
ZONE
Yes, vehicles and other objects in my world are totally laggy and jerky for anyone who does not own them (usually whoever is not the world master) so I'm assuming this is the same issue. Submitted this bug a little while ago and it's being worked on, so here's hoping!
Rak
I wish they would just give us the option to use the old IK system when we create an instance.
ZONE
Took a clip of the gem that follows the master exhibiting the same issue to demonstrate that it is not an issue related to the cars or any car related scripts https://clips.twitch.tv/SeductiveHealthyHornetGrammarKing
Load More
→