I use SkeletonGraphic in my UI on 3.7.
After I upgraded to 3.8, I got an error.
1.
In SkeletonGraphic.cs, it called
public void LateUpdate () {
if (freeze) return;
//this.SetVerticesDirty(); // Which is better?
UpdateMesh();
}
2.
In SkeletonGraphic.cs, it called
MeshGenerator.GenerateSingleSubmeshInstruction(currentInstructions, skeleton, null);
3.
In MeshGenerator.cs, it called
current.material = (Material)((AtlasRegion)rendererObject).page.rendererObject;
And I got a error
[Exception] NullReferenceException: Object reference not set to an instance of an object
I tracked the code, it showed rendererObject is null.
Is this a bug??