Defining a FRuntimeFloatCurve inside a code based struct causes the editor to crash if the struct is added as a local variable to a blueprint function and the "Create External Curve" button is pressed.
This crash only occurs if the struct is a local variable of a function.
#include "Runtime/Engine/Classes/Curves/CurveFloat.h"
USTRUCT(BlueprintType, Blueprintable) struct MYPROJECT11_API FMyCustomCurve { GENERATED_BODY() public: UPROPERTY(config,BlueprintReadWrite, EditAnywhere, meta = ( DisplayName = "Custom Tween Curve", XAxisName = "Alpha", YAxisName = "Value")) FRuntimeFloatCurve CustomCurve; };
Result:
Editor crashes with the shown callstack
Expected:
Window for "Choose Location for External Curve Asset" opens when button is clicked.
MachineId:7156C35640F86204E61B8383F45DEE17 EpicAccountId:e8c7fa630b6440f69a25a2c64d6c482c Access violation - code c0000005 (first/second chance not available) UE4Editor_CoreUObject!UObjectBaseUtility::GetName() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\coreuobject\public\uobject\uobjectbaseutility.h:345] UE4Editor_DetailCustomizations!FCurveStructCustomization::OnCreateButtonClicked() [d:\build\++ue4+release-4.13+compile\sync\engine\source\editor\detailcustomizations\private\curvestructcustomization.cpp:268] UE4Editor_DetailCustomizations!TMemberFunctionCaller<FCurveStructCustomization,FReply (__cdecl FCurveStructCustomization::*)(void) __ptr64>::operator()<>() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:161] UE4Editor_DetailCustomizations!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<FCurveStructCustomization,FReply (__cdecl FCurveStructCustomization::*)(void) __ptr64> >() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\tuple.h:115] UE4Editor_DetailCustomizations!TBaseSPMethodDelegateInstance<0,FCurveStructCustomization,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:317] UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:521] UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:278] UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator()() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4901] UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215] UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4890] UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5348] UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5328] UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1584] UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1930] UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:747] UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:669] user32 user32 UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:905] UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2788] UE4Editor!GuardedMain() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\launch.cpp:156] UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126] UE4Editor!WinMain() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:202] UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264] kernel32 ntdll
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How does TextureRenderTarget2D get TArray<uint8> type data?
An error occurred while trying to generate project files !?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Why does the REMOVE method of map container remove elements have memory leaks?
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.13 |
Target Fix | 4.16 |
Fix Commit | 3253983 |
---|---|
Main Commit | 3255791 |
Created | Sep 6, 2016 |
---|---|
Resolved | Jan 11, 2017 |
Updated | Feb 5, 2017 |