# Bug with Expose on Spawn. Addition info to UE-92909

**URL:** <https://forums.unrealengine.com/t/bug-with-expose-on-spawn-addition-info-to-ue-92909/464903>\
**Category:** UI\
**Tags:** bug, expose-on-spawn, unreal-engine, Widget, question\
**Created:** [May 11, 2020, 6:42am UTC](https://forums.unrealengine.com/t/bug-with-expose-on-spawn-addition-info-to-ue-92909/464903 "2020-05-11T06:42:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DenKuzn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DenKuzn](https://forums.unrealengine.com/u/DenKuzn)\
**Post date:** [May 11, 2020, 6:42am UTC](https://forums.unrealengine.com/t/bug-with-expose-on-spawn-addition-info-to-ue-92909/464903/1 "2020-05-11T06:42:52Z")

</div>

Additional information for UE-92909.

Bug can starts if you create just one variable of type “LinearColor” and set it ExposeOnSpawn to “true”.  
Then if you will try create widget and set other color to Variable on “createWidget” node (not use default color. It is Important), then in runtime engine will crash.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/6/ef6ced367a857e730a078eb581ff4498c4ebf992.png)

```
Assertion failed: ContainerPtr [File:D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject/UnrealType.h] [Line: 356]

UE4Editor_Core!AssertFailedImplV() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:100]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:450]
UE4Editor_CoreUObject!UObject::execStructConst() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:3288]
UE4Editor_Engine!UKismetSystemLibrary::execSetStructurePropertyByName() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Classes\Kismet\KismetSystemLibrary.h:843]
UE4Editor_CoreUObject!UFunction::Invoke() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5542]
UE4Editor_CoreUObject!UObject::CallFunction() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:927]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2796]
UE4Editor_CoreUObject!ProcessLocalScriptFunction() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:997]
UE4Editor_CoreUObject!ProcessScriptFunction() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:828]
UE4Editor_CoreUObject!ProcessLocalFunction() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1058]
UE4Editor_CoreUObject!ProcessLocalScriptFunction() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:997]
UE4Editor_CoreUObject!UObject::ProcessInternal() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1085]
UE4Editor_CoreUObject!UFunction::Invoke() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5542]
UE4Editor_CoreUObject!UObject::ProcessEvent() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1916]
UE4Editor_Engine!AActor::ProcessEvent() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:798]
UE4Editor_Engine!AActor::BeginPlay() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3457]
UE4Editor_Engine!AActor::DispatchBeginPlay() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3397]
UE4Editor_Engine!AWorldSettings::NotifyBeginPlay() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\WorldSettings.cpp:246]
UE4Editor_Engine!AGameStateBase::HandleBeginPlay() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\GameStateBase.cpp:205]
UE4Editor_Engine!UWorld::BeginPlay() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\World.cpp:4184]
UE4Editor_Engine!UGameInstance::StartPlayInEditorGameInstance() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:478]
UE4Editor_UnrealEd!UEditorEngine::CreateInnerProcessPIEGameInstance() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:2793]
UE4Editor_UnrealEd!UEditorEngine::OnLoginPIEComplete_Deferred() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1473]
UE4Editor_UnrealEd!UEditorEngine::CreateNewPlayInEditorInstance() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1707]
UE4Editor_UnrealEd!UEditorEngine::StartPlayInEditorSession() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:2579]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlaySessionRequestImpl() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1089]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlaySessionRequest() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1016]
UE4Editor_UnrealEd!UEditorEngine::Tick() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1611]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:414]
UE4Editor!FEngineLoop::Tick() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4850]
UE4Editor!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
UE4Editor!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
```
