Are 'different serialization layout' messages from EZGUI?

Are 'different serialization layout' messages from EZGUI?

Postby Gigiwoo » Mon Oct 10, 2011 1:52 pm

Heya,

When I run my app, I get a variety of messages like this:

Code: Select all
A script behaviour has a different serialization layout when loading. (Read 72 bytes but expected 76 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Applications/buildAgent/work/842f9557127e852/Runtime/Serialize/SerializedFile.cpp Line: 812)


Are these messages coming from something in EZGUI? It could be another plugin. Are these types of messages really okay?

Gigiwoo.
Gigiwoo
 
Posts: 49
Joined: Thu Aug 25, 2011 3:54 pm

Re: Are 'different serialization layout' messages from EZGUI

Postby Fes » Mon Oct 10, 2011 8:52 pm

I get these also. Noticed them when debugging a disappearing mesh problem I was having. Turned out to be unrelated, but they still make me a bit uneasy. Definitely frustrating that unity doesn't deign to tell us which script it's actually coming from.
Fes
 
Posts: 10
Joined: Fri Sep 09, 2011 11:46 pm

Re: Are 'different serialization layout' messages from EZGUI

Postby famine » Mon Oct 10, 2011 9:59 pm

I've been using EZGUI for a long time now, and I've never seen that error (even though I've broken EZGUI in more ways than I can count now!)
famine
 
Posts: 79
Joined: Wed Apr 06, 2011 12:52 am

Re: Are 'different serialization layout' messages from EZGUI

Postby sonicviz » Fri Oct 14, 2011 4:46 pm

Gigiwoo wrote:Heya,

When I run my app, I get a variety of messages like this:

Code: Select all
A script behaviour has a different serialization layout when loading. (Read 72 bytes but expected 76 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Applications/buildAgent/work/842f9557127e852/Runtime/Serialize/SerializedFile.cpp Line: 812)


Are these messages coming from something in EZGUI? It could be another plugin. Are these types of messages really okay?

Gigiwoo.


I have a bunch of these at the moment appearing to cause me grief on iOS5 http://forum.unity3d.com/threads/107248 ... lems/page2 and according to UnityDevs not ok.
Trying to track down at the moment where they are coming from (EZGUI or ?? ) not easy.
sonicviz
 
Posts: 35
Joined: Fri Oct 15, 2010 12:49 am

Re: Are 'different serialization layout' messages from EZGUI

Postby Brady » Fri Oct 14, 2011 11:04 pm

This should be resolved in the up-coming 1.075 release. It has to do with the fact that there are editor-only variables declared, but Unity doesn't seem to want to re-serialize the objects when recompiled for a non-editor build. So it keeps the editor-mode serialization and then complains at runtime that the object layout doesn't match the one it saved from edit-mode. Personally, this seems like a bug in Unity to me since it doesn't make sense that objects would have to have the same members in both edit and deployment builds, but the 1.075 release will have work-around for it at any rate. If by chance you are doing something similar in your code, you'll want to "harmonize" the object layout for both edit and deployment modes.

Basically what this means is, if you have an "#if UNITY_EDITOR" preprocessor that controls whether a variable is declared or not, make sure the variable is declared in either case.
Brady
 
Posts: 5361
Joined: Tue Jul 06, 2010 11:33 pm

Re: Are 'different serialization layout' messages from EZGUI

Postby sonicviz » Fri Oct 14, 2011 11:52 pm

Brady wrote:This should be resolved in the up-coming 1.075 release. It has to do with the fact that there are editor-only variables declared, but Unity doesn't seem to want to re-serialize the objects when recompiled for a non-editor build. So it keeps the editor-mode serialization and then complains at runtime that the object layout doesn't match the one it saved from edit-mode. Personally, this seems like a bug in Unity to me since it doesn't make sense that objects would have to have the same members in both edit and deployment builds, but the 1.075 release will have work-around for it at any rate. If by chance you are doing something similar in your code, you'll want to "harmonize" the object layout for both edit and deployment modes.

Basically what this means is, if you have an "#if UNITY_EDITOR" preprocessor that controls whether a variable is declared or not, make sure the variable is declared in either case.



So this is an EZGui problem that's causing my app to crash on normal build (see previous comment link to unity forum discussion)?
I could not find any "Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?" but I did find a bunch of EZGUI "if UNITY_EDITOR.." about the same number as the errors in the xcode console.

Do you have a quick fix I can try to see if this is the problem? I'm currently on ezgui 1.07

This is a little urgent for me as I had the iPad version approved and ready to launch, and now it's broken in iOS5 update (but works in Development Build due to some checking Unity have put in).

ty
sonicviz
 
Posts: 35
Joined: Fri Oct 15, 2010 12:49 am

Re: Are 'different serialization layout' messages from EZGUI

Postby sonicviz » Sun Oct 16, 2011 3:12 am

Hi Brady,
I hate to push but could I get a confirmation on this as a possible cause of failure or at least a quick fix for EZGUI to test?
I've arranged with Unity to submit a bug report with xcode project and source scripts (which means all third party ones I'm using as well) but if I can confirm or eliminate EZGui beforehand it would be great.

