SpaceMadness / lunar-unity-console

High-performance Unity iOS/Android logger built with native platform UI
https://www.assetstore.unity3d.com/en/#!/content/43800
Other
839 stars 114 forks source link

Variables not found (but quick fix) #125

Closed kinoc closed 5 years ago

kinoc commented 5 years ago

Sorry about that empty entry. After the upgrade to 1.5.6 my projects variables stopped displaying. Changing the following code in LunarConsole.cs@345 caused them to reappear. There may be a better way, but it fixes it for me for now .

private static IList ListAssemblies() { // for now only list the current assembly Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); if (assemblies != null) return assemblies; return new Assembly[] { Assembly.GetExecutingAssembly() }; }

weeeBox commented 5 years ago

Hey @kinoc,

Sorry about the issue. Which Unity version do you use?

kinoc commented 5 years ago

No problem, I remember seeing something like it before. Other members pushed the upgrade and I just had to re-search the issue. I am using 2018.3.0f2 on Win 10 building for Android testing on a Samsung S8 . It shows up in play mode in my editor.

weeeBox commented 5 years ago

Thanks for the info. I'll take a closer look!

weeeBox commented 5 years ago

Fixed in 1.5.7