In my project i updated the complete old recast nav. thats used by urho3d with GitHub - recastnavigation/recastnavigation: Navigation-mesh Toolset for Games because of many crashes (segfaults) with complicated large navmeshes (large terrain with objects). There are many bugs that causes crashes fixed in this further developed version and a crash never happend again after the update.
the TerrainDetail2.dds how to add?or how to edit dds?
I remove resource Textures/StoneDiffuse.dds from asset folder.But urho.net run As usual.
I can’t get the right logic to edit TerrainDetail or how to add it.
During first run , the Assets folder is copied into the Bin folder (i.e. bin/Debug/netcoreapp3.1)
Every time you modify the content of some files in the Assets folder , before the next run only the modified files are copied to the Bin folder.
During the runtime , the application is reading from the generated Bin folder not the Assets folder.
If you delete a file in the Assets folder the file is not deleted from the Bin folder (I guess it might be considered a bug , but I didn’t find an optimized solution for that)
My main game target platform is Android, so I can’t accept Urho Net cannot debug Android programs in real time
So there’s any way to make Urho Net can debug Android programs in real time.
I have two choices now.
1、 Using Urho net that it could debug android program real time. And I find way to migrate V8 and Android WebView to Urho net. Because my android game is using v8 engine and webview.
2、find a way to let urho. net could be packed nuget. So I can use the latest Urho.Net function in xamarin.android at visual sutdio 2022.the findpath function is ok.The Jint is cool to create many maps.
Currently the Android mono debugger is not supported , it might be supported in 2022/Q4 once my Net.6 Game Editor Will be released.
You can use Urho.IO.Log.Info , Urho.IO.Log.Debug , Urho.IO.Log.Error , (supported on all platforms)
Urho.net can not run with Xamarin.Android , I don’t plan to support it .
On mobile devices Urho.Net interacts directly with the Mono runtime (not using Xamarin) , this is one of the reasons it’s so blazing fast (fast as C++)
outline is not ok at android.but ok at pc.
var cache = ResourceCache;
var g = Graphics;
var renderer = Renderer;
var viewport = new Viewport(Context, scene, CameraNode.GetComponent<Camera>());
RenderPath effectRenderPath = viewport.RenderPath.Clone();
viewport.RenderPath = effectRenderPath;
int w = g.Width;
int h = g.Height;
var renderTexture = new Urho.Urho2D.Texture2D(Context);
renderTexture.SetSize(w, h, Graphics.RGBFormat, TextureUsage.Rendertarget);
renderTexture.FilterMode = TextureFilterMode.Nearest;
renderTexture.Name = "OutlineMask";
var surface = renderTexture.RenderSurface;
surface.UpdateMode = RenderSurfaceUpdateMode.Updatealways;
var outlineViewport = new Viewport(Context, outlineScene, outlineCameraNode.GetComponent<Camera>());