Warning in Unity 6.3 LTS

This warning started to appear for us after updating to Unity 6.3 LTS.

 Packages\com.arongranberg.astar\Core\ECS\Jobs\JobApplyGravity.cs(54,22): warning CS0618: 'RaycastHit.colliderInstanceID' is obsolete: 'RaycastHit.colliderInstanceID is obsolete. Use RaycastHit.colliderEntityId instead.'

I checked on 6.3 but I didn’t see the error. What’s more, the code does have a directive for this:

But it’s marked for 6.4. Yet you’re seeing it on 6.3? That’s pretty odd. Not to cast doubt, but could you verify this is on 6.3?

Yeah we definitely see it on 6000.3.11f1

I cannot do #if changes on a too fine granularity (only 6.3, 6.4 etc). I think this was introduced at some point during 6.3, so I need to use the old code for all of 6.3.

According to the 6000.3.0f1 changelog, RaycastHit.colliderEntityId should exist on all 6.3 versions?

I did this on 6000.3.4f1 and it compiled just fine so it looks like it yeah