Unity 6.4 Deprecations & Updates

Avatar

Hi Freya, thanks for the awesome work. 


I was just updating to Unity v6.4 and I got some errors that went away, when I made some changes.


In ShapesRenderPass.cs this method has been officially deprecated. So I commented that out and got shapes to work again.

public override void Execute( ScriptableRenderContext context, ref RenderingData renderingData )


In ShapeRenderer.cs 

I changed 

int meshOwnerID;

to

EntityId meshOwnerID;


and in line 479 I changed it from

int id = gameObject.GetInstanceID();

to

var id = gameObject.GetEntityId();

Anyways thanks again and hope it helped!

All the best 

- JJ

Reporting a bug? please specify Unity version:
6000.4.2
Reporting a bug? please specify Shapes version:
4.5.1
Reporting a bug? please specify Render Pipeline:
URP