Skip to main content

Sorting group Order in Layer not working correctly. Objects are overlaying each other incorrectly.

images-xsmall

This is probably related to a known issue in the Unity Playworks Plugin engine.

Possible solution:

  • Disable and then re-enable the gameobject with the sorting group in a single frame. Once this is done, the sorting group layer should then work correctly.

    void Start()
    {
    gameObjectWithSortingGroup.SetActive(false);
    gameObjectWithSortingGroup.SetActive(true);
    }

images-small