Drawing Namespace not found

Hi, I’ve just purchased Aline and have installed it in a near new Unity 6 project. I can’t see the Drawing namespace. I am using Assembly Definitions and added the ALINE asmdef to the one where I want to use but no joy. I also tried a script outside the assembly definition but the same result. Any help would be appreciated.
Cheers
Chris

Hi

Do the included example scenes work for you?

Difficult to tell. I can see the sample scenes in the package import window but they don’t appear to get loaded into the project :slightly_smiling_face:

Hi

You must import the samples separately using the package manager.

I can’t see a mechanism to do that. If I import ALINE, the ExampleScenes~ folder is there and checked. When I import the folder doesn’t appear in the ALINE folder in Packages. If I re-import, the samples appear as checked new content indicating they haven’t been imported. But re-importing then still doesn’t bring them in.

Hi

Check this tutorial: Installation Guide - A* Pathfinding Project
It’s for the A* Pathfinding Project, but the way to install example scenes is the same in both packages.

Well, that’s a confusing and new way of doing it. Ok, I reimported ALINE and the sample scenes worked, I added ALINE asmdef to my asmdef and it all now works. Thanks for your help.
Quick question. Can I run the Draw commands from a managed ECS System (SystemBase) or do I have to use a MonoBehaviour with a reference to the System?

Answer is, yes you can and it works beautifully. Going to be a game changer for me debugging ECS. Thanks again.

1 Like

You can even draw with a burstified job with a little bit of extra typing: Drawing from a Job/ECS - ALINE