playMaker

Author Topic: Animated loading screen - Unity is unresponsive with async scene loading  (Read 1168 times)

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Hi guys,

this is a common problem solved with coroutines when scripting. I have a loading screen that's supposed to be animated, but asyng loading chokes up the main thread so it's not animated. Any Playmaker solutions to this one?
Available for Playmaker work

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Hi,

 playmaker has coroutines built in its dna, any actionos set to everyframe on an active state will be running IF unity update frame rate is not 0...


so if you load asynch a scene, watch for the loading percent, but during that process some part of it will block the main thread indeed, like audio and assets decompression.

have you implemented a scene loading UI already?

Bye,

 Jean



Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Hi Jean,

it's implemented but i can change it easily. It's a simple prefab with a sprite renderer and an animator component so i'm not sure how could i make that work.
Available for Playmaker work

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Bump. Anyone had this issue and perhaps found a solution?
Available for Playmaker work