Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Apparently I have compile errors, but the console is empty?

Discussion in 'Scripting' started by Denisowator, Oct 20, 2015.

  1. Denisowator

    Denisowator

    Joined:
    Apr 22, 2014
    Posts:
    918
    So I wrote the script for moving my character around, but when I try to attach the script to the model on the scene, it shows the sub-window error message which says I can't attach the script because it has compile error, but when I go to the console it's empty. Please help.

    I have no idea what's wrong with the script, I've looked over it like 5 times and don't see anything wrong with it.
     
  2. Denisowator

    Denisowator

    Joined:
    Apr 22, 2014
    Posts:
    918
    Nevermind, for some reason I had the model's name in the script instead of the script's name.

    Someone please delete this thread.
     
  3. HiddenMonk

    HiddenMonk

    Joined:
    Dec 19, 2014
    Posts:
    987
    Nope. We shall have this documented so we can forever laugh at your foolishness.
    Mwuahahahaha!!
    (Also, it might help someone else in the future to see the answer to your issue =p)
     
    ArachnidAnimal and Denisowator like this.