Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when hypothetically playing cards in replay #2983

Open
GuolinM opened this issue Jan 8, 2025 · 4 comments
Open

Crash when hypothetically playing cards in replay #2983

GuolinM opened this issue Jan 8, 2025 · 4 comments

Comments

@GuolinM
Copy link

GuolinM commented Jan 8, 2025

Describe the bug
Crash when hypothetically playing cards

To Reproduce
Steps to reproduce the behavior:

  1. Enter hypothetical in replay
  2. Hold space bar?
  3. Drag card to "hypothetically play" while still holding space bar

Expected behavior
Card plays successfully with no crash

Screenshots

Additional context
Bug report
Error: The UI collection is out of sync with the state. at vy (https://hanab.live/public/js/bundles/main.6425.min.js:181:20201) at Object.z4 [as onChange] (https://hanab.live/public/js/bundles/main.6425.min.js:181:18057) at i (https://hanab.live/public/js/bundles/main.6425.min.js:181:14311) at https://hanab.live/public/js/bundles/main.6425.min.js:170:16392 at Map.forEach () at Object._ [as dispatch] (https://hanab.live/public/js/bundles/main.6425.min.js:170:16379) at https://hanab.live/public/js/bundles/main.6425.min.js:196:7337 at https://hanab.live/public/js/bundles/main.6425.min.js:196:19560 at ry.onMessage (https://hanab.live/public/js/bundles/main.6425.min.js:170:14558)

@Zamiell
Copy link
Collaborator

Zamiell commented Jan 10, 2025

did you confirm the provided steps reproduce the problem

@GuolinM
Copy link
Author

GuolinM commented Jan 12, 2025

Actually holding space is not necessary. Just encountered again when going through Hypothetical. The main trigger is hypothetically playing a card in "hypothetical" mode.

@GuolinM
Copy link
Author

GuolinM commented Jan 12, 2025

Maybe it's when I go deep in the hypothetical, then try playing a game?

@samuelweiler
Copy link

samuelweiler commented Jan 21, 2025

I also saw an error when trying to blind play the last card in deck in hypothetical mode. Errors appeared for everyone watching the recap. To reproduce, go to turn 48 of game 1391602, with one card in deck. Enter hypothetical. Try to play the top card of the deck.

_e@https://hanab.live/public/js/bundles/main.6427.min.js:24:111914
J8@https://hanab.live/public/js/bundles/main.6427.min.js:24:573958
@https://hanab.live/public/js/bundles/main.6427.min.js:24:563563
l4@https://hanab.live/public/js/bundles/main.6427.min.js:170:21113
sU@https://hanab.live/public/js/bundles/main.6427.min.js:170:19536
@https://hanab.live/public/js/bundles/main.6427.min.js:24:563563
oU@https://hanab.live/public/js/bundles/main.6427.min.js:170:23590
@https://hanab.live/public/js/bundles/main.6427.min.js:24:563563
_@https://hanab.live/public/js/bundles/main.6427.min.js:170:16348
@https://hanab.live/public/js/bundles/main.6427.min.js:196:7345
@https://hanab.live/public/js/bundles/main.6427.min.js:196:19561
onMessage@https://hanab.live/public/js/bundles/main.6427.min.js:170:14559

"You appear to be using an iPhone/iPad/iPod device (i.e. iOS). Hanab Live does not support Apple devices, so the above error might be an iOS-specific error. Please use a desktop PC to access the site, or refresh the page to try again"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants