I have a Xamarin Forms app that is supposed to run on iOS , Android and Windows (UWP). It uses UrhoSharp for some 3D visualizations. It is working fine on iOS and Android and I have just started with the Windows project.
The Urho3D canvas gets created but none of my nodes appear. I think the canvas is being drawn because I can change the fog color of the zone and it displays the new color correctly.
It is not clear how to debug my problem of why my nodes don't appear. However, if I click a button that creates a new node, the app will generally crash in a way that implies a threading problem. I think the event thread the button click happens on and the Urho update thread needs some sort of synchronization. Possibly that is also the issue with none of my initial nodes appearing.
However, if I lock the Urho OnUpdate() code and the button click code, the app seems to deadlock for 120 seconds.
Does anyone have any thoughts about how to handle threading here for the UWP target?