sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.3k stars 368 forks source link

LibHAPILocation can be added multiple times to the PATH env var #308

Closed manugulus closed 1 week ago

manugulus commented 2 weeks ago

In FHoudiniEngine::StartSession, in the lambda UpdatePathForServer, if we start and stop a Houdini session multple times without restarting Unreal. PATH already contains the LibHAPILocation so its readded each time. PATH ends up being really huge. To repro, Stop/Start Houdini Engine session mutliple times and check the value of ModifiedPath.

dpernuit commented 1 week ago

Hi, Thanks for bringing this up! I just pushed a change that will prevent the plugin from updating the PATH multiple times, it will be available in tomorrow's daily builds of the plugin.