all coders, and I say Hello world! Faced with such a problem in the plugin from Google, I need to unload the list of users by the LoadUsers method, and in the callback I get a null response. Does anyone know how to solve this and what the problem might be? I just want to ..
Category : unity3d
I am new to Unity and VR. I am trying to create a very basic VR application using Unity and my Android phone via Google Cardboard. I followed the steps given here, https://developers.google.com/cardboard/develop/unity/quickstart, https://docs.unity3d.com/Manual/android-sdksetup.html and installed android studio sdk on my laptop. Here is my scene, hierarchy, and build settings. No error while building. The ..
I am a new freelancer i got a job to make a game everything is done. But a process that i am not familiar with, Anyone know about then please help me. What is this link about and when i follow it step by step then i cant find many folder names in android studio ..
My Game made with unity crashes every time if there is not internet acces on the android phone.And reason for crashings are Google AdMob ads. This is started to happening after i changed compilation mode from IL2CPP to mono,then reversed it.Now is again on IL2CPP but still got this ERROR. Version before that has not ..
I wrapped ExoPlayer within an Android plugin and used it inside a unity project. Until now everything is working fine, this is my code Unity Script public class WrapperExo : MonoBehaviour{ private AndroidJavaObject javaClass; // Start is called before the first frame update void Start() { AndroidJavaClass playerClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); AndroidJavaObject activity = playerClass.GetStatic<AndroidJavaObject>("currentActivity"); ..
When I attempt to sign in to game services in my mobile game I get a white modal box with a refresh symbol on it and nothing else happens (Gets stuck there). If I press outside that modal it prompts me to select which account to login to, after-which it shows the same white box. ..
I have a problem that I cannot input using the Stylus pen in Unity Android. When the Stylus pen touches the screen, the first OnPressDown event is called, but then OnPressUp is not called, and all pen inputs are not operated afterwards. OnClick of Unity’s UGUI Button is not being called either. Pens that work ..
void Start() { // Появление Ассистента Assistant = Instantiate(Assistant, ARCamera.transform.position + new Vector3(0f, 1f, 0f), ARCamera.transform.rotation); } void Update() { // Проверка на дистанцию if (CheckDist() >= 0.1f) { MoveObjToPos(); } // Поворот Ассистента в сторону пользователя Assistant.transform.LookAt(ARCamera.transform); } public float CheckDist() { float dist = Vector3.Distance(Assistant.transform.position, AssistantPosition.transform.position); return dist; } private void MoveObjToPos() { ..
I need to show the status and navegation bar without losing space on the game screen, and add a Gray color only in status bar. I have tried this code to show the status Bar: private static void setStatusBarValueInThread() { using (var unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer")) { using (var activity = unityPlayer.GetStatic<AndroidJavaObject>("currentActivity")) { using (var ..
Anyone knows what’s the current best solution to build your game once on Unity and automatically getting it to install on to multiple Android devices? Source: Android..
Recent Comments