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
전문가
검토됨 한 달 전
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년 전

이 게시물은 마감됨: 새 답변, 댓글 및 투표 추가가 비활성화되었습니다.

관련 콘텐츠