Can't start a Handler on the main thread

I'm working on a .jar api to read Google Fit data from Unity3D. The problem that I'm facing right now is that when I want to execute this block of code: private void buildFitnessClient() { mClient = new GoogleApiClient.Builder(myContext).addApi(...
more »

2017-02-10 16:02 (0) Answers

how to save a .unity file as a .unity3D

As part of my university project, I am to upload a game that I have made at university, and it is advised that we first upload to Kongregate (as the comments there will provide feedback) It appears that I can only upload a .unity3D file, whereas the ...
more »

2017-02-08 20:02 (0) Answers

Unity Serializing Nested Dictionary to JSON

The REST service I am using, RSA Archer, is expecting an integer key which means I simply can't nest [Serializable] objects and then JsonUtility.ToJson() to create the serialized JSON string. I thought I found a solution to create a Dictionary object...
more »

2017-02-08 03:02 (1) Answers

Git checkout freezes and does not change branch

I am working on a git branch in a Unity project. Issue with Unity is that you get loads and loads of files which can be binary and very large. Well, it's game development. I'd like to merge my branch to the master, which I haven't done for a couple ...
more »

2017-02-05 08:02 (1) Answers

Detect Apple Subscription Expiration

I want to detect that customer's subscription now over / complete so I can remove facilities I was providing to them. On each launch of application, I have following kind of details from Apple Subscription: public void CheckIfSubscriptionIsActive()...
more »

2017-02-03 09:02 (1) Answers

C# Data transfer using Socket class slow

I am trying to send the video through wifi using TCP. Client is sending the data and the server is receiving it. I am using gstreamer to send the jpeg encoded stream of webcam using this pipeline ksvideosrc device-index=0 ! jpegenc ! tcpclientsink ho...
more »

2017-01-25 14:01 (0) Answers

Unable to sign iOS app built with unity

More than a week ago i finished coding my application on unity and i tested it only on android and everything works good. I read every tutorial on unity website and i watched every video on youtube but I still have many issues on testing my app on iO...
more »

2017-01-15 17:01 (0) Answers

Unity iOS Build size is way big

Currently I'm on the verge of making a 2D puzzle game for iOS. When I zip my project it's size become 16MB approximately. When I build it in xcode the project size become 780MB and when I archive it then it becomes 1.5GB. But the real problem begin...
more »

2017-01-15 07:01 (1) Answers

Unity (C#) -> Kotlin <- Coroutines

I'm experimenting with Kotlin for the first time and would love some help. What the code below does is pause execution of the current function without sleeping the executing thread. The pause is based on the amount of time provided. The function wor...
more »

2017-01-07 11:01 (1) Answers

Incrementing euler angels. Bad documentation?

I'm a bit confused about some documentation for Unity pertaining to Euler angles. I just want to know if I'm not understanding a difference, or the sample does not follow the best practice. The documentation here:
more »

2017-01-06 06:01 (2) Answers

Saving data in Unity

The game is an open world game where you can walk and drive around with different vehicles and place structures on the ground. Because the world is huge I want player and different vehicles/structures to stay where they were left. For this reason I n...
more »

2017-01-03 23:01 (1) Answers

Writing a Unity Git Ignore File

I am new to Subversion with Unity and want to start a little Rpg with two other developers. I know you can create a Gitignore-File on but i really don't know if just passing in "Unity" is correct. We use Tortoise Git and j...
more »

2016-12-21 10:12 (2) Answers

Why Unity3d failed importing jar plugin?

I have a small Unity3d project to integrate JAR with it. My (simplified) java class in Android Studio library project is like below code: package com.playsqreen.library.api; ... imports ... public class PlaysreenAPI { private static Playscree...
more »

2016-12-09 05:12 (2) Answers

JSON FX results not working for Xcode

I have an application that has extensively used server calls and i used jsonfx to parse the results and when i build the project from unity and run it on my mac it says (Filename: currently not available on il2cpp Line: -1) and application does no...
more »

2016-12-06 07:12 (1) Answers

unity and ios - get user's phone number

I am building a game for ios on unity3d, and I want to know how downloaded the game so I want to get permissions to the user's iphone, and get the phone number of the user and send it back to me. I want the user's phone number or the user's IMEI num...
more »

2016-11-30 13:11 (3) Answers

Do not know how to use coroutines in Unity3D

In Unity3D, this is my code: void ActivateBuff1(){ gun.equippedGun.msPerShot /= 2; gun.equippedGun.shotsLeftInMag += 10; StartCoroutine (WaitRage ()); } void ActivateBuff2(){ player.speedModifier *= 1.5f; StartCoroutine (WaitSpe...
more »

2016-11-24 19:11 (2) Answers

Delete node/group of elements in XML file

It's Solve -The code below works, however for Question that had already been saved in the XML file does not work, only for those that are saved during the execution of the application.- The problem is that the Title string is not being sent. Title...
more »

2016-11-20 16:11 (2) Answers