# Scene ready observable not firing with v5.35.0

**URL:** <https://forum.babylonjs.com/t/scene-ready-observable-not-firing-with-v5-35-0/36166>\
**Category:** Bugs\
**Tags:** scene, observables\
**Created:** [December 1, 2022, 10:33am UTC](https://forum.babylonjs.com/t/scene-ready-observable-not-firing-with-v5-35-0/36166 "2022-12-01T10:33:33Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![yvele](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/yvele/32/20256_2.png) [@yvele](https://forum.babylonjs.com/u/yvele)\
**Post date:** [December 5, 2022, 3:47pm UTC](https://forum.babylonjs.com/t/scene-ready-observable-not-firing-with-v5-35-0/36166/15 "2022-12-05T15:47:37Z")

</div>

> [@sebavan](#):
>
> …as nothing obvious between both releases could lead to your observations:-(

@sebavan I’ve checked the diff between the 2 versions: [Comparing 5.34.0...5.35.0 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/compare/5.34.0...5.35.0#diff-317609d9f40bd4ce279d7a9e2aed209b2fb33fbe3b412ed94ded2fed14534ae1R369)

And it looks like the root observable class has been modified with: **Observable: Do not include deleted observers in hasObservers result**

- [Observable: Do not include deleted observers in hasObservers result by Popov72 · Pull Request #13283 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/pull/13283)
- [Observable: Do not include deleted observers in hasObservers result by Popov72 · Pull Request #13283 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/pull/13283/commits/85d73c955d0e7216ddaba12912c8abdc49d3122c#diff-317609d9f40bd4ce279d7a9e2aed209b2fb33fbe3b412ed94ded2fed14534ae1R369)

I’ve just updated to v5.35.1 to reproduce the bug… but when I go to node\_modules and manually comment this:

```auto
    /**
     * Gets a boolean indicating if the observable has at least one observer
     * @returns true is the Observable has at least one Observer registered
     */
    hasObservers() {
        return this._observers.length/* - this._numObserversMarkedAsDeleted*/ > 0;
    }

```

Everything is working fine 😉

So… looks like there is a bug with your PR @Evgeni_Popov could you check please? 🙏

Edit: Related to [Observable.hasObservers() is still true after removing all the observers - #4 by sharp](https://forum.babylonjs.com/t/observable-hasobservers-is-still-true-after-removing-all-the-observers/35987/4)

---

_[View the full topic](https://forum.babylonjs.com/t/scene-ready-observable-not-firing-with-v5-35-0/36166)._
