ti-assistant / issues

All bug reports, planned features, and ideas for the TI Assistant
1 stars 0 forks source link

Client Error Issue #34

Closed willcarey119 closed 7 months ago

willcarey119 commented 7 months ago

Experienced a client side issue during our game yesterday. Unsure about the cause.

https://ti-assistant.com/game/V3yByF/main

Yoduh commented 7 months ago

I was able to reproduce by simply having Imperial Arbiter law active at the end of the strategy phase. The error immediately occurs the moment the last player selects a strategy card.

It is Minified React error #185

Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

willcarey119 commented 7 months ago

Confirming that I run into the same issue when enabling Hacan's Quantum Datahub Node, so it's probably a wider issue relating to things that add interactions into the end of the strategy phase.

sharpchris commented 7 months ago

I also had the same bug with Imperial Arbiter in play.

SephHawkins commented 7 months ago

Thank you for reporting this - and for the detailed debugging information. I'll try to get this resolved today.

SephHawkins commented 7 months ago

This should now be fixed - ended up being an issue with trying to repeatedly auto-select the strategy card to swap when there was only 1 available (5, 6, 7, and 8 player games).