Questions tagged [android-unity-plugin]

65 questions
0
votes
1 answer

Pass value from Android Studio to unity?

I am doing a Text recognition project by using android studio and google vision like this tutorial https://www.youtube.com/watch?v=mmuz8qIWcL8&t=702s. But I need to pass the recognized text to Unity in order to display the 3D Model and some…
0
votes
1 answer

How to discover Bluetooth devices in a Unity Android Plugin?

I am developing a Unity game for Android, which uses a Android Plugin to be able to send data via Bluetooth during the game. Sending Data and establishing a connection to a paired device works fine. However, I can't get the discovery of new…
0
votes
1 answer

Developing a Simulator with Unity which needs to run on PC and Android VR glasses at the same time

I'm developing a Simulator with Unity, The Sim is running on a PC and connect to the Sim and everything is working great. The issues are that the Sim rotates 360 so i can't look and the pc screen that is in the operator station and also i want the…
Erez
  • 1,933
  • 5
  • 29
  • 56
0
votes
0 answers

Android app bundle, force include ABI in all apks

I am migrating to an app bundle and am having trouble. My app uses the armeabi-v7a ABI. This ABI works on both arm and arm64 phones when built as an apk. When using an app bundle, armeabi-v7a is not included in the generated APK...even though the…
AzraelPwnz
  • 506
  • 2
  • 12
0
votes
1 answer

Establishing a TCP connection between Android and Desktop

I'm trying to establish a socket connection between my Mobile device and Desktop. Mobile Device(Android) will act as a server while the desktop is client machine. Following is my code for server, public class PhoneCamera : MonoBehaviour { …
user6038900
0
votes
1 answer

Google Play Service Leadrboard Error using Unity 2018 (java.lang.ClassNotFoundException: com.google.games.bridge.TokenFragment)

I want to implement a Leaderboard in my Android Mobile App using Unity. I am using: Unity 2018.2.18f1 (Mac) Java Development Kit (jdk.1.8.0_191) Google Play Games Plugin 0.9.57 [current version 1.1.2019] Google Play Services are being activated…
0
votes
1 answer

Why am I getting class not found exception with AndroidJavaClass?

StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder() .detectAll() .penaltyLog() .build(); StrictMode.setThreadPolicy(policy); I tried the following code, but generates exception for class not found for…
virtplay
  • 550
  • 7
  • 18
0
votes
1 answer

Passing image information from Unity to Android to use MLKit

I'm having trouble using MLKit with Unity. What I'm trying to do is get image information from webcamtexture, pass the pointer to a Texture2D, then get raw bytes from it and pass them to a plugin where face recognition classes are. But no faces are …
0
votes
1 answer

My app crashes while changing screen orientation of unity player

I've my android app which opens unity player on click. My unity player performs as expected. Issue: On changing screen rotation, app crashes. Debug Console Output: I/Unity: StopVuforia (Filename: ./Runtime/Export/Debug.bindings.h Line:…
0
votes
0 answers

Unity Plugin does not work with interface with listener implement

My office has a network library for Android written in Java which enables fast and easy multiplayer networking, Now, I've been assigned to make the library work on Unity3D, I did my homework on Unity Plugins, AndroidJavaClass, AndroidJavaProxy,…
0
votes
1 answer

Choosing between unity and native java for a game that involves complex Android functions

I want to develop a game for Android that involves using the camera, reading files on the device, reading contacts, etc. Can I perform these operations if I use unity for development or will I have to go with native java? Or can I start off with…
0
votes
0 answers

Unity3d - APK is compatible only on 200 devices

I have a simple game that I developed on Unity3D platform. The game uses only one plugin in order to get access to the phone temperature, gyro, accelerometer and more. The app is running on various devices, I installed the app manually on them.…
Tal Angel
  • 1,301
  • 3
  • 29
  • 63
0
votes
0 answers

Unable to use a native android plugin for Unity

I wish to use this native plugin for Android devices via Unity. For some reason the plugin is just now working. When I run it on a real device the game crashes. I am using Unity 5.5.2f1 personal, my phone is Samsung Edge 6 with Marshmallow api. I…
Tal Angel
  • 1,301
  • 3
  • 29
  • 63
0
votes
1 answer

How can I solve this error related to Supersonic SDK?

I have been trying to upload the SuperSonic SDK in my game. But I am getting these errors. I am not able to figure out what the error is, since I am new to Unity and Android. Kindly help me out CommandInvokationFailure: Unable to convert classes…
Rohith Srinivas
  • 155
  • 1
  • 4
  • 12
0
votes
0 answers

Game has stopped when using Android plugin for Unity3D

sorry for my bad English I made an Android plugin for Unity3D v4.5 by command prompt, JDK, SDK and Apache Ant. The command "ant jar" built it with no errors, but when I try to open my game in my mobile device, he tells me: "Unfortunately, TheGame…
Bamdad
  • 726
  • 1
  • 11
  • 28