Using the Level Loading Screen Config

0

I am aware of the data given here and here on creating a loading screen between levels. I have a level.cfg file at <gameproject>/Levels/<levelname>, and the UInamed "finalLevelLoadingUI.uicanvas" at the same level. The level.cfg file contains this one line:

level_load_screen_uicanvas_path = "finalLevelLoadingUI.uicanvas"

However, when I launch the level (from another level), all I get is a black screen (the UI is blue, with loading text) before going to the actual level. I have tried other CVars (i.e. e_Sun), and those have propagated fine. I have also verified that AZ_LOADSCREENCOMPONENT_ENABLED is 1 in code.

What am I doing wrong?

質問済み 6年前199ビュー
3回答
0
承認された回答

Hi @REDACTEDUSER

The level_load_screen_uicanvas_path is relative to your <gameproject> root directory. Try this path instead (substituting for the correct path names):

level_load_screen_uicanvas_path = "Levels/<levelname>/finalLevelLoadingUI.uicanvas"

Update: accidentally had <gameproject> in the CFG path. This isn't needed since the path itself is relative to the game project root directory.

回答済み 6年前
profile picture
エキスパート
レビュー済み 1ヶ月前
0

Thank you @REDACTEDUSER

Follow-up question: is it possible to get the text changed on the documentation page for this content? Specifically this area (I don't want anyone else misinformed); I have already submitted feedback for this as well:

level_load_screen_uicanvas_path – File path to the .uicanvas level load screen file relative to your level path.
For example, if your level load canvas is at \dev\StarterGame\Levels\StarterGame\UiAnimMultiSequence.uicanvas (root of the level directory— same as level.cfg), you would type UiAnimMultiSequence.uicanvas for this parameter.<br>
回答済み 6年前
0

Hi @REDACTEDUSER

回答済み 6年前

この投稿はクローズされています。新しい回答、コメント、投票の追加はできません。

関連するコンテンツ