truong-bui / AsyncLoadingScreen

Async Loading Screen is a free and open-source plugin for Unreal Engine. Async Loading Screen allows you to easily configure a Loading Screen System in the project settings, and automatically add a Loading Screen whenever you open a new level, without Level Streaming.
https://www.unrealengine.com/marketplace/en-US/product/async-loading-screen
MIT License
799 stars 99 forks source link

Screen disappears when level is done loading even though it is set not to [UE5] #55

Open svcoyle opened 2 years ago

svcoyle commented 2 years ago

Im using UE5 and when i have the default loading screen's minimum loading screen display time set to 10.0 and auto complete when loading completes unchecked the loading screen only stays on for a moment then just a black screen for the rest of the time. I have this set up the same way as my old UE4 project and it worked fine. Also running from editor as standalone the image is just a grey checkerboard image and not the ones in my images list. When i do a full build the images display correctly. Any help will be greatly appreciated.

truong-bui commented 2 years ago

Hi svcoyle, I'll investigate this issue and let you know later

RoLYroLLs commented 2 years ago

I also just ran into this issue. Working through the tutorial on readme.md.

buciutaandrei commented 2 years ago

Have the same issue on 5.0.2

MrKosiej commented 2 years ago

Same here

codyswick commented 2 years ago

Same issue seems like an ongoing problem with no fix

themeshpotato commented 2 years ago

Hitting the same issue. Has anyone found a fix?

truong-bui commented 2 years ago

Hitting the same issue. Has anyone found a fix?

Don't use Minimum Loading Screen anymore since this fix in the MoviePlayer module may be the reason for this issue. Just set minimum loading screen display time to -1

TovenaarAndreas commented 2 years ago

This indeed fixes the issue, however: what if you are using the overlay widget and want to have a minimal display time? Any workaround for that?

LewisFarrellDev commented 2 years ago

I'm having the same problem and the Fix didn't work for me.

My setting are: Minimum Loading Screen Display Time: -1 Auto Complete when loading Completes: False Wait for Manual Stop: True Allow Engine Tick: True

It seems that any widgets are now removed after the loading is complete, which results in a black screen. This is more obvious when using "Wait for Manual Stop", most likely because of the line of code linked above in the engine which clears out WidgetHolder.

Any workaround for this or are post load loadingscreens not an options anymore? I would like to continue displaying the loading until i manually dismiss it. I can use a movie which seems to continue to play, but since all the widgets gets destroyed there is no loading throbber or tips anymore which isn't ideal :/ @truong-bui

TovenaarAndreas commented 2 years ago

I made a question on the official UE fora, as this was clearly a bug in the engine. With the latest release, this should be fixed: https://forums.unrealengine.com/t/game-movie-player-black-screen-when-loading-is-finished/662145/5

truong-bui commented 1 year ago

I made a question on the official UE fora, as this was clearly a bug in the engine. With the latest release, this should be fixed: https://forums.unrealengine.com/t/game-movie-player-black-screen-when-loading-is-finished/662145/5

@TovenaarAndreas Thank you for creating this thread. I've checked the plugin in UE 5.1 and confirm that the issue is fixed now.

truong-bui commented 1 year ago

Just update the plugin to UE 5.1.0. Please update your project to UE 5.1 if possible

svcoyle commented 1 year ago

I am still having issues i am getting a lot of errors and then a crash when playing intro movies (2 of them) This is from my log file

