[SOLVED] Web build works on Firefox but not Chrome or Edge

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Tess
Regular
Posts: 58
Joined: Thu Aug 04, 2022 3:43 pm
Projects: The Songbird Guild
Organization: Yurisoft
Github: wainwt2
Discord: Tess#7782
Contact:

[SOLVED] Web build works on Firefox but not Chrome or Edge

#1 Post by Tess »

When I try to open a web build of our game in Chrome or Edge on Windows 11, I get this error:

Code: Select all

Error: Uncaught RangeError: Maximum call stack size exceeded (see JavaScript console for details)
This is a known issue in Safari and Webkit browsers. Please report this issue to Apple.
This is what comes out in the log file:

Code: Select all

Thu Dec  1 12:07:40 2022
Emscripten-1.0-wasm32-32bit
Ren'Py 7.4.9.2142u
 

Bootstrap to the start of init.init took 0.00s
Early init took 0.01s
Loader init took 0.05s
Loading error handling took 0.07s
Loading script took 1.31s
Loading save slot metadata. took 0.00s
Loading persistent took 0.00s
Importing _renpysteam: ImportError('No module named _renpysteam',)
import tarfile # precompiled from /lib/python2.7/tarfile.pyo
Set script version to: (7, 4, 9)
Running init code took 0.26s
Loading analysis data took 0.06s
Analyze and compile ATL took 0.02s
Index archives took 0.00s
Dump and make backups. took 0.00s
Cleaning cache took 0.00s
Making clean stores took 0.00s
Initial gc. took 0.05s
DPI scale factor: 1.000000
Creating interface object took 0.00s
Cleaning stores took 0.00s
Init translation took 0.10s
Build styles took 0.01s
Load screen analysis took 0.00s
Somehow it works in Firefox, but I get a gigantic list of messages that runs down the screen (attached the log file because it would be way too big to post here)
log.txt
Insanely long log file Firefox spits out
(537.99 KiB) Downloaded 20 times
Last edited by Tess on Fri Dec 02, 2022 12:19 pm, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Web build works on Firefox but not Chrome or Edge

#2 Post by PyTom »

Basically, what happened is that web browsers have changed in a way that means they can't optimize the Python core execution loop. There's a workaround for this in Ren'Py 7.5, so please upgrade to it. (Ren'Py 8.0 doesn't support the web yet, but 8.1 will.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Tess
Regular
Posts: 58
Joined: Thu Aug 04, 2022 3:43 pm
Projects: The Songbird Guild
Organization: Yurisoft
Github: wainwt2
Discord: Tess#7782
Contact:

Re: Web build works on Firefox but not Chrome or Edge

#3 Post by Tess »

I updated Ren'Py and the new build works great. For some reason I thought I was already up to date, but I guess that's why it's always a good reason to check!

Thank you so much for your help!!

Post Reply

Who is online

Users browsing this forum: No registered users