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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity autocompletion is missing

Discussion in 'Scripting' started by _HAL_9000, Mar 25, 2016.

  1. _HAL_9000

    _HAL_9000

    Joined:
    Jun 26, 2015
    Posts:
    48
    Hello everyones !
    I am trying to write c# scripts but I can't use the autocompletion on both visual studio and Monodevelopp for the unity functions.
    For exemple when I write "get" on both IDE they suggest "GetType" and "GetHashCode" even when there are the "UnityEngine" and "System.Collections" using. They dont recognize "GameObject" ...
    I have tried many things to solve the problem like delete all the .csproj and .sln in the root directory, use Monodevelopp instead, reinstall Unity, create another project ...
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,998
    There could be error in the script or other scripts, it sometimes stops auto-completion..?
    Or assign script editor again manually from the Preferences / external editor (helps for monodev usually)
     
  3. _HAL_9000

    _HAL_9000

    Joined:
    Jun 26, 2015
    Posts:
    48
    Thanks for your response !
    There is just a camera, a light and a script in the project with an empty Start and Update. I tryed this it doesn't work either.
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,998
    Which version you have? Did you install all the needed modules on the installer?
     
  5. _HAL_9000

    _HAL_9000

    Joined:
    Jun 26, 2015
    Posts:
    48
    I have Unity 5.3.3f1, I haven't installed unity and visual studio at the same time. I have visual studio Community 2015 (14.0.24720.00 Update 1) and the .Net framework 4.5 / 4.5.1/ ... / 4.6.1.
     
  6. _HAL_9000

    _HAL_9000

    Joined:
    Jun 26, 2015
    Posts:
    48
    There was something I missed, if you don't install unity and vs at the same time you will have to install the vs tools for unity. You can found it here. I hope it helps somebody one day !