# I can not show LoadingScreen using FLoadingScreenAttributes

**URL:** <https://forums.unrealengine.com/t/i-can-not-show-loadingscreen-using-floadingscreenattributes/387877>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 14, 2017, 8:33am UTC](https://forums.unrealengine.com/t/i-can-not-show-loadingscreen-using-floadingscreenattributes/387877 "2017-03-14T08:33:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3e88722a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3e88722a](https://forums.unrealengine.com/u/anonymous_user_3e88722a)\
**Post date:** [March 14, 2017, 8:33am UTC](https://forums.unrealengine.com/t/i-can-not-show-loadingscreen-using-floadingscreenattributes/387877/1 "2017-03-14T08:33:50Z")

</div>

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

I wrote the c ++ code by referring to the link above.  
As a result of debugging, function binding is not a problem However, LoadingScreen did not show on the screen.

This is my code.

```
void UEditorGameInstance::SetLoadingScreen(UUserWidget* NewLoadingWidget)
{
	LoadingWidget = NewLoadingWidget;
}

void UEditorGameInstance::Init()
{
	UGameInstance::Init();
	FCoreUObjectDelegates::PreLoadMap.AddUObject(this, &UEditorGameInstance::BeginLoadingScreen);
	FCoreUObjectDelegates::PostLoadMap.AddUObject(this, &UEditorGameInstance::EndLoadingScreen);
}

void UEditorGameInstance::BeginLoadingScreen(const FString& MapName)
{
	FLoadingScreenAttributes LoadingScreen;
	LoadingScreen.bAutoCompleteWhenLoadingCompletes = true; 
	if(LoadingWidget)
		LoadingScreen.WidgetLoadingScreen = LoadingWidget->TakeWidget();
	else
		LoadingScreen.WidgetLoadingScreen = FLoadingScreenAttributes::NewTestLoadingScreenWidget();

	GetMoviePlayer()->SetupLoadingScreen(LoadingScreen); 
	GetMoviePlayer()->PlayMovie();
}

```

The function of ‘SetLoadingScreen(UUserWidget\*)’ is regist my LoadingScreen widget.  
Where did I get it wrong? Am I misunderstanding? How to make LoadingScreen?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3e88722a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3e88722a](https://forums.unrealengine.com/u/anonymous_user_3e88722a)\
**Post date:** [March 15, 2017, 2:35am UTC](https://forums.unrealengine.com/t/i-can-not-show-loadingscreen-using-floadingscreenattributes/387877/2 "2017-03-15T02:35:58Z")

</div>

I found one thing by referring to the Shooter Game today.  
This LoadingScreen did not work on the editor screen.  
Tested through the StandAlong Game, it worked.
