Hi I have two menus which are prefabs that I am instantiating. Both have UI roots.
If i instantiate them individually they are fine but if I instantiate one and then destroy it and immediately instantiate the other one, the other one loses all its anchoring.
I presume this is a bug, It's as if the UIRoot does not have any dimensions hence no anchors, everything appears in the center and not relative to the left or right.
As a solution I will have to create a persistent UIRoot and attached my prefabs to it.