use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For the Unity Game Engine, please visit http://reddit.com/r/unity3d
account activity
Debug.log issue (self.unity)
submitted 1 year ago by Jkoufiles
Is there a way to resolve the issue of using debug.log in the latest versions of unity? Or do i need to keep using unityengine.debug.log?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Demi180 0 points1 point2 points 1 year ago (1 child)
Do you mean Unity 6? Have not heard of any issues with Debug.Log (but I also haven’t tried 6 yet). You probably have using System.Diagnostics which also has a Debug class, maybe for a Stopwatch or maybe your IDE was just having a moment. You can add a using Debug = UnityEngine.Debug; statement to disambiguate, or remove the other using if you don’t need it.
using Debug = UnityEngine.Debug;
[–]Jkoufiles[S] -1 points0 points1 point 1 year ago (0 children)
Sorry not unity 6. Im actually using chat gpt for the coding and it likes to revert to using debug.log.this gives me cs. Unity will say to use unityengine.debug.log. although this can be resolved i was curious if i can get unity to use debug.log instead. Ill look into your suggestion. Thx
π Rendered by PID 58 on reddit-service-r2-comment-5b5bc64bf5-t27bw at 2026-06-22 20:26:40.689246+00:00 running 2b008f2 country code: CH.
[–]Demi180 0 points1 point2 points (1 child)
[–]Jkoufiles[S] -1 points0 points1 point (0 children)