Xamarin Forms UrhoSharp - How to set up the Assets Folder

Hey guys ,

I'm trying to use a folder in a XF - Urho Application but its not working .

UrhoSurface.Show<UrhoApp>(new ApplicationOptions("Data"));

var cache = ResourceCache;

planeObject.Model = cache.GetModel("Models/Plane.mdl");

In my Droid Assets , i created the Folder "Data" and added the Models etc...

Am i missing something ?


  • DonGilliusDonGillius BEMember

    i'm having the same issue, did you solve this??

  • same issue here. trying to figure out what could cause the issue, unfortunately the sample project for urho.forms does not include any resources...

  • Aaike64Aaike64 MXMember

    Hello, I'm with the same problem. This make me think if UrhoSharp is really being used.

  • Aaike64Aaike64 MXMember

    Ok, it Works now.
    assis = await urhoSurface.Show(new ApplicationOptions(assetsFolder: "Data") { Orientation = ApplicationOptions.OrientationType.LandscapeAndPortrait });

    Urho.Urho2D.AnimationSet2D animationSet = cache.GetAnimationSet2D("Asis1.scml");

    I have the file on the Assets folder of the Android Project

Sign In or Register to comment.