Search Feedback

1
votes

Clear Console from code

Scripting

-

-

Add a possibility to clear the console from code! This would make debugging easier especially when it comes to automated build scripts.

The current workarounds (discussed here https://answers.unity.com/questions/707636/clear-console-window.html) utilize reflection and are unrealiable and break when Unity's internal implementation changes.

Comments (1)

  1. 73dcd1617d4d2c960dd97796a113d1a1?d=mm

    Ted-Bigham

    Feb 07, 2018 22:33

    I'm strongly against this. Any time I have used a library that clears the console (using reflection) it just hides important information when there are problems. I always end up going in and commenting out the code. If it was in a DLL, I'd have to discontinue use of the library. I'd hate to see Unity encourage this behaviour by making it part of an official API.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(9816)

2D

(259)

Ads

(49)

AI & Navigation

(77)

Analytics

(114)

Animation

(359)

Asset Store

(264)

Assets

(508)

Audio

(166)

Cloud Build

(119)

Collaborate

(44)

Docs & Tutorials

(216)

Editor

(2269)

Everyplay

(13)

Game Performance Reporting

(16)

General

(880)

Graphics

(814)

GUI

(394)

Input

(155)

Licensing

(82)

Networking

(174)

Physics

(361)

Platforms

(425)

Profiling & Optimization

(76)

Runtime

(168)

Scripting

(1087)

Terrain

(162)

WebGL

(138)