- Home /
Question by
rahulng92 · Jun 17, 2015 at 10:07 AM ·
buildserializationunity 4.6
White Screen On Build
Hey guys,
I made a game (which includes a Wwise plugin).The game runs absolutely fine on editor by pressing the play button.but when I make a build the game has a white screen.I then made a debug build and the error says that its a serialization issue.
How would I go about fixing this?has anyone else had this issue ever?
thanks
Comment
Update:I made a development build and the error says "A script behaviour has a different serialization layout when loading. (Read 24 bytes but expected 32 bytes) Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?" "
I'm up against the same error. The script that it fails on does not have any "#ifdef UNITY_EDITOR" or "[SerializeField]" lines.
Your answer