# FreeCamera Movement is busted in PGs?

**URL:** <https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170>\
**Category:** Bugs\
**Created:** [September 28, 2021, 8:10pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170 "2021-09-28T20:10:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [September 28, 2021, 8:10pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/1 "2021-09-28T20:10:41Z")

</div>

Just go to the default scene and tap the arrow key forward or backwards.

[![](https://img.youtube.com/vi/S9Cpk4vo5ec/maxresdefault.jpg "BJS PG FreeCamera Bug") ](https://www.youtube.com/watch?v=S9Cpk4vo5ec)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 28, 2021, 8:18pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/2 "2021-09-28T20:18:15Z")

</div>

Yup definitely looks like an issue but I can fortunately / or unfortunately not repro locally.

@PolygonalSun could you try as well to repro ?

@Pryme8 would be great to know the browser version you are using just in case.

---

<div class="post-metadata">

**Author:** ![PolygonalSun](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/polygonalsun/32/2704_2.png) [@PolygonalSun](https://forum.babylonjs.com/u/PolygonalSun)\
**Post date:** [September 28, 2021, 8:27pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/3 "2021-09-28T20:27:31Z")

</div>

@sebavan I am unable to repro it with Edge/Chrome, Firefox, or Safari.

---

<div class="post-metadata">

**Author:** ![PolygonalSun](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/polygonalsun/32/2704_2.png) [@PolygonalSun](https://forum.babylonjs.com/u/PolygonalSun)\
**Post date:** [September 28, 2021, 8:35pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/4 "2021-09-28T20:35:38Z")

</div>

@Pryme8 does anything pop-up in the console?

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [September 28, 2021, 8:38pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/5 "2021-09-28T20:38:39Z")

</div>

nope, no errors and let me check Chrome version.  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/6/4/643012f5665f07842371760a2dd997fb29cf528d.png)

This just started today or yesterday I noticed.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 28, 2021, 8:41pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/6 "2021-09-28T20:41:40Z")

</div>

Interesting and might be a fixed bug in 94  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/4/745aade514971460064dfaa798639089ba3db149.png)

Could you try to update ?

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [September 28, 2021, 8:52pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/7 "2021-09-28T20:52:34Z")

</div>

Nope that did not fix it.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 28, 2021, 9:42pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/8 "2021-09-28T21:42:14Z")

</div>

Unfortunately it looks related to your environment ☹ as I tried without success on several machines. This is really strange

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [September 28, 2021, 9:43pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/9 "2021-09-28T21:43:40Z")

</div>

Weird. Yeah it does not do it on canary or Firefox for me.

It’s almost like the events are not all registering.

---

<div class="post-metadata">

**Author:** ![PolygonalSun](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/polygonalsun/32/2704_2.png) [@PolygonalSun](https://forum.babylonjs.com/u/PolygonalSun)\
**Post date:** [September 29, 2021, 5:57pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/10 "2021-09-29T17:57:25Z")

</div>

It might be worth throwing in a couple of event listeners for each of the key events and seeing if they trigger and maybe comparing it against what comes from `scene.onKeyboardObservable`.

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [December 9, 2021, 10:42pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/11 "2021-12-09T22:42:44Z")

</div>

This is still a thing for me? Except now the arrow keys don’t work at all.

Is anyone else having trouble using the arrow controls in a standard PG on Chrome:  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/1/e/1ee2ebf83fb9d034b82bc6ca8a48bd77aaca4053.png)

Everything works perfect on Canary and every other browser.

If this is only me having this happen then frikin nutty.

@PolygonalSun  
[https://playground.babylonjs.com/#0F7KQ2](https://playground.babylonjs.com/#0F7KQ2)  
I’m getting very sporadic responses, let me record a video really quick.

So it only fires a OBS if I hit an arrow after clicking (and every time). Plus it seems to be releasing the keypress before doing anything.

[https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/1/e/1e1d28de4fe26e56addf3d46c7c735c338fb60a1.mp4](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/1/e/1e1d28de4fe26e56addf3d46c7c735c338fb60a1.mp4)

---

<div class="post-metadata">

**Author:** ![PolygonalSun](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/polygonalsun/32/2704_2.png) [@PolygonalSun](https://forum.babylonjs.com/u/PolygonalSun)\
**Post date:** [December 9, 2021, 11:30pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/12 "2021-12-09T23:30:16Z")

</div>

I have the same version of Chrome and it was working for me. Let’s get some more people to try and see what they’re finding. Hey @sebavan, @carolhmj, @Cedric, @RaananW, @bghgary, @syntheticmagus, @msDestiny14, @Evgeni_Popov, could I get a few of you to try and see if you can repro this?

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [December 9, 2021, 11:32pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/13 "2021-12-09T23:32:03Z")

</div>

I’ll try!

---

<div class="post-metadata">

**Author:** ![syntheticmagus](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/syntheticmagus/32/395_2.png) [@syntheticmagus](https://forum.babylonjs.com/u/syntheticmagus)\
**Post date:** [December 9, 2021, 11:33pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/14 "2021-12-09T23:33:40Z")

</div>

@Pryme8 Just to be sure, did you try force-refreshing with Ctrl+F5? I think there was an input bug that got fixed yesterday, so just in case there’s dead code in your cache it might be worth forcing the refresh if you haven’t already.

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [December 9, 2021, 11:35pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/15 "2021-12-09T23:35:28Z")

</div>

> [@Pryme8](#):
>
> [Babylon.js Playground](https://playground.babylonjs.com/#0F7KQ2)

Also have the same version of Chrome, tried and couldn’t get it to reproduce.

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [December 10, 2021, 12:07am UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/16 "2021-12-10T00:07:54Z")

</div>

Nope no go. This is really nutty.

Let me see if I can reproduce on a local thing. Maybe my environment is broken?

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [December 10, 2021, 1:23am UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/17 "2021-12-10T01:23:18Z")

</div>

Works fine for me also. Maybe try an incognito window, a different browser, or open the dev tools and empty cache and hard refresh (via right-click).

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/3/2/329c2a532a5348b76077182f7d109df22fb29c1e.png)

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [December 10, 2021, 1:41am UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/18 "2021-12-10T01:41:33Z")

</div>

It for sure happens in no other browsers. I even uninstalled chrome and reinstalled it. I have also tried all the cache and hard refreshes.

Starting to think I just have cooties.

---

<div class="post-metadata">

**Author:** ![PolygonalSun](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/polygonalsun/32/2704_2.png) [@PolygonalSun](https://forum.babylonjs.com/u/PolygonalSun)\
**Post date:** [December 10, 2021, 4:02pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/19 "2021-12-10T16:02:16Z")

</div>

What about plugins? Could there be a plugin that would be interfering?

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [December 10, 2021, 4:46pm UTC](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170/20 "2021-12-10T16:46:56Z")

</div>

Maybe, I’ll double check. I did a fresh install but maybe the plugins came with my account.

[Next page](https://forum.babylonjs.com/t/freecamera-movement-is-busted-in-pgs/24170.md?page=2)
