GameDevelopmentToolset icon indicating copy to clipboard operation
GameDevelopmentToolset copied to clipboard

Games Baker (Beta) gives errors

Open joschy3D opened this issue 5 years ago • 3 comments

Hi, I'm using Houdini 18.0.391 Indie with the labs dev tools 391. Error when I try to bake: Error | Error rendering child: /out/games_baker1/shell5

Error in the shell5 node:

Error Python error: Traceback (most recent call last):File "", line 1, in File "opdef:/labs::Driver/games_baker::2.0?PythonModule", line 20, in set_current_meshAttributeError: 'NoneType' object has no attribute 'path'

I have only a Target Mesh (Low) loaded to bake the cd attribute to a texture FlowMap.zip

joschy3D avatar Mar 28 '20 19:03 joschy3D

+1, same problem, same Houdini version except mine is commercial

Polyrhythm avatar Apr 07 '20 03:04 Polyrhythm

The code that errors is here: https://github.com/sideeffects/SideFXLabs/blob/65b392c17f51afbc658ce84a0f12add39f253dd9/otls/games_baker.hda/labs_8_8Driver_1games__baker_8_82.0/PythonModule#L20

It seems to expect both a source and target mesh. If you set the source and target mesh to be the same in your example, @joschy3D, you can get the baking to work as you want, I think.

Polyrhythm avatar Apr 07 '20 04:04 Polyrhythm

yep, that's solve it :) Thank you

joschy3D avatar Apr 07 '20 08:04 joschy3D