neomonkeus/blender_nif_scripts — comment on commit 35c7328bb0d4fb72b612a776465902a0e6ee66f3
File: scripts/addons/io_scene_nif/import_nif.py line 2180
By gendernic:

I think I found one issue with this: when the script tries to "merge" meshes into one objects (in case there are multiple meshes in a nif), we add a new vertex_color layer (names: "VertexColor, VertexColor.001, ...). There is a boundary, we cannot create more than 8 layers of the vertex colors. When the script hits that case, the method returns None object and there is an exceptions caught when the script tries to access b_vertcolorlayer.

I got this case when importing my infamous cave object using the import_nif.py script from my script repo. Commit SHA: a5fcbbb7040590ca34a01fbafc2048cfc95d1b79