Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

How to hide Unity Services console log spam

$
0
0
How can I remove the annoying console log spam from using Unity Services when they get initialized in the editor?
Unity Advertisements has a static field debugMode, but it's auto-initialized. If I set it to false after initialization, it's too late (the console has already been logged). And if I try to set it to false before it's initialized (in InitializeOnLoad) I get an error because the static instance hasn't been created yet (obviously).
See below for the spam I'm getting:
![alt text][1] [1]: https://i.imgur.com/7xCWA62.png

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>