EsotericSoftware / spine-runtimes

2D skeletal animation runtimes for Spine.
http://esotericsoftware.com/
Other
4.43k stars 2.92k forks source link

[unity] SkeletonRenderTexture meshFilter null when fix prefab override enabled #2608

Closed HaraldCsaszar closed 3 months ago

HaraldCsaszar commented 3 months ago

Discovered via this forum posting: https://esotericsoftware.com/forum/d/26721-fadeout-with-skeletin-lit-zwrite-shader

When Spine preferences setting "Fix Prefab Overr. MeshFilter" is enabled and thus MeshFilter is not persisted, SkeletonRenderTexture gets MeshFilter component too early in Awake before the missing MeshFilter would be created by the MeshRenderer.