If a new editor plugin has a button added with OnClicked functionality, the editor will crash immediately when accessing the plugin. Removing the OnClicked portion of code allows the plugin to be accessed and the button to be pressed.
CrashReporter:
[Link Removed]
static bool IsWidgetEnabled() { return GEditor->GetSelectedActors()->Num() != 0; }
+ SVerticalBox::Slot() .HAlign(HAlign_Center) .AutoHeight() [ SNew(SButton).Text(FText::FromString("Test Button")).OnClicked(this, &FCleanPluginEdModeToolkit::ReturnSimple) ]
FReply FCleanPluginEdModeToolkit::ReturnSimple() const { return FReply::Handled(); }
Result:
Editor crashes immediately upon trying to access the plugin.
Expected:
Modes tab switches to show the new plugin
Repro Rate:
3/3
Assertion failed: SharedThis.Get() == this [Link Removed] [Line: 1093]
KERNELBASE
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_UnrealEd
UE4Editor_CleanPlugin_7065!TBaseDelegate<FReply>::CreateSP<FCleanPluginEdModeToolkit>() [c:\program files (x86)\epic games\4.11\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:188]
UE4Editor_CleanPlugin_7065!SButton::FArguments::OnClicked<FCleanPluginEdModeToolkit>() [c:\program files (x86)\epic games\4.11\engine\source\runtime\slate\public\widgets\input\sbutton.h:54]
UE4Editor_CleanPlugin_7065!FCleanPluginEdModeToolkit::FCleanPluginEdModeToolkit() [f:\unreal projects\myproject5\plugins\cleanplugin\source\cleanplugin\private\cleanpluginedmodetoolkit.cpp:54]
UE4Editor_CleanPlugin_7065!FCleanPluginEdMode::Enter() [f:\unreal projects\myproject5\plugins\cleanplugin\source\cleanplugin\private\cleanpluginedmode.cpp:26]
UE4Editor_UnrealEd
UE4Editor_LevelEditor
UE4Editor_LevelEditor
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
user32
user32
UE4Editor_Core
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
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
How does UMG set overlapping layouts?
How to achieve HLSL Multiple Render Target in Material blueprints?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Foundation - Cpp Tools - Plugin System |
---|---|
Affects Versions | 4.11 |
Target Fix | 4.13 |
Fix Commit | 2957165 |
---|---|
Main Commit | 2973886 |
Created | Mar 16, 2016 |
---|---|
Resolved | Apr 27, 2016 |
Updated | May 2, 2018 |