Ramp param causes UE4 & 5 to crash

   1865   0   1
User Avatar
Member
29 posts
Joined: Aug. 2013
Offline
I posted this in another thread but hoped it would get traction in it's own thread. This is using the Engine plugin from this link: https://github.com/sideeffects/HoudiniEngineForUnreal-v2/releases/tag/v2.0.3 [github.com]

Most hdas work as expected with the new build that was posted to github, but once an hda has a ramp parameter on it, it crashes Unreal. It doesn't matter the type of ramp, spline or color, they both crash Unreal. This was working in earlier versions of the plugin. So a lot of the hdas we've created aren't currently working unfortunately. Hopefully it is an easy fix?

I've attached a simple hda to test with and without the ramp. I can get it to crash consistently using this hda or by removing the ramp from the interface it works fine with no crashes. Also below is the crash log from Unreal.

thanks for the help

-----------------------------
Crash log:

Assertion failed: (Index >= 0) & (Index < ArrayNum) Array index out of bounds: -1 from an array of size 7

UE4Editor_Core!AssertFailedImplV()
UE4Editor_Core!FDebug::CheckVerifyFailedImpl()
UE4Editor_HoudiniEngineEditor!DispatchCheckVerify<void,<lambda_d081a37e3b4b82b66229d44c87df2878> >()
UE4Editor_HoudiniEngineEditor!FHoudiniParameterDetails::CreateWidgetRampPoints()
UE4Editor_HoudiniEngineEditor!FHoudiniParameterDetails::CreateWidgetFloatRamp()
UE4Editor_HoudiniEngineEditor!FHoudiniParameterDetails::CreateWidget()
UE4Editor_HoudiniEngineEditor!FHoudiniAssetComponentDetails::CustomizeDetails()
UE4Editor_PropertyEditor!DetailLayoutHelpers::QueryCustomDetailLayout()
UE4Editor_PropertyEditor!SDetailsViewBase::UpdateSinglePropertyMap()
UE4Editor_PropertyEditor!SDetailsViewBase::UpdatePropertyMaps()
UE4Editor_PropertyEditor!SDetailsView::PostSetObject()
UE4Editor_PropertyEditor!SDetailsView::SetObjectArrayPrivate()
UE4Editor_PropertyEditor!SDetailsView::SetObjects()
UE4Editor_PropertyEditor!FPropertyEditorModule::UpdatePropertyViews()
UE4Editor_HoudiniEngine!FHoudiniEngineUtils::UpdateEditorProperties_Internal()
UE4Editor_HoudiniEngine!FHoudiniEngineUtils::UpdateEditorProperties()
UE4Editor_HoudiniEngine!FHoudiniParameterTranslator::UpdateLoadedParameters()
UE4Editor_HoudiniEngine!FHoudiniEngineManager::ProcessComponent()
UE4Editor_HoudiniEngine!FHoudiniEngineManager::Tick()
UE4Editor_Core!FTicker::Tick()
UE4Editor!FEngineLoop::Tick()
UE4Editor!GuardedMain()
UE4Editor!GuardedMainWrapper()
UE4Editor!WinMain()
UE4Editor!__scrt_common_main_seh()
kernel32
ntdll
Edited by JasonJ3d - Aug. 30, 2021 13:23:49

Attachments:
test_curve.hda (32.2 KB)

  • Quick Links