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

Update depth exceeded in game instance editor #1959

Open
TehAwol opened this issue May 17, 2024 · 0 comments
Open

Update depth exceeded in game instance editor #1959

TehAwol opened this issue May 17, 2024 · 0 comments

Comments

@TehAwol
Copy link
Contributor

TehAwol commented May 17, 2024

When editing a game instance as scenarist, editor related actions provokes a "Maximum update depth exceeded" loop rendering the page unusable after a short while. There seems to be some self referencing state inside a useEffect as specified in the given console error: "Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."

Steps to reproduce:

  • Create a game (react) instance as trainer and go into scenarist mode on it
  • Run any form of script in either console or try to save new lines into the src editor
  • Enjoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant