Search Unity

Camera stuck?

Discussion in 'Editor & General Support' started by iKazine, Jan 13, 2018.

  1. iKazine

    iKazine

    Joined:
    Jan 3, 2018
    Posts:
    5
    I don't have a clue what has just happened.

    So, I was editing a script that has nothing to do with the camera. When I went to go play the game, the camera is stuck. All it can do is rotate. It was not like this before the script, and it is an RTS camera that was working fine from the asset store. I believe this is a user error.

    Here are things I have tried:
    • Reverting the script back to it's original state
    • Resetting the RTS camera settings back to its default
    • Browse the console to see if anything popped up (Nothing did)
    • Setting Time Scale in Unity Project Settings to 1. (Already was at 1)
    • Messing with settings on RTS Camera
    • Checking all the scripts to make sure nothing is interfering.
    • Restarting Unity.
    • Redoing the Camera entirely
    But the problem still persists.

    This is my project on Github: https://github.com/Vencorr/Evil-is-Good
    I just pushed a commit to it from the project I have, so it should be up to date.

    I have no clue what could possibly be the problem. Any help is appreciated.
    Sorry if this is the wrong place to put this.
     
  2. iKazine

    iKazine

    Joined:
    Jan 3, 2018
    Posts:
    5
    So I uh, figured out the problem.

    It was user error, like I thought, kinda. I forgot to uncheck "Limit Movement" in the RTS camera. My level was beyond the 50 limit it had set.