Comments (3)
On second thought, I've decided to prioritize this issue 🤷♂️
from unityingamedebugconsole.
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.
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)
- when i matter UnityIngameDebugConsole to the BoatAttack project, I get this error. HOT 2
- Nintendo Switch and BoatAttack - The interface freezes and I can't interact HOT 2
- Build error due to DebugLogManager
- [Feature request] Collect logs when disabled HOT 1
- [Feature request] Supports safe area. HOT 4
- [Suggestion] add version info to Readme HOT 1
- Android Log is not work HOT 1
- Cannot build on Android HOT 1
- Are there any files stored all logs? HOT 2
- 19 Warnings when entering playmode on unity 2022 HOT 7
- Make copy to clipboard a separate package HOT 2
- UIToolkit HOT 2
- When saving a Unity project, it randomly tries to save the IngameDeugConsole.prefab HOT 1
- Can log entries always be expanded? HOT 1
- Disable unity input manager HOT 1
- Unconstrained memory usage due to log entries HOT 3
- README.md does not match README.txt HOT 2
- [Feature request]Automatic Locate HOT 2
- After running, output a NullReferenceException every second.Until focus game panel. HOT 12
- Support Method Overloading with `DebugLogConsole.AddCommand` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unityingamedebugconsole.