ty

Edit:
As per latest post @ http://forum.unity3d.com/threads/107248 ... post717127 not sure what is going on with Unity builds.
Unity 3.4.1 + SDK 5.0 + xcode 4.2 => iPAD2 w/ iOS5
Unity player settings: iPAD only, armv7 only, Slow and Safe, .NET 2.0, target iOS 4.0
Fails to run on iPad with successful normal build but runs in development build

change settings to Unity player settings: armv7 only, fast but no exceptions, .NET subset, target iOS 3.2 (via s0ren)
and runs fine in normal build mode with same error/warning messages in xcode console!
sonicviz
 
Posts: 35
Joined: Fri Oct 15, 2010 12:49 am

Re: Are 'different serialization layout' messages from EZGUI

Postby Brady » Sun Oct 16, 2011 7:08 pm

PM me with your e-mail address and I'll send you the latest version that should resolve the issue as far as EZ GUI is concerned.
Brady
 
Posts: 5361
Joined: Tue Jul 06, 2010 11:33 pm

ddsvsdfvg

Postby licheng » Thu Oct 06, 2016 1:11 am

oakley sunglasses
supra shoes sale
michael kors handbags sale
michael kors uk
converse shoes
kobe 9
nike huarache
nike blazer pas cher
michael kors handbags
louis vuitton pas cher
gucci sito ufficiale
michael kors handbags
moncler outlet
ed hardy
christian louboutin outlet
fitflops
michael kors handbags wholesale
ray ban sunglasses
supra shoes
yeezy boost 350 white
ed hardy clothing
nike air max 90
fitflops shoes
michael kors handbags clearance
nike trainers uk
michael kors handbags wholesale
nike roshe
ralph lauren pas cher
michael kors handbags
jordan shoes
cheap jordans
adidas nmd
michael kors outlet clearance
moncler jackets
yeezy boost 350 black
nike huarache trainers
fitflops sale clearance
oakley sunglasses
nike outlet
michael kors handbags outlet
michael kors handbags
michael kors handbags
michael kors handbags
michael kors handbags
nike trainers
toms shoes
gucci borse
michael kors handbags
nike air huarache
lebron shoes
nike huarache
ralph lauren
michael kors outlet
nike air huarache
fitflops sale clearance
michael kors handbags
michael kors outlet
cheap oakley sunglasses
michael kors outlet store
nike trainers uk
michael kors handbags
nike free
michael kors handbags
adidas nmd runner
rolex replica watches
cheap oakley sunglasses
nike tn pas cher
michael kors uk
nike tn
toms outlet
cheap ray ban sunglasses
air force 1 shoes
michael kors handbags
michael kors handbags
cheap nike shoes sale
cheap nike shoes
michael kors outlet
ed hardy outlet
michael kors outlet
yeezy boost 350
michael kors outlet store
chaussure louboutin pas cher
michael kors handbags
oakley sunglasses
converse trainers
birkenstock sandals
basketball shoes
michael kors outlet
michael kors outlet
nike store
michael kors outlet
cheap jordans
michael kors handbags
michael kors
cheap oakley sunglasses
ralph lauren outlet online
cheap michael kors handbags
christian louboutin shoes
michael kors handbags wholesale
michael kors outlet online
pandora outlet
michael kors handbags
polo ralph lauren
cheap michael kors handbags
polo ralph lauren outlet
cheap ray bans
jordan shoes
birkenstocks
pandora jewelry
nike blazer
cheap basketball shoes
michael kors handbags outlet
pandora jewelry
ray ban sunglasses
adidas nmd
michael kors outlet online
michael kors handbags sale
michael kors outlet
nike free 5
nike store uk
michael kors handbags
kobe 9 elite
cheap michael kors handbags
cheap jordan shoes
nike huarache
air max 90
louis vuitton sacs
cheap michael kors handbags
michael kors handbags
pandora charms
nike roshe run
salomon shoes
replica watches
ed hardy uk
michael kors handbags
michael kors handbags
chaussure louboutin
michael kors handbags online
air jordan uk
michael kors handbags wholesale
michael kors handbags wholesale
nike outlet store
lebron james shoes
ralph lauren outlet
adidas nmd r1
michael kors handbags outlet
nike trainers
nike air force 1
michael kors handbags
michael kors outlet
salomon boots
licheng
 
