playMaker

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

rainexplorer

  • Junior Playmaker
  • **
  • Posts: 61
    • View Profile
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: 14237
  • Official Playmaker Support
    • View Profile
Re: How to preload multiple scene at first scene (async) then loading
« Reply #1 on: August 28, 2018, 11:45:41 PM »
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