# \_MSAAFrameBuffer Undefined?

**URL:** <https://forum.babylonjs.com/t/msaaframebuffer-undefined/44897>\
**Category:** Questions\
**Created:** [October 13, 2023, 11:25pm UTC](https://forum.babylonjs.com/t/msaaframebuffer-undefined/44897 "2023-10-13T23:25:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [October 13, 2023, 11:25pm UTC](https://forum.babylonjs.com/t/msaaframebuffer-undefined/44897/1 "2023-10-13T23:25:11Z")

</div>

> **[Babylon.js Playground](https://playground.babylonjs.com/#C43LFR%231)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

So I have found a setup where I allow users to toggle effects on and off through a menu. This was reproduced in a playground. The setup was these postEffectsPipeline settings were all enabled

If you comment out chromaticAberrationEnabled then it seems to work fine.

Figured there might be an easy fix for this.

---

<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:** [October 15, 2023, 3:22pm UTC](https://forum.babylonjs.com/t/msaaframebuffer-undefined/44897/2 "2023-10-15T15:22:50Z")

</div>

Assigned @Evgeni\_Popov on October 15, 2023, 3:22pm UTC



---

<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:** [October 15, 2023, 4:04pm UTC](https://forum.babylonjs.com/t/msaaframebuffer-undefined/44897/3 "2023-10-15T16:04:53Z")

</div>

Thanks for reporting and the repro!

Here’s the fix:

> <https://github.com/BabylonJS/Babylon.js/pull/14425>
>
> See https://forum.babylonjs.com/t/msaaframebuffer-undefined/44897
> 
> It seems my… fix in #13535 was too broad, so I added code to only perform the deferred call during the construction of the \`DefaultRenderingPipeline\` object.
> 
> Here's the PG that #13535 fixed: https://playground.babylonjs.com/#5CX9XL
> 
> Here's a PG that fails with the fix from #13535 (look at the console) but works with the current PR: https://playground.babylonjs.com/#C43LFR#6

---

<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:** [October 15, 2023, 4:13pm UTC](https://forum.babylonjs.com/t/msaaframebuffer-undefined/44897/4 "2023-10-15T16:13:47Z")

</div>

Unassigned @Evgeni\_Popov on October 15, 2023, 4:13pm UTC


