question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Any ways to remove serialization errors on builds?

See original GitHub issue

I get these warnings for each Hierarchy Collection in my WebGL build;

A scripted object (probably AV.Hierarchy.Collection?) has a different serialization layout when loading. (Read 32 bytes but expected 40 bytes) Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts? Followed by warning; The referenced script on this Behaviour (Game Object '*GOName*') is missing!

Normally I would just ignore these, but as it’s WebGL it seems to create other issues down the line.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TheXRMonkcommented, Apr 21, 2021

Pushed a commit, can you try it from master?

Confirmed - All good now 😃

1reaction
neon-agecommented, Apr 21, 2021

Pushed a commit, can you try it from master?

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Remove JSON.net Serialization Exceptions from the ...
1 Answer 1 ... You can set an error handler. For example (from the json.net docs), List<string> errors = new List<string>(); List<DateTime> c...
Read more >
[HELP PLEASE!] Error building Recursive Serialization is ...
Hi im getting these errors while building. The problem is that they don't contain ANY clue as to what is wrong and where....
Read more >
Serialization Error when Building Player - Build Fails
no, you don't have to remove playmaker just for that, you simply need to remove that action, IF you are not using it,...
Read more >
Build with "Generate serialization assembly: On" throws ...
Go directly into the Build tab, at the bottom of the screen, for Generate serialization assembly, change the selection to On (default is...
Read more >
V8 serialize error on build with huge number of pages(100k+)
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found