eliemichel / OpenMfxForBlender

A branch of Blender featuring an OpenMfx modifier
Other
176 stars 19 forks source link

blender crash and window disappear while selecting effect #32

Open epth opened 4 years ago

epth commented 4 years ago

blender_openmesh.zip operating system version: win10 houdini version:18.0.499 fx blender version:Blender-OpenMeshEffect-200620-v0.9.0-rc1-Win64

I dont know why get this error,I have uploaded .ova and .hda file,

eliemichel commented 4 years ago

Hi @epth I was able to run your effect:

running

A possible difference is that I am using Houdini 17.5.258, also it should adapt to the version available. The Blender branch outputs a lot of debug information in the terminal, so to help me troubleshot your use case, you can run Blender from a cmd terminal and once it crashed copy the whole log it contains (select all by clicking, then mouse right click actually copies selection to clipboard).

epth commented 4 years ago

== mfx_Modifier_runtime_ensure on data 0000023E2255B6B8 RUNTIME DATA @0000023E2ECF85C8 Getting Global Host; reference counter will be set to 1. (Allocating new host data) Loading Houdini library C:\Users\celpec\Desktop\blender_openmesh\library.hda... OfxActionLoad action returned status 0 (kOfxStatOK) Defining input 'OfxMeshMainInput' on OfxMeshEffectHandle 0000023E2FED5620 Defining input 'OfxMeshMainOutput' on OfxMeshEffectHandle 0000023E2FED5620 Defining parameter mfx_dist Defining parameter mfx_dist2 Defining parameter mfx_inset OfxActionDescribe action returned status 0 (kOfxStatOK) OfxActionCreateInstance action returned status 0 (kOfxStatOK) ==/ mfx_Modifier_runtime_ensure ==/ mfx_Modifier_on_asset_changed on data 0000023E2255B6B8 OpenMeshEffectModifier: freeData. OpenMeshEffectModifier: initData. OpenMeshEffectModifier: copyData. == mfx_Modifier_reload_effect_info on data 0000023E2255B6B8 == mfx_Modifier_runtime_ensure on data 0000023E2255B6B8 RUNTIME DATA @0000023E2ECF85C8 ==/ mfx_Modifier_runtime_ensure Loading Sop/celpec_my_effect to RNA ==/ mfx_Modifier_reload_effect_info OpenMeshEffectModifier: freeData. OpenMeshEffectModifier: applyModifier. == mfx_Modifier_do on data 0000023E2255BFC8 == mfx_Modifier_runtime_ensure on data 0000023E2255BFC8 RUNTIME DATA @0000023E2ECFE4A8 Getting Global Host; reference counter will be set to 2. Defining input 'OfxMeshMainInput' on OfxMeshEffectHandle 0000023E2FEDBA80 Defining input 'OfxMeshMainOutput' on OfxMeshEffectHandle 0000023E2FEDBA80 Defining parameter mfx_dist Defining parameter mfx_dist2 Defining parameter mfx_inset OfxActionDescribe action returned status 0 (kOfxStatOK) OfxActionCreateInstance action returned status 0 (kOfxStatOK) ==/ mfx_Modifier_runtime_ensure Suite method call 'propertySuite->propGetInt(effectProperties, kOfxPropHoudiniNodeId, 0, &hr->node_id)' returned status 9 (kOfxStatErrBadHandle) Converting blender mesh into ofx mesh... DEBUG: Found 8 points in input mesh Input: NOT converting ofx mesh Houdini: cooking root node... Thrift: Mon Aug 10 23:36:13 2020 TPipe ::GetOverlappedResult errored GLE=: errno = 109 Error : Unrecognized Exception Address : 0x00007FFE9E463E49 Module : C:\Windows\System32\KERNELBASE.dll

I've tested twice,same error,same address

wenglash commented 3 years ago

Hi, first of all thanks for putting the effort into this. A standardized system for procedural geometry and being able to play HDAs in Blender is a great idea.

I am have the same issue with blender crashing. I tried with all the versions of Blender built with OpenMeshEffect. I am using Houdini 18.0.566

I attached my own log in case it is helpful

BlenderHoudiniCrashLog.txt

eliemichel commented 3 years ago

Hi @wenglash, Could you share your HDA, or at least export as an OBJ one expected result? It crashes when loading geometry back as a Blender Mesh so it may come from some unhandled case in the mesh, maybe try adding some cleanup at the end of the mesh effect in Houdini.

wenglash commented 3 years ago

Hi @wenglash, Could you share your HDA, or at least export as an OBJ one expected result? It crashes when loading geometry back as a Blender Mesh so it may come from some unhandled case in the mesh, maybe try adding some cleanup at the end of the mesh effect in Houdini.

Hi, thanks for getting back to me so fast. I've attached my HDA, it is just a simple test with subdivide and polyextrude.

What kind of cleanup would I add in Houdini?

library.zip