GithubHelp home page GithubHelp logo

Comments (7)

yasirkula avatar yasirkula commented on July 25, 2024 3

Workaround: https://forum.unity.com/threads/in-game-debug-console-open-source.411323/page-3#post-8920076

tl;dr

Disable Canvas Scaler in the IngameDebugConsole object/prefab and add the following script to it:

using UnityEngine;
using UnityEngine.UI;

[DefaultExecutionOrder(1)]
public class IngameDebugConsoleWarningsWorkaround : MonoBehaviour
{
	private void Start()
	{
		GetComponent<CanvasScaler>().enabled = true;
	}
}

from unityingamedebugconsole.

HyagoOliveira avatar HyagoOliveira commented on July 25, 2024 1

The warning messages are from some Editor code.
No matter if we change the IngameDebugConsole prefab (or create a new one), the warnings spam from time to time.

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on July 25, 2024 1

There is a chance yeah. So far, it did happen numerous times for different plugins of mine. I usually apply a workaround on those Unity versions when applicable but I just haven't installed 2022.2 yet so I can't say if the same can be done for this issue at the moment.

from unityingamedebugconsole.

maniczombie avatar maniczombie commented on July 25, 2024 1

Thanks alot for fix, those warnings were driving me crazy.

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on July 25, 2024

I don't have 2022.2 installed at the moment unfortunately. The error originates from built-in Image component for some reason, it may or may not be an internal Unity bug (happens from time to time). If you open the IngameDebugConsole prefab, make a dummy change and re-save it, does it resolve the issue?

from unityingamedebugconsole.

Retr0-01 avatar Retr0-01 commented on July 25, 2024

I have encountered the exact same issue too. Are there any chances this is an internal Unity bug?

  • Unity version: 2022.2.2f1
  • Platform: Windows
  • Device: Editor
  • How did you download the plugin: Asset Store

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on July 25, 2024

I've finally applied a simpler built-in solution to this problem. Hopefully the warnings won't show up anymore 🤞

from unityingamedebugconsole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.