Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.3.X, 2018.1.X
Votes
3
Found in
2017.2.0p1
Issue ID
969827
Regression
No
[Mobile] Error "A script behaviour has a different serialization layout when loading" when Instantiating Tiled Grid Prefab
Steps to reproduce:
1. Download the attached project
2. Switch platform to iOS
3. Add "Scenes/bootstrap" as 0th scene and "Scenes/main" as 1st scene
4. Build and run on an iOS device
5. Observe the console
Result: an error is repeatedly thrown:
A script behaviour (probably UnityEngine.Tilemaps.Tile?) has a different serialization layout when loading. (Read 136 bytes but expected 160 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: Line: 1905)
Reproduced on: 2017.2.0p1, 2017.3.0b9
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
CineTek
Dec 11, 2017 15:39
In WebGL build it won't even show the tilemap