#HTML-runtime crash, no idea how to report

1 messages · Page 1 of 1 (latest)

brazen bramble
#

Hey -- yesyes I know how to open a bug ticket, but this case is a bit special.

I am very confident, that the vertex_submit function of the current 2023.11 runtime in html has a problem, but I can not prove it and the only way I found to reproduce it, is to bake a font through scribble.

Everything was fine in 2023.8 and scribble hasn't changed since then, so it must be in the runtime.
I am neither deep into the source code of scribble nor into the html runtime js-part.

I created a super-small, almost codeless project that shows the crash, but I think, yoyo will not start debugging scribble.

Is anyone around here (maybe even a dev of yoyo who knows the html runtime quite well), who would take a look? I am no web developer, I understand only little of the js-runtime.

  • start it on windows, all good
  • switch to html (with F6 for console) -> you see the error

The crashing line is in file scribble_font_bake_shader#177
took me some time to investigate and track it down on html -- debugging that browser things is something i am not very comfortable with, I hope this helps you finding the issue.

brittle lagoon
#

#1174071652968050768 message

#

I made a mention about it, but yes it is to do with textures and vertex_submit

#

I haven't had the time to report a bug on it yet (nor look through the underlying aspect)

#

I'd also suggest following this in the future to make debugging HTML5 a lot easier

brazen bramble
#

I opened an issue in the scribble repo for juju, but we all know how busy he is, so i had a little hope, someone here could find it, because it really looks like the origin of the error is in the runtime, not in scribble

brazen bramble
brittle lagoon
#

It's the runtime

#

2023.11 broke something

brazen bramble
#

yes, that's why i came here and didn't poke juju

#

but it also showed me, how deep i depend on scribble as i do many educational games for my students, which are very text-heavy and not so much into fancy lala-land-effects

brazen bramble
#

Ok, I do not know the story behind the change, but the blame tool of the yyBufferBuilder showed me, that a dev added a validity-check exactly at the crash point in html (yyBufferBuilder.js line 371 and 387) which have been added in this position for 2023.11 runtime.

i deleted the checks (so we are at the level of 2023.8) and the runtime+scribble work as intended.

do you think it makes sense to report it like that, so they re-question the introduced check whether it is correct at this position?

#

i will continue with this runtime version for now (it's the dev-branch, what can happen?? awesome ) and will see, where this takes me

brittle lagoon
#

Ideally reporting it will at least get YYG to focus on it

#

Showing them where it is would be a lil helpful lol