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

Init error in Unity 2019.3 #166

Closed bakkermark closed 4 years ago

bakkermark commented 4 years ago

I get the following init error when i start play mode in Unity 2019.3

[Lunar Mobile Console] Can't init platform lunar_console_initialize at (wrapper managed-to-native) LunarConsolePlugin.LunarConsole+PlatformIOS.lunar_console_initialize(string,string,string,string) at LunarConsolePlugin.LunarConsole+PlatformIOS..ctor (System.String targetName, System.String methodName, System.String version, LunarConsolePlugin.LunarConsoleSettings settings) [0x00010] in /Users/markbakker/Dropbox/Development/Unity bestanden/Projecten Nieuw/XR Viewer 2.X NEW/Assets/LunarConsole/Scripts/LunarConsole.cs:669 at LunarConsolePlugin.LunarConsole.CreatePlatform (LunarConsolePlugin.LunarConsoleSettings settings) [0x0001b] in /Users/markbakker/Dropbox/Development/Unity bestanden/Projecten Nieuw/XR Viewer 2.X NEW/Assets/LunarConsole/Scripts/LunarConsole.cs:366 at LunarConsolePlugin.LunarConsole.InitPlatform (LunarConsolePlugin.LunarConsoleSettings settings) [0x00010] in /Users/markbakker/Dropbox/Development/Unity bestanden/Projecten Nieuw/XR Viewer 2.X NEW/Assets/LunarConsole/Scripts/LunarConsole.cs:314 UnityEngine.Debug:LogError(Object) LunarConsolePluginInternal.Log:e(Exception, String) (at Assets/LunarConsole/Scripts/Utils/Log.cs:82) LunarConsolePlugin.LunarConsole:InitPlatform(LunarConsoleSettings) (at Assets/LunarConsole/Scripts/LunarConsole.cs:333) LunarConsolePlugin.LunarConsole:EnablePlatform() (at Assets/LunarConsole/Scripts/LunarConsole.cs:277) LunarConsolePlugin.LunarConsole:OnEnable() (at Assets/LunarConsole/Scripts/LunarConsole.cs:220)

weeeBox commented 4 years ago

Hey @Bakalino, do you use Device Simulator package or just regular play mode?

bakkermark commented 4 years ago

@weeeBox Yes, i am using Device Simulator. When i change it to regular game view i don't have the init error ...

weeeBox commented 4 years ago

What Device Simulator version do you use?

bakkermark commented 4 years ago

Version Preview 2.2.2 And Unity 2019.3.14f1

weeeBox commented 4 years ago

Thanks, I'll take a closer look

weeeBox commented 4 years ago

@Bakalino, I have a hard time reproducing this. Would you be able to create an empty project on your machine, integrate the plugin and see if the issue persists?

bakkermark commented 4 years ago

Hi, i tried to reproduce it on the latest version of Unity 2019.3.15f1 and i can't reproduce it ... maybe it could be related to the unity version.

weeeBox commented 4 years ago

Feel free to re-open the issue if the problem persists