ViaVersion / ViaFabric

Client-side and server-side ViaVersion implementation for Fabric
https://viaversion.com/fabric
GNU General Public License v3.0
323 stars 39 forks source link

Polymer + ViaFabric 1.20.4 seems to not omit experimental mobs, blocks, items for Fabric 1.20.2 clients #309

Closed Ampflower closed 3 months ago

Ampflower commented 8 months ago

/viaversion dump Output

https://dump.viaversion.com/192aa3afd02a621ab569400d1c62c30f07963758c2f8c0a477999b3ac5d9b7b0

Console Error

From server - not particularly helpful for more than versions

From client

Bug Description

Fabric 1.20.2 clients cannot join a ViaFabric 1.20.4 server due to registry syncing.

Note, duplicated this issue from Patbox/polymer#109, originally reported on Modflower/Polysit#7.

Steps to Reproduce

Expected Behavior

As a vanilla client would do; join perfectly fine

Additional Server Info

No proxies were used; same computer and directly connected via [::] on Linux (equivalent to [::1])

Checklist

Ampflower commented 8 months ago

As Kichura has asked for; the packet, if you just want to outright disable it, is fabric:registry/sync/direct via CustomPayloadS2CPacket (extracted via Gadget), which appears to be during the configuration/pre-play phase.

I'd recommend seeing if it's possible to omit the individual version-specific entries if possible in the very unlikely case of someone trying to do multiversion with an actual modpack; tho realistically that's likely more fit for ViaFabricPlus than it is here.

Kichura commented 5 months ago

Update on this:

Polymer somehow works again on 1.19.1, 1.19.2, 1.19.4, 1.20/1.20.1 and 1.20.3/1.20.4 again including 1.20.5/1.20.6 but not 1.19.3 and 1.20.2 meaning progress is somehow being made.

Kichura commented 3 months ago

Update 2: We got the thing working at last with a silly workaround whilst all of this time, it felt like i was doing a quest. a

Kichura commented 3 months ago

The setting has been merged meaning this is now resolved, to use the feature - Open up the ViaFabric config and set ignore-registry-sync-errors to true.

ArkoSammy12 commented 3 months ago

The setting has been merged meaning this is now resolved, to use the feature - Open up the ViaFabric config and set ignore-registry-sync-errors to true.

Im glad to see this issue being resolved after 4 months of my original issue report on Polysit's repo, thank you.

One last thing. Are there any downsides to enabling ignore-registry-sync-errors that I should be aware of?

FlorianMichael commented 3 months ago

It basically disables Fabric's validation of registries, doing so may cause unexpected issues which would have gotten a proper error message before, but other than that you should be fine. Sorry for the wait.

ArkoSammy12 commented 3 months ago

It basically disables Fabric's validation of registries, doing so may cause unexpected issues which would have gotten a proper error message before, but other than that you should be fine. Sorry for the wait.

No worries, and thank you for the answer 👍