Draw.ingame causes crash/freeze

  • ALINE version: 1..7.8
  • Unity version: 6000.0.62f1
  • Render pipeline: HDRP

Hey there, new to ALINE here.

I am getting an issue where calling anything that uses .ingame causes a crash or freeze. If I run Draw.WireCapsule it works fine, but the moment I try Draw.ingame.WireCapsule it results in a full process hang or even an editor crash.

Could anyone please assist?

Thank you!

Update:

Apparently using the following works fine, but still crashing on Draw.ingame:

using (var draw = DrawingManager.GetBuilder(true))
{
    using (draw.WithDuration(2f))
    {
        draw.Cross(hitPoint, .5f, Color.red);

    }
}

I tried a number of things, on the same version of Unity and ALINE but I never got a freeze at all. I did it with Draw.WireCapsule, Draw.ingame.WireCapsule, using (Draw.ingame) and your code you posted but never had an issue. Can you try it in a clean project of the same version and see if you can still replicate it?