build: Failed getting triangles. Submesh topology is lines or points.
unitycoder opened this issue · 1 comments
unitycoder commented
meshconverter, 2020.2.7f1
errors in build:
Assertion failed on expression: 'subMesh.topology == kPrimitiveTriangleStrip || subMesh.topology == kPrimitiveQuads'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)Failed getting triangles. Submesh topology is lines or points.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
cause:
if you convert ply with Normals, those gameobjects have Batching static flag set. (which causes those errors in build)
solution:
after conversion, select meshes, disable static batching from the dropdown (for all meshes)

unitycoder commented
didnt happen now, tested 2020.3