playMaker

Author Topic: How to preload multiple scene at first scene (async) then loading  (Read 14157 times)

rainexplorer

  • Junior Playmaker
  • **
  • Posts: 65
Hi,

i try to async load multiple scene at first scene, there about 5 scenes to load (as Menu) and i use additive loadscene mode...



scene has loaded, but everytime i do activate only scene that i choose, it wont go to choosen scene. also it appear warning : "There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene." there's duplicate image object prove that 2 scene running at same time....

also it seems that the scene that has loaded can't be deleted :



here's my playmaker flow to load & unload level :



and it's content :

and


....However, if i just load async 1 scene (not multiple), it run smoothly...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: How to preload multiple scene at first scene (async) then loading
« Reply #1 on: August 29, 2018, 02:45:41 AM »
Hi,

 for the audioListener, you'll need to organise your scenes so that they don't feature the audio listener, and only your main scene does, then you won't have the warning.

else, you put your audioListener on a singleton GameObject, that will work too.

for multiple loading, try first with two scenes, then expand to more when you can control the two scenes properly.

also, please check the sample on the Ecosystem, let me know if it doesn't work as you expected there too.



Bye,

 Jean

tbelgrave

  • Playmaker Newbie
  • *
  • Posts: 45
    • Ispyr Inc
Re: How to preload multiple scene at first scene (async) then loading
« Reply #2 on: February 12, 2025, 07:05:37 AM »
@jeanfabre Hi, I know this is an old thread, but I'm having a very difficult time getting this to work. I downloaded Scenes Pre load, and I'm trying with 2 scenes and it keeps getting stuck. Are there any tutorials for async loading multiple scenes?

Also for me additive loading won't be ideal in my case as it's a moble UI based game which only uses 3 scenes 99% of the time and 1 scene for the game complete

main
levelContainer
levelComplete

So while in the levelContainer I can preload either the levelComplete or main. Preloading the Main, will likely be the best because the levelComplete scene isn't much to it.

BUT in levelComplete I would like to preload levelContainer primarily and main secondary just to give a better game feel. Right now in the levelComplete scene without preloading, there's a noticable loading period

Thanks for any help

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: How to preload multiple scene at first scene (async) then loading
« Reply #3 on: April 03, 2025, 05:26:50 AM »
Hi,

 getting through backlogs, did you figure it out?

Bye,

Jean

rkaiik

  • Playmaker Newbie
  • *
  • Posts: 1
    • geometry dash lite
Re: How to preload multiple scene at first scene (async) then loading
« Reply #4 on: April 10, 2025, 03:53:07 AM »
I can't get this new one to load, it feels better when you play cool platform games