Using SmartFox 2X with Unity3D to publish Windows Store App
Posted: 25 Nov 2013, 03:01
I have a program I have developed which uses Unity3D to connect to a smartfox 2X server. This program works as a Windows Standalone and Android app. I am currently trying to get this to work for Windows Store builds. I have read at the following link that Unity for Window Store builds does not support networking:
http://docs.unity3d.com/Documentation/M ... arted.html
I'm not sure if this means you cannot use SmartFox with to build Windows Store apps with Unity or not, but since there are new API's available on here, I can't image that that is the case.
I have downloaded the updated API's from the smartfox website and deployed them to my project. I have the main Unity DLL in my Assets/Plugins folder, and the WIN8 DLL in my Assets/Metro/Plugins folder. After commenting out any lines that used 'Security' (ie. Security.PrefetchPolicy was causing errors) I have tested and the program still works as a Windows Standalone. I've even gotten this to run in Visual Studio, and everything seems to work there except that the program cannot connect to the server.
Has anyone had any success with this sort of setup, or has any resources they can point me to that could help? I've tried the same thing with the examples provided and get the same result. Am I going to have to just wait until Unity supports networking in Windows Store builds?
http://docs.unity3d.com/Documentation/M ... arted.html
I'm not sure if this means you cannot use SmartFox with to build Windows Store apps with Unity or not, but since there are new API's available on here, I can't image that that is the case.
I have downloaded the updated API's from the smartfox website and deployed them to my project. I have the main Unity DLL in my Assets/Plugins folder, and the WIN8 DLL in my Assets/Metro/Plugins folder. After commenting out any lines that used 'Security' (ie. Security.PrefetchPolicy was causing errors) I have tested and the program still works as a Windows Standalone. I've even gotten this to run in Visual Studio, and everything seems to work there except that the program cannot connect to the server.
Has anyone had any success with this sort of setup, or has any resources they can point me to that could help? I've tried the same thing with the examples provided and get the same result. Am I going to have to just wait until Unity supports networking in Windows Store builds?