#game not loading on a window
48 messages · Page 1 of 1 (latest)
Browser or client. If browser what one and version
"It doesn't work" doesn't give a lot for people to help you on
What version, what OS.
The more information you can give then more help people can provide.
As I said "it's not loading" doesn't help.
Is it first load or are you loading a save file?
If you want to provide more information open the browser console and provide any errors within it
both
restart the browser
Mine's doing the same thing. 10.21 save file, Chrome browser, I've restarted it a few times, and Companion doesn't have any save fixes to offer.
It says "Game loaded" and then just spins the loading icon.
I just got it to load in an incognito window. Maybe I need to clear the cache then?
Update: clearing the cache worked once, but it broke in the same way as soon as I refreshed the page.
It's an issue with Chromium browsers, reloading or restarting the browser seems to temporarily fix it
I've tried that several times, no change
I also have this when reloading the page sometimes.
Windows 11
Crome 128.0.6613.120 (currently newest)
In the console I get an error:
script.min.js?v=0.10.21:28481 Uncaught (in promise) TypeError: cacheLine[enemy.pokemon].push is not a function
at script.min.js?v=0.10.21:28481:46
at Array.forEach (<anonymous>)
at script.min.js?v=0.10.21:28471:31
at Array.forEach (<anonymous>)
at PokemonLocations.getPokemonDungeons (script.min.js?v=0.10.21:28462:37)
at PokemonLocations.getPokemonLocations (script.min.js?v=0.10.21:28989:39)
at PokemonLocations.isObtainableAndNotEvable (script.min.js?v=0.10.21:29108:40)
at script.min.js?v=0.10.21:35957:45
at Array.filter (<anonymous>)
at SafariPokemonList.generateKalosSafariList (script.min.js?v=0.10.21:35957:14)```
Here's the console output before that error occurs (but this is also outputted when no error occurs):
```Failed to load resource: the server responded with a status of 404 () Enamorus.png:1
Setting.ts:52 "-1" is not a valid value for setting breedingShinyFilter
set @ Setting.ts:52Understand this warning
Settings.ts:27 Setting breedingTypeFilter1 does not exist
setSettingByName @ Settings.ts:27Understand this warning
Settings.ts:27 Setting breedingTypeFilter2 does not exist
setSettingByName @ Settings.ts:27Understand this warning
Setting.ts:52 "-1" is not a valid value for setting breedingPokerusFilter
set @ Setting.ts:52Understand this warning
Settings.ts:27 Setting pokedexShinyFilter does not exist
setSettingByName @ Settings.ts:27Understand this warning
Settings.ts:27 Setting breedingDisplayFilter does not exist
setSettingByName @ Settings.ts:27Understand this warning
Setting.ts:52 "-1" is not a valid value for setting breedingRegionalAttackDebuffSetting```
It started in Chrome 128, we currently haven’t found a solution for it yet. Same issue as #1278419983629684746
Yeah, some scrolling here revealed more threads of that kind.
It's the Kalos safari list every time when it happens.
The (in promise) indicates some async problems?
It's before that, but Kalos list is the first to interact with it. It's because there's a map that needs to be initialised with an empty array as a value. It works in most cases, but somehow, sometimes it initialises as an object instead, and that's why the .push function is failing
This is the line with the problem:
and the cache line comes from here no?
It IS created as an object?
I'm dumb. The surrounding structure is an object, but its values, on that the push are called should be arrays.
It's the getPokemonDungeons function that causing the problem
The line in question:
const cacheLine = this.initRegionalCacheLine(cache, maxRegion, Array<object>);
Which create a new Array, however sometimes it seems like it's creating a new Object instead
Well, technically this is the line that's causing the issue:
this.pokemonNames.forEach(name => cacheLine[name] = new defaultValue());
I have const cacheLine = this.initRegionalCacheLine(cache, maxRegion, (Array)); here
^ That's the compiled JS version
Mine is the TypeScript version
But I've found that that pokemonNames.foreach function causes the defaultValue() to create an object instead of an array when it's called too often
Why even giving a default value and not using a hard [] internally? That not possible with TypeScript?
Ahh, because it acutally should be an object sometimes...
Do you reckon that chrome scrambles up the function calls there?
I have no idea, for me it only happened on the 3rd refresh, as well as never when the devtools are open
So why it's happening, no clue
I can confirm that exact behavior
So is there a way to fix it or no
because I've waited 2 fucking hours to load in and it won't
Restarting the browser / clearing the cache / playing in an incognito window has worked for everyone else
How do I clear the cache
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
didnt seem to work for me
incognito does work, until I reload
and cache / cookie / everything dump doesnt fix the problem for me :/
im on w11 and a chromium (vivaldi) even tho it happened on edge and firefox too
use the desktop client until a fix is found