DarkRewar / BaseTool

A big library of basic tools that you might need in your Unity projects.
MIT License
45 stars 6 forks source link

Warning on loading ConsoleSettings if another SO is in Resources folder #66

Closed DarkRewar closed 6 months ago

DarkRewar commented 7 months ago

Warning thrown if there are others SO that aren't ConsoleSettings in the Resources folder.

The referenced script (Unknown) on this Behaviour is missing!
UnityEngine.Resources:LoadAll<BaseTool.ConsoleSettings> (string)
BaseTool.ConsoleSettings:GetOrCreate () (at Assets/com.lignus.basetool/Runtime/Core/Consoles/ConsoleSettings.cs:31)
BaseTool.Console:.ctor () (at Assets/com.lignus.basetool/Runtime/Core/Consoles/Console.cs:41)
BaseTool.Console:Init () (at Assets/com.lignus.basetool/Runtime/Core/Consoles/Console.cs:307)
DarkRewar commented 6 months ago

It's a bug happening if SO have missing script. Not related to the ConsoleSettings at all.