#[1.0.0-pre.65] GhostComponent code gen issue

1 messages · Page 1 of 1 (latest)

thin osprey
#
  1. Currently seems like when set to [GhostComponent(PrefabType = GhostPrefabType.AllPredicted)], some components still failed to strip out at interpolated ghost. At my side, I have 3 enableable components but only 1 enableable component has been stripped properly at interpolated ghost

  2. Another issue I found is when there's no SendDataForChildEntity = true, it's still send the child entity ghost component data to client.

  3. When set to [GhostComponent(PrefabType = GhostPrefabType.AllPredicted, SendDataForChildEntity = true)], I guess currently it won't auto codegen the code that by default won't send data to interpolated ghost since GhostPrefabType.AllPredicted will only have that ghost component at predicated client and server? No point to sync data to interpolated ghost that dun have that ghost component since it's stripped.

sterile jacinth
#

Hey Lim! For bugs like these, we'd very much appreciate individual bug reports with repros to be able to reliably repro, diagnose and fix them. We try to test every combination against every other combination, but (as we found with the replication bugs you raised), we often miss some extremely esoteric cases.

#

You're welcome to submit a single bug with all 3, if they have the same repro project, of course.

#

I wouldn't be surprised to hear of bugs like these. It gets very complicated when you add support for Variants (which can also have GhostComponentAttribute's), we likely have a logic error somewhere in there.

thin osprey
sterile jacinth
#

I realize it's asking a lot, apologies. We're happy to dive into very complicated projects, we just cant fix what we can't see. I personally want to make this system much less complicated, but it's non-trivial, especially as these use-cases are valid. :/

thin osprey
#

Anyway if I can reproduce it at simple repro will let u know

thin osprey
languid jasper
#

I had repro them but they were all connected. There were major issues with enable bits replication that was causing other bugs.
They should have gone now in 1.0

thin osprey