Problem statement
1) what you have tried
Create a prefab, contains a SkeletonGraphic and check 'Enable Separation' and 'Multiple CanvasRenderers'
When game is running, Instantiating that prefab.
2) what you expected,
Prefab instantiated.
3) what actually happened.
A exception is thrown.
NullReferenceException: Object reference not set to an instance of an object
Spine.Unity.SkeletonGraphic.UpdateMaterialsMultipleCanvasRenderers (Spine.Unity.SkeletonRendererInstruction currentInstructions) (at Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs:845)
Spine.Unity.SkeletonGraphic.UpdateMeshToInstructions () (at Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs:753)
Spine.Unity.SkeletonGraphic.Rebuild (UnityEngine.UI.CanvasUpdate update) (at Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs:317)
Spine.Unity.SkeletonGraphic.Awake () (at Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs:298)
UnityEngine.Object:Instantiate(GameObject, Transform)
Test:Update() (at Assets/Test.cs:21)
Give step-by-step instructions so we can reproduce the problem, if possible.
Download the attached project, enter play mode, press A.
Runtime information
Tell us your Spine Runtimes version.
Package version: spine-unity-4.1-2023-07-19.unitypackage
Unity Version 2018.4.36f
Post your entire error messages here (or attach them), if you got any error messages.