[2022.12.25-13.12.37:823][ 0]LogMaterial: Display: Missing cached shadermap for HighResScreenshot in PCD3D_SM6, Default, SM6 (DDC key hash: 07498FA004A9F1BE06BFFD8B82678CCB32B8E2E5), compiling. [2022.12.25-13.12.37:840][ 0]LogMaterial: Display: Missing cached shadermap for HighResScreenshotMask in PCD3D_SM6, Default, SM6 (DDC key hash: 718533E08F91241AB4938844057ABB67D7F94C62), compiling. [2022.12.25-13.12.37:924][ 0]LogClass: Error: StructProperty FTextAppearance::ShadowOffset is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:924][ 0]LogClass: Error: StructProperty FTextAppearance::ShadowColorAndOpacity is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:924][ 0]LogClass: Error: ByteProperty FTextAppearance::Justification is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:924][ 0]LogClass: Error: FloatProperty FTipSettings::TipWrapAt is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:924][ 0]LogClass: Error: ByteProperty FALoadingScreenSettings::PlaybackType is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:927][ 0]LogClass: Display: 5 Uninitialized script struct members found including 0 object properties [2022.12.25-13.12.37:942][ 0]LogClass: Warning: Property ArrayProperty FImageSequenceSettings::Images defines MetaData key "AllowedClasses" which contains short type name "Texture2D". Suggested pathname: "/Script/Engine.Texture2D". Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:942][ 0]LogClass: Warning: Property ArrayProperty FBackgroundSettings::Images defines MetaData key "AllowedClasses" which contains short type name "Texture2D". Suggested pathname: "/Script/Engine.Texture2D". Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:976][ 0]LogClass: Display: 2 short type names in reflected types' MetaData [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: UObject.Class AttemptToFindUninitializedScriptStructMembers will be marked as failing due to errors being logged [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: LogClass: StructProperty FTextAppearance::ShadowOffset is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: LogClass: StructProperty FTextAppearance::ShadowColorAndOpacity is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: LogClass: ByteProperty FTextAppearance::Justification is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: LogClass: FloatProperty FTipSettings::TipWrapAt is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:978][ 0]LogAutomationTest: Error: LogClass: ByteProperty FALoadingScreenSettings::PlaybackType is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:978][ 0]LogAutomationTest: Warning: LogClass: Property ArrayProperty FImageSequenceSettings::Images defines MetaData key "AllowedClasses" which contains short type name "Texture2D". Suggested pathname: "/Script/Engine.Texture2D". Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:978][ 0]LogAutomationTest: Warning: LogClass: Property ArrayProperty FBackgroundSettings::Images defines MetaData key "AllowedClasses" which contains short type name "Texture2D". Suggested pathname: "/Script/Engine.Texture2D". Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:978][ 0]LogEngine: Initializing Engine... [2022.12.25-13.12.37:982][ 0]LogStats: UGameplayTagsManager::InitializeManager - 0.000 s [2022.12.25-13.12.37:985][ 0]LogMaterial: Display: Missing cached shadermap for WireframeMaterial in PCD3D_SM6, Default, SM6 (DDC key hash: A24977CAA40D4F857B46246CDB176A9DAA1D3496), compiling. Is special engine material. [2022.12.25-13.12.38:699][ 0]LogMaterial: Display: Missing cached shadermap for LevelColorationLitMaterial in PCD3D_SM6, Default, SM6 (DDC key hash: C2BA239CD6D449DCD6D534397515D45973831854), compiling. Is special engine material. [2022.12.25-13.12.39:226][ 0]LogWindows: Error: appError called: Assertion failed: IsInGameThread() [File:D:\build++UE5\Sync\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplayModule.h] [Line: 90]

[2022.12.25-13.12.39:226][ 0]LogWindows: Windows GetLastError: The operation completed successfully. (0) [2022.12.25-13.12.40:298][ 0]LogMaterial: Display: Missing cached shadermap for LevelColorationUnlitMaterial in PCD3D_SM6, Default, SM6 (DDC key hash: 09F80C95A5D8EAC4E8CE26B23E0699B01AC3845F), compiling. Is special engine material. [2022.12.25-13.12.40:298][ 0]LogWindows: Error: === Critical error: === [2022.12.25-13.12.40:298][ 0]LogWindows: Error: [2022.12.25-13.12.40:298][ 0]LogWindows: Error: Assertion failed: IsInGameThread() [File:D:\build++UE5\Sync\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplayModule.h] [Line: 90]

On Sun, Apr 17, 2022 at 12:43 AM Truong Bui @.***> wrote:

Hi svcoyle, I'll investigate this issue

— Reply to this email directly, view it on GitHub https://github.com/truong-bui/AsyncLoadingScreen/issues/55#issuecomment-1100802516, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZSSKLU5VXE3KDMPIUSX6LVFOJHNANCNFSM5TSXD4EQ . You are receiving this because you authored the thread.Message ID: @.***>

truong-bui commented 1 year ago

I am still having issues i am getting a lot of errors and then a crash when playing intro movies (2 of them) This is from my log file

Unfortunately, it seems like a bug from the engine because there have been no issues with playing multiple videos before.

truong-bui commented 1 year ago

I am still having issues i am getting a lot of errors and then a crash when playing intro movies (2 of them) This is from my log file >

I've submitted this issue to Epic Games. They confirmed it was a known bug in the engine. You can track the issue here: https://issues.unrealengine.com/issue/UE-173500

svcoyle commented 1 year ago

Yes I received this today https://issues.unrealengine.com/issue/UE-173500

They were able to reproduce it and there is an official bug report, but thank you so much for looking into it

Steve

On Sun, Dec 25, 2022 at 2:29 PM Truong Bui @.***> wrote:

