Quantcast
Channel: Android
Viewing all 21933 articles
Browse latest View live

Degree symbol (°) to be displayed in GUILayout.Label or TextMesh on Android

$
0
0
Hi,

I'm at a loss on this one. I've spent a few hours yesterday and today, googling the subject. I've read through Unity Answers as well as this forum, plus other possible sources. I've used many various search terms to find as many sources as I could. I've tried the most often mentioned solutions. None of the solutions have helped me.

This is what I have tried: I've imported various Unicode fonts (such as Lucida Sans Unicode and Tahoma) and set the character sets on these to Unicode....

Degree symbol (°) to be displayed in GUILayout.Label or TextMesh on Android

Build Errors after updating to Unity 2020.1.2f1

$
0
0
Hi i am getting these errors for building my game to Android. Do you have any solution for these errors?


Thanks

Unable to Instantiate Activity Crash

$
0
0
I am using Unity 2019.2.14f1 and when I build the APK and try to start the App it crashes.

I built the app after switching platforms from iOS to Android.

This is the error I am getting:

08-26 14:20:46.623 8938 8938 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.DFC.ArcadiaEarth/com.unity3d.player.UnityPlayerNativeActivity}: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerNativeActivity" on path:...

Unable to Instantiate Activity Crash

Black Bars at the Top and Bottom of Android Apps [Resolved]

Black areas on top and bottom of the screen

$
0
0
I got an issue on widescreen devices on Android when black areas appeared on top and bottom of the screen. The image is scaled down vertically a bit.
View attachment 688177
In other thread was said to add
Code (CSharp):
  1. <meta-data android:name="android.max_aspect" android:value="2.1"/>
to AndroidManifest, but that didn't affect anything. We see it only on Samsung Galaxy S9 devices, but probably the rest widescreen devices will have the same result.

Any advice?

Adaptive Performance Package

Screen.safeArea rect not valid in Awake

$
0
0
I am using Screen.safeArea in Awake() to determine the available resolution on the device, but recently it stopped working. Instead of returning a valid rect, the rect's width and height are NaN.

Some information:
  • The application has been in use in my company for years.
  • I added Screen.safeArea last November.
  • The application worked fine this February
  • I have a build from late last November, after I added Screen.safeArea, that still works, but the next one, from early...

Screen.safeArea rect not valid in Awake

The file base.apk/assets/bin/Data/sharedassets1.assets' is corrupted

$
0
0
Hi I have a problem with Android Build IL2CPP As the thread name represent.

Compiler Error. I need help with this?

$
0
0
CommandInvokationFailure: Gradle build failed.
C:/Program Files/Java/jdk1.8.0_211\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.2.17f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

stderr[

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file 'C:\Temp\gradleOut\build.gradle' line: 51

* What went...

Compiler Error. I need help with this?

Build Errors after updating to Unity 2020.1.2f1

$
0
0
Hi i am getting these errors for building my game to Android after updating to the latest version of Unity. The Google Play Games package came with when i imported the Cloud Once 2.7.0 package from github. Does anyone have any solution for these errors?


Thanks

Android Bug Droid As My Player Character?

il2cpp fail build

$
0
0
il2cpp fail build

1. fail build for android with backend il2cpp
2. switch to android -> play settings -> scripting backend -> il2cpp check all armv7 arm64 and x86 -> build
version unity 2019.2.3f1
Version
2019.2.0f1_20c1667945cf
and
Version
2019.2.3f1_8e55c27a4621
Computer
Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz; Intel(R) HD Graphics Family; Windows 8

someone else happens this error

stdout:
Fatal error in Unity CIL Linker
Mono.Linker.Steps.XmlResolutionException: Failed to process XML...

il2cpp fail build

SSL connectivity errors on Android

$
0
0
Hi,

We are seeing these random errors on Android on multiple devices:

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found

javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x67179700: Failure in SSL library, usually a protocol error
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741...

SSL connectivity errors on Android

2020.1.3f1 IL2CPP Build Error (BuildIl2CppTask: Sequence contains no matching)

$
0
0
Hey everyone,

So I took the dive and jumped on 2020.1 and I did indeed run into an error trying to build for Android.
This is the error:

Code (CSharp):
  1. > Task :unityLibrary:BuildIl2CppTask FAILED
  2. Running il2cpp.exe in workstation GC mode.
  3. il2cpp.exe didn't catch exception: System.InvalidOperationException: Sequence contains no matching element
  4.  at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in...
2020.1.3f1 IL2CPP Build Error (BuildIl2CppTask: Sequence contains no matching)

Converting android app into iOS

$
0
0
Hi!,

My android app is already uploaded on Google store.
I am going to convert this app into iOS version.
I need your help for the following questions.

1. Can this conversion be done by simply selecting iOS platform in the
same Unity Editor, which has the uploaded android version?

2. In the case of doing this conversion,
there is no any damages to the uploaded version which still stays in the
Editor?

3. How to keep this android version safely when doing conversion it...

Converting android app into iOS

Android 10 OBB Download/Save Failure

$
0
0
d=Hello,

We are having increased reports about failures on downloading/saving the application from Google Play Store. We couldn't find a proper adb logcat results but here some information about the issue;

-If the game is updated via a new update, it's solved, but if the user deletes the application, problem occurs again.
-We ask for external permissions, they allow it.
-They *PROBABLY* all have Android version 10.
-Google Play Store downloads entire application (obb including) (or seems...

Android 10 OBB Download/Save Failure

Complete Video Tutorial forData Privacy Plug-in

Problem with API Level 29

$
0
0
Hello everybody,

I am Fazeli23 from Berlin and 10 years old.
After several hours of work, I finally have my first little game
programmed with Unity for Android.
The game runs without problems on a test mobile phone (API level 28).
Now my classmates have encouraged me to put it on the Google Play Store
to publish.
And now I have problems with that and I need your help ...

Could you please give me a flow chart of how I can successfully upload the game
(because I already bought Google Play...

Problem with API Level 29

Wont build in android linker issue

$
0
0
Hello,

I am having an issue with build to android 64-bit

Exception: X\Hub\Editor\2019.2.21f1\Editor\Data\il2cpp\build/UnityLinker.exe did not run properly!

all the settings are setup for 64-bit android but always get this error when building

This doesn't work in a build script or normal build settings

any help would be appreciated

Unity Version : 2019.2.21f1

The Android App Bundle was not signed

$
0
0
After uploading a new AAB in the Alpha release track, play console rejects the AAB with "The Android App Bundle was not signed".

I used "Export and upload a key from a Java keystore" when i setup App Signing in the Google Play Console, because I had the keystore/key from before. In Unity I set up the build for Android App Bundle. Also I set up the Android publishing with the keystore / project key and required passwords. The keystore and key are the same as when I setup the Google Play...

The Android App Bundle was not signed
Viewing all 21933 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>