Unity - Windows Store ILCPP
Posted: 13 Jul 2016, 14:09
We have Unity app and trying build W10 UWP via ILCPP. We cant build it for .NET Core, because some components are not .NET Core ready .
For build is used normal mono version of SmartFox2X.dll. Windows store version of SmartFox2X.dll cant be used for ILCPP, because some build error. App is build without any error with mono SmartFox2X.dll, but when I try to login, it does not work. It waits cca 30s and then excpetion is thrown:
Connection was lost; reason is: unknown
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
LoginController:OnConnectionLost(BaseEvent)
Sfs2X.Core.EventListenerDelegate:Invoke(BaseEvent)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
LoginController:Update()
Connection request is succesfully recieved by server, because there is "Session created: " message in the SFS server log.
It has probably problem with recieving asynchronous reply from server. Is there a way to make it work? W32 app is working ok and also W10 UWP .NET Core version worked before we added some non .NET core component.
Thanks for help
Wally
For build is used normal mono version of SmartFox2X.dll. Windows store version of SmartFox2X.dll cant be used for ILCPP, because some build error. App is build without any error with mono SmartFox2X.dll, but when I try to login, it does not work. It waits cca 30s and then excpetion is thrown:
Connection was lost; reason is: unknown
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
LoginController:OnConnectionLost(BaseEvent)
Sfs2X.Core.EventListenerDelegate:Invoke(BaseEvent)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
LoginController:Update()
Connection request is succesfully recieved by server, because there is "Session created: " message in the SFS server log.
It has probably problem with recieving asynchronous reply from server. Is there a way to make it work? W32 app is working ok and also W10 UWP .NET Core version worked before we added some non .NET core component.
Thanks for help
Wally