-
-
Notifications
You must be signed in to change notification settings - Fork 175
Description
Hello.
I have a post implementation wich works correctly from que unity editor, but when I build and run the project in WebGL, I receive a message : "Proyecto26.RequestException: Unknown Error" but I can't figure out wich is the reason.
Code fragment:
public static void SaveDatabase(){
RestClient.Post("https://my-project.firebaseio.com/users/.json", GameInfo.info)
.Then(response =>
Debug.Log("Información del jugador guardada exitosamente: " + JsonUtility.ToJson(response, true))
)
.Catch(error =>
{
Debug.LogError("Error guardando la información del jugador: "+ error.Message);
}
);
}
GameInfo.info is a DTO object with a serialization toString method wich converts the content to json.
The error logged from the catch:

Please, let me know wich extra information could be required to resolve this issue. Any help will be very appreciated.