A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Calling all New Unity users! Join the Halloween Mods Showcase Challenge until October 31.
Discussion in 'FPS.Sample Game' started by amrazyan, Jan 2, 2019.
How can I debug normally, like always used to do
What is the problem? Can't you set breakpoints?
Ah, well the console you are seeing is printed to the UI element when the game is running. You could write a script that spits out that console text to debug https://docs.unity3d.com/ScriptReference/Debug.Log.html
That said, you could also go the longer route, and hunt down all the console scripts and add the output to not just go to the in-game console but also be output as editor console.
But when you run this game, the editor console wont exist. Only the in-game console will exist, so you are asking for an editor feature.
Scrape the in-game console to editor-debug, or add lines to all the console scripts to export to the editor debug as well.
You could trunk it all to a file as well, so when the editor/game is closed you still have the details.
Most of this project used GameDebug.Log to output logs. Logs should be forwarded to Debug.Log if GameDebug.forwardToDebug is true (when in the editor). Maybe you should trace the variable "forwardToDebug" is set correctly.
no there is nowhere used GameDebug , I'm using simple Debug.Log
is debug log enabled in console?