- Home /
Cryptic assertion failure in AudioImporter.SaveAndReimport()
I intermittently get this error when calling SaveAndReimport()
on an AudioImporter
:
Assertion failed on expression: 'p == previewData.m_PreviewData.end()'
Anyone have any idea what this could possibly mean? It seems like this error means the reimport failed, but I have no real way of knowing if that's true or not.
As an aside, this looks like some bad code, Unity. Who gives an object a member with the same name?
Answer by Alex_curiscope · Oct 12, 2017 at 08:51 AM
Getting this error today in 5.5.0f3 but not sure why - it occurred after a full library reimport in which some assets were corrupted due to remaining as git LFS pointers instead of being resolved into files. Looking into it more.
Your answer
![](https://koobas.hobune.stream/wayback/20220612105954im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
When looping through assetbundle assetdatabase how do you reference a material object 0 Answers
Addressables - Use Asset Database (faster) - Not loading assets within a folder 1 Answer
Is there a way to set the Addressables Remote Load Path in runtime? 0 Answers
Unity AssetBundle One-time download 0 Answers
AssetDatabase.LoadAllAssetsAtPath(...) Yields Mysterious Nameless Asset 1 Answer