[Lunar Mobile Console] High-performance Unity iOS/Android logger built with native platform UI

Hey, guys

I’m happy to present Lunar Mobile Console: a native solution for debugging Unity iOS/Android games. The plugin is open source. Please, give it a try and let me know what you think!

PRO version: Unity Asset Store - The Best Assets for Game Making
FREE version: Unity Asset Store - The Best Assets for Game Making

iOS demo app: coming soon
Android demo app: https://play.google.com/store/apps/details?id=com.spacemadness.LunarConsole

Requires Unity 5.2 or later.

If you enjoy using the plugin - please, rate and review on the Asset Store!

Overview:
https://www.youtube.com/watch?v=xsr3aUHWGpo

Platform Support

  • iOS: requires iOS 8 or later
  • Android: requires API Level 14 or later

Key Benefits

  • Native C/Objective-C/Java code with a low memory footprint.
  • Works well with huge logs amount (up to 65536 entries).
  • Completely built with native iOS/Android UI (does NOT rely on Unity GUI).
  • Resolution independent (looks great on highres/retina displays).
  • Does NOT modify scenes and does NOT add new assets.
  • Removes completely from the release build with a single mouse click or from command line (absolutely NO traces left).

Features

  • Instant error notification (never miss an unhandled exception again):
  • Quick logger output access with a multi touch gesture:
  • Crystal clear font and a nice mobile-friendly interface:
  • User-Defined Actions & Variables (currently in preview):
  • Transparent log overlay view:
  • Filter by text and log type:
  • Collapse similar elements:
  • Tap log entry to view the stack trace:
  • Copy-to-clipboard and e-mail options.
  • Automatic updates!

Troubleshooting
Please, visit the Troubleshooting Wiki page or post your question on the official forum thread.

Contacts
For anything else: lunar.plugin@gmail.com

3 Likes

Ahoy!

Lunar Mobile Console v0.0.2b is released on GitHub (Asset Store version is still ‘pending’…)!

Improvements:

  • Preserve console UI state between sessions.

Fixes:

  • Fixed filtering after console UI is closed.

p.s. I’ve also created a short poll and would really appreciate your vote

Yay! The package is live on the Asset Store!

https://www.assetstore.unity3d.com/en/#!/content/43800

Please grab it and let me know what you think!

p.s. I’ve already have a new version 0.0.2b with some fixes. Would push it soon and hope it goes live faster (the initial submission took about 10 days).

Greetings!

I can see about 40 downloads for the past 2 days and absolutely no feedback (nor positive or negative). Has anyone used it? What do you think?

Thanks and have a Happy Friday!

Thanks for this, weeeBox. It’s looking good so far. A couple of things you might consider:

  • Add the enablement steps (the 2-finger swipe) to the readme.txt. I read through it wondering how to enable the plugin, and had to check out this forum post for an answer.
  • Add a clear process by which we can disable the console in release builds, through our build system. Right now, it seems as though we need to do this manually through the editor (unless I’m missing something), which isn’t ideal for our automated processes.

Keep up the good work!

Thanks for the feedback: I’ll make the necessary changes. For now try to use this command line workaround:

/Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -executeMethod LunarConsole. LunarEditorMenu.Disable -projectPath “<your_project_path>”

Let me know if it works for you.

@adamt_1 , here’s a simpler approach. Run this nonsense from the terminal in your project’s root (where Assets folder is):

sed -i ‘’ ‘s/#define LUNAR_CONSOLE_ENABLED/#define LUNAR_CONSOLE_DISABLED/g’ Assets/LunarConsole/Scripts/LunarConsole.cs

You can put it into a shell script file and add to your build system. Sorry for the hackiesh way - I’d add a better solution soon.

Let me know if it works!

EDIT:
If you like the plugin, please, go and rate it: I would really appreciate that!

Version 0.0.2b is not live on the Asset Store!

Hey there!

I’m happy to announce the release of version 0.0.3b!

What’s New:

  • Android platform support.
  • Enable/Disable plugin from your build system.

Improvements:

  • Android: stop scrolling on touch-and-drag.
  • Destroy LunarConsole game object when running on unsupported platforms (everything except iOS and Android).
  • Added ‘ShowConsole’ and ‘HideConsole’ methods.

Fixes:

  • Fixed change log messages for auto updater.

While Asset Store version is still waiting for approval - feel free to grab release from GitHub!

Lunar Mobile Console v0.0.3b is now live on the Asset Store!

@adamt_1 , I’ve addressed all the issues you’ve requested:

  • More clear readme instructions
  • Build system integration support
  • Android platform support (as a little bonus)

Looks great! I haven’t tried it on Android yet, but that’s gonna be awesome to have when we open up our game to a few more people in the coming month.

One other thing I just noticed that might be worthwhile would be the ability to click the header bar to scroll to the top of the logs. A lot of Apple (and third-party) apps do this as a quick way to jump, as opposed to continuously scrolling through a bunch of content. If you’re not familiar with this functionality, open the iOS Mail app, scroll down a bit, and click on the status bar. The view should scroll to the top of its contained content automatically. I’m not sure how tough this is to do when most games explicitly disable the status bar, but if it’s possible – and if it doesn’t get in the way of clicking the icons in the header bar – it might not be a terrible thing to implement.

1 Like

That’s a great idea! I haven’t thought about it myself (and it’s not hard to implement at all).

Thanks, @adamt_1 !

p.s. did the build system support and auto update notification work for you?

Hey there!

I’m happy to announce the release of version 0.0.4b!

What’s New:

  • Added scroll-to-top gesture (tap status bar to see first log entry).

Fixes:

  • iOS: fixed “scroll lock” button state.

@adamt_1 , I’ve added the feature you’ve requested. The update is still pending but you can pull the latest package from GitHub.

Lunar Mobile Console v0.0.4b is now live on the Asset Store!

My fellow developers!

I can see a couple of hundred plugin downloads but only 5 people rated it on the asset store. I would really like to hear from you and make it better. So, please, rate and let me know what you think!

Thanks,

-Alex

Hey there!

I’m happy to announce the release of version 0.0.5b!

Fixes:

  • iOS: fixed poor scrolling performance.
  • iOS: dismiss keyboard when pressing ‘Search’ button for log filtering.
  • iOS: fixed missing ‘ShowConsole’ and ‘HideConsole’ API calls.

Improvements:

  • Better overflow management.

The update is still pending but you can pull the latest package from GitHub.

It seems like Lunar Mobile Console collides with Google Play Game Services plugin on Android. I’ll fix it in the next release. For now you can use this workaround:

  • Goto Assets/LunarConsole/Editor/Android/libs folder

  • Delete these libs:

  • support-v4-23.0.1.jar

  • internal_impl-23.0.1.jar

  • Disable and re-enable LunarConsole:

  • Window->Lunar Mobile Console->Disable

  • Window->Lunar Mobile Console->Enable

Sorry if you ran in this issue

Hi, I have a problem with your plugin. After I imported it in my project I get 30+ errors from your scripts saying that function parameters cannot have default values, so every function like this:

public void SomeFunction (bool someBool = false) {}

cannot have “= false”.

Other than that, so far I love this plugin. Very helpful.

Hi, @Ziuber .

That’s a bit strange. Can you please send me output compiler produce (with error codes)?

p.s. glad you liked the plugin. If you found it helpful - please, rate it on the asset store page: https://www.assetstore.unity3d.com/en/#!/content/43800