0
Unity Bug

Error: "different serialization layout when loading"

Crystalius 5 months ago updated by Lazlo Bonin (Lead Developer) 4 months ago 1

I am having this in build:

"A script behaviour (probably UnityEngine.XR.WSA.SpatialMappingRenderer?) has a different serialization layout when loading. (Read 32 bytes but expected 108 bytes)

Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?"

(Filename: C:\buildslave\unity\build\Runtime/Mono/MonoBehaviour.cpp Line: 1775)(Filename: C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Runtime/Platforms/PlatformUtility.cs Line: 32)

The referenced script (UnityEngine.XR.WSA.SpatialMappingRenderer) on this Behaviour is missing!

I don't use XR in my project and removed XR assembly and no luck.

Bolt Version:
1.4.2
Unity Version:
2018.2.20
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
GOOD, I'M SATISFIED
Satisfaction mark by Crystalius 4 months ago
+1
Unity Bug

Hi Crystallius,

As this is an internal Unity class and there's no Bolt-related log anywhere, I'd suggest reporting this as a bug to Unity. This seems unrelated to Bolt.