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

Debug.log and Debug.drawline missing

Discussion in 'Editor & General Support' started by Mizkei, Jan 18, 2018.

  1. Mizkei

    Mizkei

    Joined:
    Jan 18, 2018
    Posts:
    4
    Hello! It's been a while since I last used Unity but I have noticed that my Unity doesn't have Debug.log or Debug.drawline either. I had the same version of unity on my laptop which did have these. Anyway I tried to update my Unity but they are still missing. What can I do to get them? Or is there alternative for these ?
     
  2. Hodgia

    Hodgia

    Joined:
    Mar 4, 2015
    Posts:
    8
    They are under UnityEngine namespace. Are you using it in your script? Maybe try UnityEngine.Debug.Log
     
  3. Mizkei

    Mizkei

    Joined:
    Jan 18, 2018
    Posts:
    4
    Yes Im using UnityEngine. Sadly trying to use UnityEngine.Debug.Log didn't help.

    E: Nvm I did repair install on visual c++ redistributable and now UnityEngine.Debug.Log works

    Thanks!
     
    Last edited: Jan 19, 2018