Hi,
For me this PR works when used with Houdini 20.5.332 on Windows (py 3.11). I have not tested extensively, but the Houdini starts with the tk-houdini engine
However, when also loading HtoA htoa-6.3.4.0_r0d5c67f_houdini-20.5.332 I get a crash while launching Houdini :
Traceback from 3024 ThreadId=0x000047a8
CURRENT THREAD 18344
+0x7ffaac20ff8f [PySideSignalTypeF] C:\PROGRA~1\SIDEEF~1\HOUDIN~1.332\python311\lib\site-packages-forced\PySide2\pyside2.cp311-win_amd64.dll
+0x7ffb10c252b1 [PyObject_MakeTpCall] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c25511 [PyObject_Vectorcall] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10d2834d [PyEval_EvalFrameDefault] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10d2b83e [PyEval_EvalFrameDefault] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10d1cdf0 [PyWarnings_Init] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c6cc98 [PyCFunction_GetFlags] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c24e99 [PyBytes_Repeat] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c25511 [PyObject_Vectorcall] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10d2834d [PyEval_EvalFrameDefault] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10d2b83e [PyEval_EvalFrameDefault] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c2573d [PyFunction_Vectorcall] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c250d4 [PyObject_FastCallDictTstate] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c259c5 [PyObject_Call_Prepend] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c964ac [PyType_Ready] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c89d5f [PyType_Name] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c252b1 [PyObject_MakeTpCall] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10c25511 [PyObject_Vectorcall] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10d2834d [PyEval_EvalFrameDefault] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x7ffb10d23861 [PyEval_EvalCode] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\python311.dll
+0x290370bd [PY_CompiledCode::evaluateUsingDicts] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\libPY.dll
+0x29036edd [PY_CompiledCode::evaluate] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\libPY.dll
+0x29045ad3 [PYrunPythonStatementsFromFile] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\libPY.dll
+0x1466c07e [MOT_Director::execPythonRCFiles] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\libMOT.dll
+0x146678af [MOT_Director::MOT_Director] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\libMOT.dll
+0x138ff046 [OPUI_MainApp::initApplication] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\libOPUI.dll
+0x112adac2 [AP_Interface::loadWindowGeometry] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\libSI.dll
+0x112ae7d5 [myWinMain] C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\libSI.dll
+0x1400015a2 C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\houdini.exe
+0x140001a32 C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\houdini.exe
+0x7ffb89f3257d [BaseThreadInitThunk] C:\Windows\System32\KERNEL32.DLL
+0x7ffb8ad6af28 [RtlUserThreadStart] C:\Windows\SYSTEM32\ntdll.dll