sideeffects / HoudiniEngineForUnreal

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

Bug Fix:Add HoudiniAssetComponent will be crash #145

Closed BulletHermit closed 2 years ago

BulletHermit commented 2 years ago

1.Steps to reproduce the bug: (1)create a new blueprintcalss (2)add component "HoudiniAssetBlueprintComponent" ,the ue4 editor will be crash Change: Old: if (World && World->IsPlayingReplay() || World->IsPlayInEditor()) New: if (World && (World->IsPlayingReplay() || World->IsPlayInEditor())) This conditional statement cannot prevent: "World->IsPlayInEditor()" be called when World==nullptr

moppius commented 2 years ago

This fixes #142, and I wanted to merge the same thing in #146 (closed as a duplicate).

dpernuit commented 2 years ago

Hi, Thanks for bringing this up, we've already made this change on our side.