GithubHelp home page GithubHelp logo

Comments (3)

yasirkula avatar yasirkula commented on July 20, 2024 4

On second thought, I've decided to prioritize this issue 🤷‍♂️

from unityingamedebugconsole.

laicasaane avatar laicasaane commented on July 20, 2024

Unity 2021.2.5

Couldn't search assembly for [ConsoleMethod] attributes: Microsoft.CodeAnalysis
System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not load type of field 'Microsoft.CodeAnalysis.CommandLineArguments:<Encoding>k__BackingField' (38) due to: Could not resolve type with token 01000062 from typeref (expected class 'System.Text.Encoding' in assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Text.Encoding member:(null)
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.RuntimeAssembly.GetExportedTypes () [0x00000] in <00c558282d074245ab3496e2d108079b>:0 
  at IngameDebugConsole.DebugLogConsole..cctor () [0x00651] in D:\Projects\ZG\ZBase\ZBase.Libraries\Library\PackageCache\[email protected]\Plugins\IngameDebugConsole\Scripts\DebugLogConsole.cs:187 
System.TypeLoadException: Could not load type of field 'Microsoft.CodeAnalysis.CommandLineArguments:<Encoding>k__BackingField' (38) due to: Could not resolve type with token 01000062 from typeref (expected class 'System.Text.Encoding' in assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Text.Encoding member:(null)
UnityEngine.Debug:LogError (object)
IngameDebugConsole.DebugLogConsole:.cctor () (at Library/PackageCache/[email protected]/Plugins/IngameDebugConsole/Scripts/DebugLogConsole.cs:204)
IngameDebugConsole.DebugLogManager:OnEnable () (at Library/PackageCache/[email protected]/Plugins/IngameDebugConsole/Scripts/DebugLogManager.cs:515)

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on July 20, 2024

Thank you for bringing this to my attention. I was unaware of this exception's existence. Will resolve this issue in the next update which may take some time because I'm working on a couple of other plugins at the moment.

P.S. In the meantime, you can simply catch this exception at the problematic line(s) which is what I'll do myself.

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.