Unity 2021.3.24f1 : Script Error
clandais opened this issue ยท 5 comments
clandais commented
Upon upgrading to Unity 2021.3.24f1, the Unity Console complains with:
Library\PackageCache\com.needle.console@2.3.15\Editor\CustomConsole\ConsoleList.cs(545,45): error CS7036: There is no argument given that corresponds to the required formal parameter 'shouldStripCallstack' of 'ConsoleWindow.StacktraceWithHyperlinks(string, int, bool, ConsoleWindow.Mode)'
Looks like it goes into the #else
of #if UNITY_2022_2_OR_NEWER
#if UNITY_CONSOLE_STACKTRACE_TWO_PARAMETERS
#if UNITY_2022_2_OR_NEWER
// mode doesn't matter when shouldStripCallstack is false
var stackWithHyperlinks = ConsoleWindow.StacktraceWithHyperlinks(message, 0, false, ConsoleWindow.Mode.Log);
#else
var stackWithHyperlinks = ConsoleWindow.StacktraceWithHyperlinks(message, 0);
#endif
#else
var stackWithHyperlinks = ConsoleWindow.StacktraceWithHyperlinks(message);
#endif
marwie commented
Hi, which console package version are you currently using?
clandais commented
Hi, which console package version are you currently using?
The one in Open UPM ( 2.3.15 )
marwie commented
Ok, thanks for bringing it up. If you can a PR would be greatly appreciated ๐
clandais commented
I'll ask Chat GPT how to do that :')