24 Replies
How can I update the script inside unity so that it can display a debug.log?
Have you tried googling for the answer?
yes
And what have you found
What have you tried
the question i just asked minus "so that it cna display a debug.log"
Well
display debug.log every frame? every 5 seconds?
nonono
so like
i put in a debug log in the C# window
but in unity, it doesnt show that in the script
C# window?
lemme show
class name isnt even the same
hold up
i opened the script shown in the image above
what i just showed was the script
the classname is different
missing a using in the first few lines
are u sure theyre the same file?
yes
ur file in unity is called RPSManager something
but in VSCode, its called NewBehaviourScript1.cs
i doubt its the same file
u may have hidden a word but you forgot one
damn
but yeah
should i just make a new script then rename it before opening it or smt?
you cant see this file in VS?
wdym?
the RPSManager file
i can see it
it sjust its a different name like you said
idk try reopening VS and go to the same project file?
its possible u had 2 projects of the same name
ok got it fixed
thx
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.