Hey,
The sample that we made were, written in C#, therefore you might be getting issues. But our SDK is fully compatible with JavaScript for Unity too. All you need to do is write your code dealing with appwarp also in Javascript. You can also use our sample as reference and re-write the code in Javascript.
Here I am posting a code snippet to show how you can write code in JavaScript
#pragma strict
import com.shephertz.app42.gaming.multiplayer.client;
import com.shephertz.app42.gaming.multiplayer.client.listener;
import com.shephertz.app42.gaming.multiplayer.client.events;
public var APP_KEY = "YOUR APP KEY";
public var SECRET_KEY = "YOUR SECRET KEY";
private var USER = "YOUR USERNAME";
public class Listener implements ConnectionRequestListener
{
public function onConnectDone(eventObj:ConnectEvent){
Debug.Log("onConnectDone : " + eventObj.getResult ());
}
public function onDisconnectDone(eventObj:ConnectEvent){}
public function onInitUDPDone(resultCode:byte){}
}
function Start () {
WarpClient.initialize (APP_KEY, SECRET_KEY);
WarpClient.GetInstance().AddConnectionRequestListener(new Listener());
USER = System.DateTime.UtcNow.Ticks.ToString();
WarpClient.GetInstance ().Connect (USER);
}
function Update () {
WarpClient.GetInstance().Update();
}
I hope this will solve your problem. If the problem continues, please also share your code snippets and provide more details on how are you integrating AppWarp SDK in your project.