180bpm

this file '***' is corrupted! remove it and launch unity again, mismatched serialization in the bulitin class '***' 오류 트러블 슈팅 본문

Develop/Unity

this file '***' is corrupted! remove it and launch unity again, mismatched serialization in the bulitin class '***' 오류 트러블 슈팅

powdersnow 2019. 12. 12. 19:08

https://docs.unity3d.com/kr/2017.4/Manual/FBXImporter-Materials.html

 

모델 임포터: 머티리얼 - Unity 매뉴얼

Unity 에디터는 임포트된 에셋에서 디퓨즈 머티리얼을 사용합니다. FBX 임포터의 Materials 탭을 사용하여 임포트된 에셋에서 머티리얼을 임포트할 수 있습니다.

docs.unity3d.com

 

assetbundle 불러올때 

this file '***' is corrupted! remove it and launch unity again
...
mismatched serialization in the bulitin class '***' (read **** bytes but expected *** bytes)

오류가 찍히면서 뻗는 경우가 종종 생겼다.

100% 재현도 아니고, 또 특정 폰에선 유독 잘 나고, 디버그 켜도 별다른 단서도 없고..

 

뭐가 문제인지 감도 못잡고 로그 찍다가 보니 내가 이전 프로젝트때 남겨놨던 코멘트가 있더라.

// FIXME 특정 캐릭터를 부를때 크래시가 나는 경우가 있다.  
// 정확한 원인은 파악 안됨. 우선 미봉책으로 대상 FBX의 import materials 를 체크해제한다.

 

일단 풀으니 별 문제 없다.

검색을 해도 별 내용도 없음.

 

유니티 4때부터 있던 버그때문에 피똥싸고... 힘든 1주일이었다.

 

 

해결 안됨..다시 찾는 중

 

2018 3.14에서 2018.4.14로 업데이트 후 증상 말끔히 사라짐. 

관련 3.14 이전에 비슷한 문제가 있었지만 3.14에서 수정되었다는 버그리포트를 봤는데 정상적으로 수정이 된것같지는 않아보인다.

Comments