# Double Fxaa deserialize error

**URL:** <https://forum.babylonjs.com/t/double-fxaa-deserialize-error/45561>\
**Category:** Bugs\
**Tags:** sceneserializer\
**Created:** [November 9, 2023, 8:54am UTC](https://forum.babylonjs.com/t/double-fxaa-deserialize-error/45561 "2023-11-09T08:54:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangShine](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/wangshine/32/35832_2.png) [@wangShine](https://forum.babylonjs.com/u/wangShine)\
**Post date:** [November 9, 2023, 8:54am UTC](https://forum.babylonjs.com/t/double-fxaa-deserialize-error/45561/1 "2023-11-09T08:54:38Z")

</div>

Hello~  
The deserialization process reports an error when two Fxaa scenarios exist.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/e/aea1439c6c5b25baeef742633965dedd957725ed.png)

The Fxaa’s width and height were assigned values during deserialization, and the loadTexture of the second Fxaa was not loaded successfully due to the assignment, which caused the scene rendering to fail. The deserialization process of Fxaa should not assign values to width and height.

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

---

<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:** [November 9, 2023, 12:44pm UTC](https://forum.babylonjs.com/t/double-fxaa-deserialize-error/45561/2 "2023-11-09T12:44:41Z")

</div>

This PR will fix the problem:

> <https://github.com/BabylonJS/Babylon.js/pull/14505>
>
> See https://forum.babylonjs.com/t/double-fxaa-deserialize-error/45561
> 
> The pro…blem occurred when parsing a previously serialized post-process, if the current width/height of the output window is the same as the serialized width/height: in this case, we didn't execute the target creation code, which led to the error.
