You need to set the camera entity reference here to the camera in the scene:
If it’s not set, it creates a new camera entity as a child at runtime as you can see here:
it still doesnt work
see
There’s a bug in the FPS controller where it nulls the camera entity property on init which shouldn’t happen.
Remove line 19 in first_person_movement.js
Fixed project: https://playcanvas.com/editor/scene/1427322