{"action":"created","issue":{"url":"https://api.github.com/repos/adjust/unity_sdk/issues/31","repository_url":"https://api.github.com/repos/adjust/unity_sdk","labels_url":"https://api.github.com/repos/adjust/unity_sdk/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/adjust/unity_sdk/issues/31/comments","events_url":"https://api.github.com/repos/adjust/unity_sdk/issues/31/events","html_url":"https://github.com/adjust/unity_sdk/issues/31","id":51854655,"number":31,"title":"\"Exception: JNI: Init'd AndroidJavaClass with null ptr!\" error when running in Unity Editor","user":{"login":"mode80","id":656321,"avatar_url":"https://avatars2.githubusercontent.com/u/656321?v=4","gravatar_id":"","url":"https://api.github.com/users/mode80","html_url":"https://github.com/mode80","followers_url":"https://api.github.com/users/mode80/followers","following_url":"https://api.github.com/users/mode80/following{/other_user}","gists_url":"https://api.github.com/users/mode80/gists{/gist_id}","starred_url":"https://api.github.com/users/mode80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mode80/subscriptions","organizations_url":"https://api.github.com/users/mode80/orgs","repos_url":"https://api.github.com/users/mode80/repos","events_url":"https://api.github.com/users/mode80/events{/privacy}","received_events_url":"https://api.github.com/users/mode80/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2014-12-12T21:24:33Z","updated_at":"2018-02-08T14:49:44Z","closed_at":"2015-01-08T14:22:53Z","author_association":"NONE","body":"When running the provided \"ExampleGUI\" scene in the Unity editor*, then clicking the \"manual launch\" button to initialize Adjust, it fails with a unity console error reading: \n\n> Exception: JNI: Init'd AndroidJavaClass with null ptr!\n> UnityEngine.AndroidJavaClass..ctor (IntPtr jclass)\n> UnityEngine.AndroidJavaObject.get_JavaLangClass ()\n> UnityEngine.AndroidJavaObject.FindClass (System.String name)\n> UnityEngine.AndroidJavaClass._AndroidJavaClass (System.String className)\n> UnityEngine.AndroidJavaClass..ctor (System.String className)\n> com.adjust.sdk.AdjustAndroid..ctor () (at Assets/Plugins/Android/AdjustAndroid.cs:15)\n> Adjust.appDidLaunch (System.String appToken, AdjustEnvironment environment, LogLevel logLevel,  Boolean eventBuffering) (at Assets/Adjust.cs:43)\n> ExampleGUI.OnGUI () (at Assets/ExampleGUI/ExampleGUI.cs:14)\n\nI think this is because Adjust can only run on the actual platform devices, and therefore shouldn't try to initialize when run from the editor. \n\n*(osx v4.6)\n"},"comment":{"url":"https://api.github.com/repos/adjust/unity_sdk/issues/comments/364134485","html_url":"https://github.com/adjust/unity_sdk/issues/31#issuecomment-364134485","issue_url":"https://api.github.com/repos/adjust/unity_sdk/issues/31","id":364134485,"user":{"login":"uerceg","id":1741635,"avatar_url":"https://avatars0.githubusercontent.com/u/1741635?v=4","gravatar_id":"","url":"https://api.github.com/users/uerceg","html_url":"https://github.com/uerceg","followers_url":"https://api.github.com/users/uerceg/followers","following_url":"https://api.github.com/users/uerceg/following{/other_user}","gists_url":"https://api.github.com/users/uerceg/gists{/gist_id}","starred_url":"https://api.github.com/users/uerceg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uerceg/subscriptions","organizations_url":"https://api.github.com/users/uerceg/orgs","repos_url":"https://api.github.com/users/uerceg/repos","events_url":"https://api.github.com/users/uerceg/events{/privacy}","received_events_url":"https://api.github.com/users/uerceg/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T14:49:44Z","updated_at":"2018-02-08T14:49:44Z","author_association":"CONTRIBUTOR","body":"🎉 Official 4.12.2 is being prepared and should be live soon. I hope tomorrow at latest point. Will update in here once live."}}
{"actor":{"display_login":"uerceg"}}