ViaVersion / ViaRewind

ViaBackwards addon to allow 1.8.x and 1.7.x clients on newer server versions.
https://hangar.papermc.io/ViaVersion/ViaRewind
GNU General Public License v3.0
245 stars 77 forks source link

(entity NaN dupe issue?) Game crashes while playing on 1.7.2 on a 1.21 server (only on 1.7.X) #532

Open NPC-Master3304 opened 1 month ago

NPC-Master3304 commented 1 month ago

/viaversion dump Output

https://dump.viaversion.com/3bc799d84ee6e98a52bc4b426fb9813630910de4818be03906c8a6ee2b11d8a3

Client Crash Log

1.7.2 client crash log (also I just looked at the crash log.. and apparently the dupped entities are NaN? could that be why I'm crashing?)

Bug Description

Sometimes it works just fine, but when I go into a certain area, 1.7.2 immediately crashes. I also had an issue like this before, and it seemed like there was an entity with invalid data or something, so maybe the same issue is occurring here? UPDATE: I went and enabled hitboxes, but before my game crashed, I saw 25-75 MASSIVE hitboxes that were stacked on top of each other in random places.

Steps to Reproduce

  1. Join hoobs.live on 1.7.2 using ViaProxy.
  2. Go forward towards the farm.
  3. The client will crash with a crash log (or it'll crash immediately when you join).

If this doesn't work, play on the server for a little bit and then try to go back to spawn with the massive hitboxes (with hitboxes enabled), eventually you'll end up crashing. My guess is maybe your loading in those NaN entities which causes the crash? tbh idk

Expected Behavior

Not crashing + Nan entities being removed or no longer duped at high speeds to where if you have a beefy pc, it's mostly playable until you hit around 10k-15k NaN entities.

Additional Server Info

I used ViaProxy, and I also created an issue there, but they said to go here instead.

Checklist

Barvalg commented 1 month ago

Platform: 3.0.2--SNAPSHOT
ViaVersion (5.0.2-SNAPSHOT): 2 commits behind master
ViaRewind(4.0.2-SNAPSHOT): Even with master
ViaBackwards(5.0.2-SNAPSHOT): 4 commits behind master

Please update all Via* plugins from https://ci.viaversion.com/.Put the jars into config/viafabricplus/jars.
In case the issue still persists send the new dump and the issue will be reopened

NPC-Master3304 commented 1 month ago

Platform: 3.0.2--SNAPSHOT ViaVersion (5.0.2-SNAPSHOT): 2 commits behind master ViaRewind(4.0.2-SNAPSHOT): Even with master ViaBackwards(5.0.2-SNAPSHOT): 4 commits behind master

Please update all Via* plugins from https://ci.viaversion.com/.Put the jars into config/viafabricplus/jars.

In case the issue still persists send the new dump and the issue will be reopened

https://dump.viaversion.com/993e3c33bb3b716c58c173bf318a053778a8e3b336139beea50f6e76b6c12dc0

Barvalg commented 1 month ago

Platform: 3.0.2--SNAPSHOT
ViaVersion (5.0.2-SNAPSHOT): Even with master
ViaRewind(4.0.2-SNAPSHOT): Even with master
ViaBackwards(5.0.2-SNAPSHOT): Even with master