Posts: 63
Joined: Thu Oct 06, 2016 1:06 am

Sjcg123

Postby Sjcg123 » Sun Oct 16, 2016 7:10 am

Coach Bags On Sale
Nike Zapatos
nike sb stefan janoski
moncler jacket sale
vans shoe store
Canada Goose Outlet
burberry outlet store online
adidas outlet stores online
fitflop online kopen
scarpe hogan outlet
nfl store
outlet zapatos online
chaussure basket homme
Air Jordan News
tienda online abercrombie españa
nike sportschuhe
cheap uggs for women
Ugg boots Sale
pandora bracelet charms
ray ban wayfarer eyeglasses
uggs outlet
chaussure Nike homme
tru religion jeans
Jordan Store
uggs for cheap
sac givenchy
michael kors handbags on sale
nike air
Chaussure Nike Pas Cher
abercrombie and fitch store
Nike Air Jordan 11
cheap uggs
toms shoes outlet
portafoglio michael kors
burberry schal
fitflops sale uk
Timberland skor
Air Jordan Release Date
adidas site officiel
polo ralph lauren pas cher
longchamp tote bag
zapatos de futbol nike
moncler outlet
new pandora charms
Cheap Michael Kors
nike tn pas cher
hogan rebel donna
Jordan Schoenen
ropa abercrombie
new yeezy shoes
adidas schuhe neu
nike skor outlet
nike mercurial soccer cleats
zapatillas nike baratas
nike sportschuhe damen
chaussures nike pas cher
adidas shoenen
christian louboutin outlet
louboutin heels
scarpe nike running
billige nike sko
scarpe adidas online
Lebron 13
Toms Outlet Online
Nike Online Store
bambas adidas baratas
sac a main michael kors
michael kors bags outlet
Soccer Boots Outlet nike
toms sale
mulberry väskor rea
pandora charm bracelet sale
pandora jewelry store
asics sko
zapatillas running
zapatilla adidas
Toms Shoes For Women
retro jordans for cheap
michael kors väska rea
ray ban sale
nike shoes
adidas schoenen
cheap burberry bags
nike air max running shoes
converse store
cheap christian louboutin
sac coach soldes
ugg clearance
moncler coats for women
Billiga Nike Air Max
religion store
ugg outlet online
hogan scontate
Miu Miu bags online
Adidas schuhe
abercrombie deutschland
outlet prada online
nike sneakers
Uomo Hogan
scarpe jordan
sandalias birkenstock
balenciaga borse
nike jordan shoes
nike free
scarpe nike
charms pandora pas cher
nike schuhe günstig
Moncler Sale
chaussure adidas pas cher
timberland outlet
Nike Store
cheap nike air max
ugg boots for women
fendi pas cher
coach factory outlet online
adidas outlet
prada outlet
adidas store
Moncler Outlet Online
botas de futbol
23 is back
adidas kläder
oakley sunglasses clearance
air max pas cher femme
cheap air max outlet
ugg factory outlet
pandora beads
official NHL jerseys
huarache sneakers
chaussures de foot pas cher
ugg store
Jordan Sneakers For Sale
adidas tienda online
ugg boots classic
air force one pas cher
newest lebron shoes
discount ray bans
ugg boots outlet online
moncler girls
burberry sac pas cher
coach sac à main
goedkope nike air max
burberry sac pas cher
reebok running shoes
nike air schuhe herren
Korting sportschoenen
scarpe adidas donna
hyperdunk 2014
longchamp kaufen
new jordan releases
womens nike air max
Air Max 90
cheap mbt shoes sale
longchamp bags on sale
nike chaussures
nike damenschuhe
Ray ban sale online
nike joggesko
1016Sjcg
Sjcg123
 
Posts: 326
Joined: Sun Oct 16, 2016 6:19 am

Next

Return to EZ GUI General

Who is online

Users browsing this forum: valamun and 7 guests

cron