I have an application that I would like to test as a Windows 8.1 Store app.
In the editor the application runs fine, however when I try to build
the application as a windows 8 store app I receive a number of build errors. The errors are mostly the same - they cant fine a reference from within the UnityEngine.
Here is the first error, for instance.
HostNotice.cs(42,58): error CS0234: The type or namespace name ‘NetworkDisconnection’ does not exist in the namespace ‘UnityEngine’ (are you missing an assembly reference?)
Here is my code for the above exception.
public void OnDisconnectedFromServer(UnityEngine.NetworkDisconnection info)
{
// Handle event here. The exception is on the line above.
}
The app works fine as a desktop / webplayer / android app. Moreover, I get no exceptions from within Visual studio or when I play from inside the editor. Ive gone over the Windows Store App Pdfs and they reference a change in namespaces for System.IO, but nothing for UnityEngine methods.
Any help is appreciated.