I am still having issues i am getting a lot of errors and then a crash when playing intro movies (2 of them) This is from my log file [2022.12.25-13.12.37:823][ 0]LogMaterial: Display: Missing cached shadermap for HighResScreenshot in PCD3D_SM6, Default, SM6 (DDC key hash: 07498FA004A9F1BE06BFFD8B82678CCB32B8E2E5), compiling. [2022.12.25-13.12.37:840][ 0]LogMaterial: Display: Missing cached shadermap for HighResScreenshotMask in PCD3D_SM6, Default, SM6 (DDC key hash: 718533E08F91241AB4938844057ABB67D7F94C62), compiling. [2022.12.25-13.12.37:924][ 0]LogClass: Error: StructProperty FTextAppearance::ShadowOffset is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:924][ 0]LogClass: Error: StructProperty FTextAppearance::ShadowColorAndOpacity is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:924][ 0]LogClass: Error: ByteProperty FTextAppearance::Justification is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:924][ 0]LogClass: Error: FloatProperty FTipSettings::TipWrapAt is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:924][ 0]LogClass: Error: ByteProperty FALoadingScreenSettings::PlaybackType is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:927][ 0]LogClass: Display: 5 Uninitialized script struct members found including 0 object properties [2022.12.25-13.12.37:942][ 0]LogClass: Warning: Property ArrayProperty FImageSequenceSettings::Images defines MetaData key "AllowedClasses" which contains short type name "Texture2D". Suggested pathname: "/Script/Engine.Texture2D". Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:942][ 0]LogClass: Warning: Property ArrayProperty FBackgroundSettings::Images defines MetaData key "AllowedClasses" which contains short type name "Texture2D". Suggested pathname: "/Script/Engine.Texture2D". Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:976][ 0]LogClass: Display: 2 short type names in reflected types' MetaData [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: UObject.Class AttemptToFindUninitializedScriptStructMembers will be marked as failing due to errors being logged [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: LogClass: StructProperty FTextAppearance::ShadowOffset is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: LogClass: StructProperty FTextAppearance::ShadowColorAndOpacity is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: LogClass: ByteProperty FTextAppearance::Justification is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:977][ 0]LogAutomationTest: Error: LogClass: FloatProperty FTipSettings::TipWrapAt is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:978][ 0]LogAutomationTest: Error: LogClass: ByteProperty FALoadingScreenSettings::PlaybackType is not initialized properly. Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:978][ 0]LogAutomationTest: Warning: LogClass: Property ArrayProperty FImageSequenceSettings::Images defines MetaData key "AllowedClasses" which contains short type name "Texture2D". Suggested pathname: "/Script/Engine.Texture2D". Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:978][ 0]LogAutomationTest: Warning: LogClass: Property ArrayProperty FBackgroundSettings::Images defines MetaData key "AllowedClasses" which contains short type name "Texture2D". Suggested pathname: "/Script/Engine.Texture2D". Module:AsyncLoadingScreen File:Public/LoadingScreenSettings.h [2022.12.25-13.12.37:978][ 0]LogEngine: Initializing Engine... [2022.12.25-13.12.37:982][ 0]LogStats: UGameplayTagsManager::InitializeManager - 0.000 s [2022.12.25-13.12.37:985][ 0]LogMaterial: Display: Missing cached shadermap for WireframeMaterial in PCD3D_SM6, Default, SM6 (DDC key hash: A24977CAA40D4F857B46246CDB176A9DAA1D3496), compiling. Is special engine material. [2022.12.25-13.12.38:699][ 0]LogMaterial: Display: Missing cached shadermap for LevelColorationLitMaterial in PCD3D_SM6, Default, SM6 (DDC key hash: C2BA239CD6D449DCD6D534397515D45973831854), compiling. Is special engine material. [2022.12.25-13.12.39:226][ 0]LogWindows: Error: appError called: Assertion failed: IsInGameThread() [File:D:\build++UE5\Sync\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplayModule.h] [Line: 90] [2022.12.25-13.12.39:226][ 0]LogWindows: Windows GetLastError: The operation completed successfully. (0) [2022.12.25-13.12.40:298][ 0]LogMaterial: Display: Missing cached shadermap for LevelColorationUnlitMaterial in PCD3D_SM6, Default, SM6 (DDC key hash: 09F80C95A5D8EAC4E8CE26B23E0699B01AC3845F), compiling. Is special engine material. [2022.12.25-13.12.40:298][ 0]LogWindows: Error: === Critical error: === [2022.12.25-13.12.40:298][ 0]LogWindows: Error: [2022.12.25-13.12.40:298][ 0]LogWindows: Error: Assertion failed: IsInGameThread() [File:D:\build++UE5\Sync\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplayModule.h] [Line: 90] … <#m_2972859982225977098_m5971722580083078861> On Sun, Apr 17, 2022 at 12:43 AM Truong Bui @.> wrote: Hi svcoyle, I'll investigate this issue — Reply to this email directly, view it on GitHub <#55 (comment) https://github.com/truong-bui/AsyncLoadingScreen/issues/55#issuecomment-1100802516>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZSSKLU5VXE3KDMPIUSX6LVFOJHNANCNFSM5TSXD4EQ https://github.com/notifications/unsubscribe-auth/APZSSKLU5VXE3KDMPIUSX6LVFOJHNANCNFSM5TSXD4EQ . You are receiving this because you authored the thread.Message ID: @.>

Unfortunately, it seems like a bug from the engine because there have been no issues with playing multiple videos before.

— Reply to this email directly, view it on GitHub https://github.com/truong-bui/AsyncLoadingScreen/issues/55#issuecomment-1364728151, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZSSKM6ZILCUMHAPMJV6GTWPCOAPANCNFSM5TSXD4EQ . You are receiving this because you authored the thread.Message ID: @.***>