# How to detect the completion of initialization

**URL:** <https://forum.babylonjs.com/t/how-to-detect-the-completion-of-initialization/40952>\
**Category:** Questions\
**Created:** [May 18, 2023, 7:27pm UTC](https://forum.babylonjs.com/t/how-to-detect-the-completion-of-initialization/40952 "2023-05-18T19:27:57Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [May 23, 2023, 9:34am UTC](https://forum.babylonjs.com/t/how-to-detect-the-completion-of-initialization/40952/14 "2023-05-23T09:34:35Z")

</div>

This PR will make sure that everything is ready before `scene.isReady` returns true, even when using the pre-pass renderer:

> <https://github.com/BabylonJS/Babylon.js/pull/13888>
>
> See https://forum.babylonjs.com/t/how-to-detect-the-completion-of-initialization…/40952/7 and https://forum.babylonjs.com/t/model-load-much-slower-with-cascadedshadow-and-prepassrenderer/40893/6.

---

_[View the full topic](https://forum.babylonjs.com/t/how-to-detect-the-completion-of-initialization/40952)._
