UI problem in build
Hi all,
I have created a menu with a Canvas and four buttons, with a text child each. In game mode it works fine, but in the build no item shows. If I create a debug build, it says this:
"A script behaviour (probably UnityEngine.UI.Button?) has a different serialization layout when loading. (Read number bytes but expected higher number bytes) Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?"
I haven't yet used any serialization code in this project, so I find this weird to say the least.
Thank you for your help
Answer by Adam-Mechtley · Jun 11, 2017 at 08:57 AM
Hi there! Assuming you are not using a custom version of the UnityEngine.UI.dll, could you please use the bug reporter to file a bug on this issue?
Yep, I did that. And I confirm I am not using any custom version of the UI since this is the very first time I even use the UI.
:)
Your answer
Follow this Question
Related Questions
How to make folding menu? 0 Answers
UI problems 0 Answers
How to display information screen when a game object is clicked? 0 Answers
Is there a way to move any UGUI element in editor with a keyboard? 1 Answer