Movement only works if Player is selected.

Script:
Camera: using System.Collections;using System.Collections.Generic;using UnityEngine; - Pastebin.com
PlayerController: using System.Collections;using UnityEngine;public class PlayerController : - Pastebin.com

Video showing the problem:
https://www.youtube.com/watch?v=thJwnY4Y5fI

In this video I only press “w” to move forward and move the camera around.

Issue:
Player movement only works as intended if the GameObject containing the PlayerController script is selected.

1 Like

I’m having a similar issue, I have a dash script but when the player is not selected in the editor it does not stop dashing… Doesn’t happen when it’s selected… Did you find a solution? Seems to be an editor bug so I’m assuming that building the project might get rid of the issue… But haven’t tested yet…