MetalWorldTextureScan icon indicating copy to clipboard operation
MetalWorldTextureScan copied to clipboard

Crash on start scan

Open jaswant-iotric opened this issue 3 years ago • 9 comments

2022-06-07 19:49:09.113186+0530 iOS3DScanner[11488:1003842] Metal GPU Frame Capture Enabled 2022-06-07 19:49:09.113256+0530 iOS3DScanner[11488:1003842] Metal API Validation Enabled 2022-06-07 19:49:09.362556+0530 iOS3DScanner[11488:1003860] setting deprecated property. outputDepthUnits has no impact on pipeline's depth units -[MTLDebugRenderCommandEncoder validateCommonDrawErrors:instanceCount:baseInstance:maxVertexID:]:5200: failed assertion Draw Errors Validation vertex_id type is not big enough to draw this many vertices (4294967295) ' dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib:/usr/lib/libMTLCapture.dylib -[MTLDebugRenderCommandEncoder validateCommonDrawErrors:instanceCount:baseInstance:maxVertexID:]:5200: failed assertion Draw Errors Validation vertex_id type is not big enough to draw this many vertices (4294967295)

jaswant-iotric avatar Jun 07 '22 14:06 jaswant-iotric

I have same confused.

titman avatar Jun 09 '22 08:06 titman

getting same crash

infocodiste avatar Jun 15 '22 10:06 infocodiste

Same here getting the same error

mightyG avatar Jun 16 '22 11:06 mightyG

The crash went away when I unplugged the phone from laptop and started the app again. Weird.

jaswant-iotric avatar Jun 16 '22 11:06 jaswant-iotric

Yeah same

mightyG avatar Jun 16 '22 11:06 mightyG

not for me; still getting the crash

dcooley avatar Oct 15 '22 08:10 dcooley

Do you have the same error message?

mightyG avatar Oct 15 '22 13:10 mightyG

yes:

-[MTLDebugRenderCommandEncoder validateCommonDrawErrors:instanceCount:baseInstance:maxVertexID:]:5200: failed assertion `Draw Errors Validation vertex_id type is not big enough to draw this many vertices (4294967295)

Screenshot 2022-10-16 at 9 00 00 am

dcooley avatar Oct 15 '22 22:10 dcooley

Incidentially, 4294967295 is the maximum UInt32 size

So possibly vertex VertexOut anchorGeometryVertexTransform() should have uint vid rather than ushort vid?

dcooley avatar Oct 15 '22 23:10 dcooley