- Home /
Question by
jtt-berkeley · May 25 at 06:28 PM ·
webgl2d-platformergravity
Sprites spontaneously floating after using Publish WebGL
When we press play on the 2D platformer (the default template given by Unity), The Player and the enemy sprites spontaneously start floating up in the air.
This problem started happening after we published the 2D platformer game to the internet, using the WebGL feature.
How would we go about fixing this so both the Player and enemy sprites stay grounded?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613060921im_/https://answers.unity.com/themes/thub/images/avi.jpg)