Return to site

Invalid Serialized File Header Unity

broken image

At this point I submitted the default change list and synchronized the other machines and it loaded properly without the errors.

broken image

This creates file type changes for all of the. P4 edit -t binary '//depot//Assets/./*.mat' P4 edit -t binary '//depot//Assets/./*.meta' I then went through the project and used the command line: To fix current ones I first made sure my default change list was empty. In any case, as a work around, I modified my P4 server to recognize both of these file types as binary using the 'p4 typedef' admin command and editing the displayed file with the following: The meta files being text should be fine, but it seems my P4 server is modifying the end of line (I believe it's a P4 admin setting you can change to support different OS files).

broken image

This might be tied to the versioning settings 'Asset Serialization' option as well (although I haven't had time to experiment with modifying that and submitting new files). After some experimenting I believe the issue is related to the file types being set to text for the meta files (and maybe for the material. I encountered the same error relating to the meta and mat files.