Just witnessed a problem where #71 still happens if UI's Awake() is called before a UIToolkit's Awake().
UI.cs' Awake will call toolkit.loadTextureAndPrepareForUse();, setting the correct texture for all UItoolkits.
UISpriteManager's Awake() will only later set and duplicate the material. This means the texture can be set before material duplication, leading to several Toolkits sharing the same texture.
Just witnessed a problem where #71 still happens if UI's
Awake()
is called before a UIToolkit'sAwake()
.Awake
will calltoolkit.loadTextureAndPrepareForUse();
, setting the correct texture for all UItoolkits.Awake()
will only later set and duplicate the material. This means the texture can be set before material duplication, leading to several Toolkits sharing the same texture.