Could not create window, root cause: 'WinRT only supports one window'. You can omit this exception by subscribing to Urho.Application.UnhandledException event and set Handled property to True.
I have this in onappearing in a contentpage called with pushmodalasync...
if( urhoApp == null )
urhoApp = await urhoSurface.Show<GameR>(new ApplicationOptions("Data")
Orientation = ApplicationOptions.OrientationType.Landscape
and the error is in
public class BaseGame : Application
in this method
static void Application_UnhandledException1(object sender, Urho.UnhandledExceptionEventArgs e)
@tonyleone Were you able to resolve this? I'm getting this exact situation. Runs fine once, but the second time same error. I'm guessing it isn't being disposed of properly?
@tonyleone For anyone else running into this, you must use UrhoSurface.Pause() when done with a surface. Then the next one will run fine.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies