I will add to this since I've done some more digging lately.
The problem seems to be related to the way Godot handles arguments with which the project runs.
assert(
args.length <= nargs,
`native function \`${ name }\` called with ${ args.length } args but expects ${ nargs }`
);
return f(...args)
Just to be clear, I still understand very little of this. I am a newbie.It is also indeed true that this issue occurs only on Firefox, however it did still run on a computer I have at work - also on Firefox.
Another thing is that the project seems to run just fine on a private tab, but only once: after refresh, "index out of bounds" error appears again. This may mean there is an issue with cache or cookies.
That's all I can add for now.