Any ways to remove serialization errors on builds?
See original GitHub issueI 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:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Confirmed - All good now 😃
Pushed a commit, can you try it from master?