Debugging the Unity Houdini engine

   1595   1   1
User Avatar
Member
11 posts
Joined: 2月 2018
Offline
Hi,

I've cloned the HoudiniEngineForUnity project from github into my own asset folder in my unity project. I see the Houdini Engine menu bar item and I can import my digital assets. I would like to add breakpoints, so I've opened my C# project by going to ‘Assets > Open C# project’. I attach VS (2015) to the Unity process by going to ‘Debug > Attach to Process…’, but when I add a breakpoint (in Assets/Houdini/Scripts/HoudiniHost.cs - ‘initializeHost’) I am notified that no symbols are loaded, so my breakpoint never hits.

I also wasn't able to find the exact same Houdini build in the daily builds as the one set in the ‘HoudiniVersion.cs’ file. I have changed the values to match up with the ‘HAPI_Version.h’ file in my Houdini install directory, I am not sure if this has anything to do with it? Where can I find build 16.5.601? (16.5.622 is the last one I can find on https://www.sidefx.com/download/daily-builds/)

Thanks,
Vin
User Avatar
Member
571 posts
Joined: 5月 2017
Offline
That was the old deprecated version of the plugin. I've made the new repo public now and it replaces the old one, so same location as before:
https://github.com/sideeffects/HoudiniEngineForUnity [github.com]

I'd recommend re-cloning the above repo, then follow the instructions on that page to get it working. The repo is currently one version ahead of our daily build of Houdini, so in order to get it working with today's build (H16.5.627), you can edit Plugins/HoudiniEngineUnity/Scripts/HEU_HoudiniVersion.cs to change HOUDINI_MAJOR, HOUDINI_MINOR, and HOUDINI_BUILD, as well as HOUDINI_ENGINE_API if needed. Or you can wait for tomorrow's build.
  • Quick Links