- Home /
Question by
NiceAustralian · Dec 26, 2021 at 12:57 AM ·
animationguiandroid buildlayout
Grid Layout spacing not working when in Android Build
For clarification I'm only talking about the top row of boxes as the bottom row is a separate identical GameObject.
- I have a Grid Layout Component on a GameObject.
2D Boxes (Images) are spawned as children onto that GameObject at runtime.
When in play mode in the Unity Editor the Grid Layout works as I intended with the spacing working correctly.
When playing the game on android the spacing seems to stop working.
Unity Editor
Android Build
It's probably something really silly but it has stumped me, any help is much appreciated.
unity1.jpg
(129.3 kB)
Comment