UI Object Serialization Issues

Hey all, I’m having one heck of a time with the UI prefab’s handling of the serialization of its data.

My different items’ rects often zero out and make nested objects invisible, or sometimes reverse the width or height fields.

I have ended up for now removing most of the automatic layouts and also have unpacked my dialogue panel prefab to try and avoid all the random hiccups between the prefab and layouts.

Does anybody know how I work to avoid this issue?

It’s quite the challenge… seems like there are checkboxes you can tick that just mangle a LayoutGroup…
What I do is take one step at a time, observe the results, take the next step… if I accidentally click on something that squashes all my layout elements, Edit | Undo usually sets things back to where they should be.

That’s basically what I’ve been doing. Thanks Brian!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms