Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any tracing in Unity?

I have a very large dependency tree and Unity is failing trying resolve a dependency somewhere in this huge dependency chain. I'm having to manually look through all the dependencies to work out what might be missing, which is a huge task.

Unfortunately, unity only reports the item it's trying to construct in the exception it throws and gives no info about the route it has taken to get to that point.

Does Unity put out any tracing/logging info that might help me work out exactly what dependencies I am missing?

like image 250
Magoo Avatar asked Feb 18 '14 10:02

Magoo


People also ask

Is path tracing ray tracing?

Path tracing is a ray tracing algorithm that sends rays from the Camera and, when a ray hits a reflective or refractive surface, recurses the process until it reaches a light source.

Can I render in Unity?

In Unity, you can use the Sprite Renderer to render sprite-type images in either a 2D or 3D scene. This component lets you display images as Sprites for use in both 2D or 3D scenes.

Should I use URP or HDRP?

If your project is 2D, you'd be better served with URP. The trade off basically is HDRP has more graphical features built-in, comes with the engine and isn't held back by weak platforms such as mobile. Performance requirements are a bit higher. Development is a lot faster compared to URP.


1 Answers

There is no Tracing implemented in Unity.

The ResolutionFailedException, that is thrown by Unity when an attempt to resolve a dependency fails, contain all relevant information whether in its Title, StackTrace or InnerException property.

Normally does the most InnerException contain the root cause of the ResolutionFailedException.

like image 100
Jehof Avatar answered Oct 19 '22 23:10

Jehof