When I instantiate prefab with RectTransform on it in most cases it works wrong. Usually ancoredPosition and deltaSize resets and I have to set it again from script. There are another bug that I think linked to the same. I use ReferenceResolution that in all phones interface scale and looks well. And it works well with UI elements that allready exist on scene, but when I instantiate prefab with RectTransform its not scale at all. This bug has always is reproduce (((
↧