OnCreateRoomDone() callback gets null reference for RoomData

0 votes

I am working on unity Engine: 2019.3.0f3

Appwarp DLL version: 1.1.5774.35650

 

I have implemeted the OnCreateRoom Callback as such

 

//Callback on RoomCreated
public void onCreateRoomDone (RoomEvent eventObj)
{
Debug.Log("onCreateRoomDone : " + eventObj.getResult());
 
 
if(eventObj.getData() == null)
{
Debug.LogError("[WarpNetworkManager] Room data null error");
return;
}
 
 
Debug.LogError("[WarpNetworkManager] Room Name: "+ eventObj.getData().getName());
Debug.LogError("[WarpNetworkManager] Room ID: "+ eventObj.getData().getId());
 
//Setting the RoomName and RoomID
EssentialDataManager.Instance.RoomName = eventObj.getData().getName();
EssentialDataManager.Instance.RoomID = eventObj.getData().getId(); 
 
//Sending the Update Data back to Native App
EventManager.Instance.TriggerEvent<EventSendBaseAppData>(new EventSendBaseAppData());
 
//Subscribing to the Room that was created
WarpNetworkManager.Instance.SubscribeRoom();
}
 
 
Result code  eventObj.getResult() shows 
onCreateRoomDone : 4
 
eventObj.getData() is always null. Is there any server issues currently? it was working fine until today. 
 
asked Dec 19, 2019 in Android by jeeth.b (11 points)
edited Dec 19, 2019 by jeeth.b

1 Answer

0 votes
Hello All,

Sorry it might have been my issue. Its working now
answered Dec 19, 2019 by jeeth.b (11 points)
Hi Jeeth,

Thank you for letting us know that your query has been resolved.

In case of any concern please do feel free to reach out to us, we will be happy to help you.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...