Forum rules - please read before posting.

Version 1.84 - Unity 6.1 - Loading bar

edited September 18 in Engine development

Hi,

I have two small problems with the loading bar.

I did the tutorial "creating a loading bar". I created a scene specifically for the loading.
The problem is that the loading menu doesn't show up in the loading scene I created, whereas if I check load scenes asynchronously, I can see that it displays correctly.


My Loading Scene :

The second problem is that after loading my loading scene, the menu of my title screen is displayed again and the other menus (inventory, Ingame) are no longer displayed.

Comments

  • edited September 18

    For the title screen problem, I added an action list in which I make a LockMenu on the title screen.

    On the other hand, the loading menu still doesn't show up in my loading scene.

  • I fixed the problem, it works but I don't have the timer bar displayed.
    I only have the loading text that is displayed.

  • There is a message that says that Loading Progress cannot work without asynchronous in the settings, but even by checking the box, it doesn't change anything.

  • Does the bar only show in full, or not at all?

    The value shown is based on Unity's recorded progress when loading the given scene, so it depends on what the scene contains. Is the scene so heavy such that it requires a loading scene?

  • No, the bar is not displayed at all. The scene that is being charged is very light.
    Is it because the scene is very light to load that I don't see the loading bar ?

  • It should be that the bar is displayed in full at the very end regardless of the time taken.

    Looks like there's a small typo in the code preventing this.

    To fix: open up AC's MenuTimer script and look for the following around line 236:

    if (progress <= 0f && timerType == AC_TimerType.LoadingProgress)
    

    Replace with:

    if (newProgress <= 0f && timerType == AC_TimerType.LoadingProgress)
    
  • I corrected the line but it didn't change anything.

  • Try zero-ing the Timer element's "Smoothing factor". If still nothing, it sounds like the scene is just too light.

  • He was already at 0. Yes, maybe it's because the scene is really very light

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.