HoudiniNiagara
HoudiniNiagara copied to clipboard
Crash on Reimport of Houdini Point Cache
Hello. When a houdini point cache is used in a Niagara System and the asset is loaded in memory, the editor crash when trying to reimport the Houdini Point Cache.
Here is the error :
Fatal error: [File:D:\dev\p4\ue-proto-main\Engine\Source\Runtime\RenderCore\Private\RenderResource.cpp] [Line: 169] A FRenderResource was deleted without being released first!
UnrealEditor_RenderCore!FRenderResource::~FRenderResource() [D:\dev\p4\ue-proto-main\Engine\Source\Runtime\RenderCore\Private\RenderResource.cpp:169]
UnrealEditor_HoudiniNiagara_Win64_DebugGame!FHoudiniPointCacheResource::~FHoudiniPointCacheResource() [D:\dev\p4\ue-proto-main\Games\Prototypes\Plugins\HoudiniNiagara\Source\HoudiniNiagara\Public\HoudiniPointCache.h:131]
UnrealEditor_HoudiniNiagara_Win64_DebugGame!FHoudiniPointCacheResource::`scalar deleting destructor'()
UnrealEditor_HoudiniNiagara_Win64_DebugGame!UHoudiniPointCache::~UHoudiniPointCache()
UnrealEditor_HoudiniNiagara_Win64_DebugGame!UHoudiniPointCache::`vector deleting destructor'()
UnrealEditor_CoreUObject!StaticAllocateObject() [D:\dev\p4\ue-proto-main\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2601]
UnrealEditor_CoreUObject!StaticConstructObject_Internal() [D:\dev\p4\ue-proto-main\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3516]
UnrealEditor_HoudiniNiagaraEditor_Win64_DebugGame!NewObject<UHoudiniPointCache>() [D:\dev\p4\ue-proto-main\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h:1405]
UnrealEditor_HoudiniNiagaraEditor_Win64_DebugGame!UHoudiniPointCacheFactory::FactoryCreateFile() [D:\dev\p4\ue-proto-main\Games\Prototypes\Plugins\HoudiniNiagara\Source\HoudiniNiagaraEditor\Private\HoudiniPointCacheFactory.cpp:74]
UnrealEditor_UnrealEd!UFactory::ImportObject() [D:\dev\p4\ue-proto-main\Engine\Source\Editor\UnrealEd\Private\Factories\Factory.cpp:205]
UnrealEditor_HoudiniNiagaraEditor_Win64_DebugGame!UHoudiniPointCacheFactory::Reimport() [D:\dev\p4\ue-proto-main\Games\Prototypes\Plugins\HoudiniNiagara\Source\HoudiniNiagaraEditor\Private\HoudiniPointCacheFactory.cpp:173]
UnrealEditor_HoudiniNiagaraEditor_Win64_DebugGame!FReimportHandler::Reimport() [D:\dev\p4\ue-proto-main\Engine\Source\Editor\UnrealEd\Public\EditorReimportHandler.h:244]
UnrealEditor_UnrealEd!FReimportManager::Reimport() [D:\dev\p4\ue-proto-main\Engine\Source\Editor\UnrealEd\Private\Editor.cpp:443]
UnrealEditor_HoudiniNiagaraEditor_Win64_DebugGame!FHoudiniPointCacheAssetActions::ExecuteReimport() [D:\dev\p4\ue-proto-main\Games\Prototypes\Plugins\HoudiniNiagara\Source\HoudiniNiagaraEditor\Private\HoudiniPointCacheAssetActions.cpp:177]
UnrealEditor_HoudiniNiagaraEditor_Win64_DebugGame!UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int,0>,TArray<TWeakObjectPtr<UHoudiniPointCache,FWeakObjectPtr>,TSizedDefaultAllocator<32> > >::ApplyAfter<void (__cdecl FHoudiniPointCacheAssetA() [D:\dev\p4\ue-proto-main\Engine\Source\Runtime\Core\Public\Templates\Tuple.h:324]
UnrealEditor_HoudiniNiagaraEditor_Win64_DebugGame!TBaseSPMethodDelegateInstance<1,FHoudiniPointCacheAssetActions const ,1,void __cdecl(void),FDefaultDelegateUserPolicy,TArray<TWeakObjectPtr<UHoudiniPointCache,FWeakObjectPtr>,TSizedDefaultAllocator<32> > >::E() [D:\dev\p4\ue-proto-main\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:309]