You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I'm happy to fix this to make it work, however, Layers were never intended to be added to other Layers, so it's a bit of fluke it ever worked at all really.
Hmm, I'm happy to fix this to make it work, however, Layers were never intended to be added to other Layers, so it's a bit of fluke it ever worked at all really.
All right. I've removed all code that nested layers
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Version
Description
Add a layer to another layer cause an error:
gameObject.removeFromDisplayList is not a function
This method is called at the start of Layer#addChildCallback for reset the displayList.
But, this method is not exist.
Example Test Code
Additional Information
This code is OK in v3.52.0
The text was updated successfully, but these errors were encountered: