Skip to content Skip to sidebar Skip to footer

Libgdx Uncaught Runtime Exception In Html Deployment

I seem to be getting an error when deploying my game to HTML. The menu screen works fine, then the transition to the game screen causes this error. Text from console: Uncaught ja

Solution 1:

Its been long time for this post and also I'm not sure about exact problem you faced here, I had similar exception but to find exact reasons I need to get hands on code.

What I did for my code: in short: problem can be any obj.function() line, since this happens multiple times, I assume its in rendering loop of current screen.

more detail about my issue which I had solved: I created class MyActor extends Actor, had a sprite and a TextureRegion (current frame from sprite), while creating replica of this object I was setting value for current frame (act method was fetching current frame but draw was getting called before act) and that was giving me similar error.

I'm not sure if this helps or not, do let me know if you make any progress with this.

Post a Comment for "Libgdx Uncaught Runtime Exception In Html Deployment"