A* Pathfinding with ALINE overhead doubled from DrawManager and AlineURPRenderPassFeature

We have both A* Pathfinding and ALINE and we’ve discovered in the profiler that we have 2 DrawManagers and 2 AlineURPRenderPassFeatures. We are building for mobile so every ms counts. My suggestion is to have a way to easily have A* Pathfinding use the standalone ALINE package implementation so we don’t have to duplicate the overhead of these features.

Hi

I’d this overhead actually significant? In a standalone build, a* shouldn’t be rendering anything basically. So the overhead should be very small.

Hey, so on Android, I’m seeing 0.15-0.2ms which isn’t nothing.
image

I’ll include a few optimizations in the next update. Let me know if that improves things for you :slight_smile: