I'm loading 5 different prefabs from an AssetBundle. Two of them instantiate just fine. Two others cause a "bufferPtr == buffer + sizeTotal" error when they are first displayed. There is no stacktrace to this error - the information in quotes is all that Unity gives me. If I select the model in the inspector before displaying it in-game, then the error I get is "bufferPtr == buffer + sizeTotal UnityEditor.DockArea:OnGUI()". I believe this is an error with the materials, since on these two models, all of their materials are set to the default pink instead of what they were when I exported them to the AssetBundle. However, on the fifth prefab, one material is fine (the character's face) while all the other materials are reset to the default pink - and this one causes no error like the other models whose materials are missing. So: does anyone know what the "bufferPtr == buffer + sizeTotal" error means? Or have any insight as to why half my materials failed to load?
↧