i have come with an issue that i cant find an answer. When i write Debug.Log i have to always write before it UnityEngine. Else it gives the following: error CS0104: ‘Debug’ is an ambiguous reference between ‘UnityEngine.Debug’ and 'System.Diagnostics.Debug
I am using Unity 2019.3.11f1.
Do i always have to write Unity… before Debug or there is a way to solve this issue?
First of all thank you for your immediate response.
Your question made me realise that by default Unity starts with these attributes (is this correct? I am tottaly new with C# or any other computer language to be true).
So i deleted System.Net and
System Diagnostics
Saved and everything works fine. Problem solved!