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

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?