# Web Player - Character Controller & Gravity Not Working

**URL:** https://discussions.unity.com/t/web-player-character-controller-gravity-not-working/104223
**Category:** Questions & Answers
**Created:** [May 5, 2014, 4:56pm UTC](https://discussions.unity.com/t/web-player-character-controller-gravity-not-working/104223 "2014-05-05T16:56:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![doug\_hindson](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@doug\_hindson](https://discussions.unity.com/u/doug_hindson)
#### Post date: [May 5, 2014, 4:56pm UTC](https://discussions.unity.com/t/web-player-character-controller-gravity-not-working/104223/1 "2014-05-05T16:56:43Z")

</div>

Hi folks, I’m very new to Unity but have already enjoying getting into the basics.  
I’ve now made the basic outline of a game, but when I come to build it as a web player it behaves very differently to the preview version.

I’ve got a different gravity system at work, basically like the planetary gravity from [this thread](http://forum.unity3d.com/threads/8873-Faux-Gravity-making-my-brain-spin-Help!), but reverse engineered so that gravity pushes outwards from the centre and the player is able to walk around the inside of a sphere.

That hasn’t been the issue, at least it works fine during the preview, but as soon as I make the web player version, it seems to go out the window.

Any ideas?

---

<div class="post-metadata">

### Author: ![Cherno](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/cherno/32/214838_2.png) [@Cherno](https://discussions.unity.com/u/Cherno)
#### Post date: [May 15, 2014, 12:39am UTC](https://discussions.unity.com/t/web-player-character-controller-gravity-not-working/104223/2 "2014-05-15T00:39:09Z")

</div>

Build a standalone version, run it, and see if if doesn’T work either. If not, check the build folder’s output\_log.txt file for any errors. If all else fails, put Debug.Log(“Erore Message”); lines into your code at strategic places to see exactly what works and what not, and go from there.
