dperuit,
Through a lot of trial and error I've narrowed down the issue. Most hdas work as expected with the new build that you 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
Image Not Found