Comments (17)
Fixed in new version v3.4.4
from unity_sdk.
I have some issue...
I use sdk version 4.12.1 & unity version 5.6.2
I don't know to fix it.
from unity_sdk.
Can you explain us a bit more about the issue? Is it the same as the one explained in this issue? If yes, can you send us the stack trace? Can you reproduce the issue and if yes, what are the steps?
from unity_sdk.
Guys, we are having the same problem. We updated from 4.11 to 4.12 and now we get the following stack trace. We use unity 5.6.4p2
Here is the stack trace:
Exception: JNI: Init'd AndroidJavaClass with null ptr!
UnityEngine.AndroidJavaClass..ctor (IntPtr jclass) (at /Users/builduser/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:562)
UnityEngine.AndroidJavaObject.get_JavaLangClass () (at /Users/builduser/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:540)
UnityEngine.AndroidJavaObject.FindClass (System.String name) (at /Users/builduser/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:531)
UnityEngine.AndroidJavaClass._AndroidJavaClass (System.String className) (at /Users/builduser/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:551)
UnityEngine.AndroidJavaClass..ctor (System.String className) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/AndroidJavaBindings.gen.cs:92)
com.adjust.sdk.AdjustAndroid..cctor () (at Assets/Adjust/Android/AdjustAndroid.cs:16)
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for com.adjust.sdk.AdjustAndroid
com.adjust.sdk.Adjust.OnApplicationPause (Boolean pauseStatus) (at Assets/Adjust/Adjust.cs:59)
from unity_sdk.
Can you tell us how do you reproduce this issue? Which Unity version are you using, which Adjust SDK version?
from unity_sdk.
Sure, we are using unity 5.6.4p2 with adjust sdk 4.12 (we updated from 4.11).
Basically we have the adjust object on scene and when we hit play when tries to initialize it the error occurrs. It does not make the game crash, but its weird since in 4.11 was working just fine and no exceptions were shown.
from unity_sdk.
Are you running it in Editor maybe?
from unity_sdk.
This happens when we click play on the editor, yes, but this wasnt happening in 4.11
from unity_sdk.
Ah, interesting, okay. I mean, those methods are not even supposed to be executed in Editor environment for our SDK. I will prepare one demo SDK version soon and post it in here so that you give it a try and let us know if you're still facing the same issue and if not, we'll make official SDK update, if you're willing to give it a try?
from unity_sdk.
Sure! Thanks!
from unity_sdk.
Also, dont know why is this happening, but after upgrading adjust, ios low end devices crash when before they wouldnt. Just tried to revert adjust to 4.11 and the game works fine. As soon as i update to 4.12 the same device with the same build with updated adjust crashes on open. The device we are trying it on is an ipad 3. Don't know if could be the same thing or not. Just know that updating to 4.12 is proving to be harder than it should. Thanks for the help though :)
from unity_sdk.
Hm. Would it be possible for you to give our upcoming release RC version a try (you can find it in here: #119 (comment)) and let us know if it solved your issue you saw with iPad 3?
from unity_sdk.
Sure! We will give it a shot and report back with the results, thanks!
from unity_sdk.
@uerceg Success!!! Whatever you guys did fixed all the issues, the editor errors and the crashes on ios. When can we hope to see a new official release with this fixes?
from unity_sdk.
🎉 Official 4.12.2 is being prepared and should be live soon. I hope tomorrow at latest point. Will update in here once live.
from unity_sdk.
Sorry late to reply,I use Unity Editor Mode with Andriod platfrom and Clikc play,
The error is showing,
I think this code have problem
AdjustAndroid.cs line:16
"private static AndroidJavaClass ajcAdjust = new AndroidJavaClass("com.adjust.sdk.Adjust");"
but I correct run in android device.
from unity_sdk.
Thanks for the report. Unity SDK v4.12.2 should be live today and hopefully solve this issue.
from unity_sdk.
Related Issues (20)
- [Question] (Deeplink)Android URL Scheme Definition Not Very Well HOT 4
- [Question] INSTALL_PACKAGES permission required always? HOT 2
- HTTP Client Error with status code: 500
- Build error on iOS after upgrading to 4.33.1 HOT 5
- Android Build failed after intalling Firebase Cloud Messaging Unity Sdk. HOT 1
- I can't access to "Ad-ID" in the first session HOT 2
- ANR caused by SDK HOT 1
- Attribution Data Issue on iOS
- AddURISchemes should not check for ://
- Adding the Adjust Package with scoped registries
- Ambiguous overloads found for onGoogleAdIdRead HOT 3
- Request for Unity SDK update to include iOS SDK v4.38.0 HOT 2
- deactivateSKAdNetworkHandling set it is true HOT 1
- Xcode Build Fail l(d: Undefined symbols: , error: linker command failed with exit code 1 (use -v to see invocation)) HOT 5
- ATT Popup Not Displayed HOT 12
- java.lang.ClassNotFoundException: com.adjust.sdk.Adjust HOT 1
- iOS Custom Link attribution not working properly when ATT tracking is authorized.
- [QUESTION] Usage Of Dynamic Link
- Crash on Android after updating the SDK HOT 1
- V5 Unity Package Manager support HOT 1
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 unity_sdk.