Sugarcube Console Error in several browsers

riadhloch

Member
Jul 1, 2018
231
326
EDIT: I see MissFortune already answered about someone else having the same issue. I don't believe there's a fix as of yet, but as this thread is redundant please feel free to delete this message. Thanks!


I've tried opening the Console for several Sugarcube Twine games in both Edge and Chrome, and I'm getting an error the moment it comes up and any time I try to edit game variables.

This only started happening a day or two ago and I'm not sure why. Any suggestions? I've deleted all save data but not sure what to try next.


View attachment 1849646
 
Last edited:
  • Like
Reactions: aece

Alcahest

Engaged Member
Donor
Game Developer
Jul 28, 2017
3,294
4,167
Likely this bug. Should be fixed as soon as they add the bugfix.
 
  • Like
Reactions: Synaxis

AdmiralNobody

Member
Aug 6, 2016
109
363
So in the meantime I tried out this fix found on stack overflow and it looks to work;
  1. At the top of DevTools, open the "Elements" tab
  2. Press "»", on the right of "Styles", "Computed", "Layout"
  3. Choose "Event listeners"
  4. Find and expand "onerror"
  5. Click "Remove"
This will remove the event listener, but the issue will return after you refresh the page.

Hopefully the next version of Chrome will fix this bug.
tried it out in a couple of HTML games and it seems to have resolved the issue