# Unity Exporter not building the Project throwing TypeScript Compile error

**URL:** <https://forum.babylonjs.com/t/unity-exporter-not-building-the-project-throwing-typescript-compile-error/41407>\
**Category:** Questions\
**Tags:** unity-exporter, typescript\
**Created:** [June 6, 2023, 10:30am UTC](https://forum.babylonjs.com/t/unity-exporter-not-building-the-project-throwing-typescript-compile-error/41407 "2023-06-06T10:30:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shubham](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/shubham/32/22838_2.png) [@Shubham](https://forum.babylonjs.com/u/Shubham)\
**Post date:** [June 6, 2023, 10:30am UTC](https://forum.babylonjs.com/t/unity-exporter-not-building-the-project-throwing-typescript-compile-error/41407/1 "2023-06-06T10:30:28Z")

</div>

Hi, until now I was using Unity Exporter Babylon version 5.0.0 - A24.9X and Unity version 2020.1.8f1, Now I was trying the new Unity Exporter Babylon version 5.0.0 - A63.1X but when I click on build project it throws me some compiling error

```auto
C:/Users/..../AppData/Roaming/npm/node_modules/typescript/lib/lib.dom.d.ts(24243,11): error TS2430: Interface 'WebGLRenderingContext' incorrectly extends interface 'WebGLRenderingContextBase'.
  Types of property 'COLOR_ATTACHMENT0' are incompatible.
    Type 'number' is not assignable to type '36064'.

System.UnityTools:CompileProjectScriptBundle(StreamWriter, String, String, String, String, Boolean, String)
CanvasTools.CanvasToolsExporter:ExportProject(String, EditorSceneInformation, EditorBuildType, Transform[], String, String)
CanvasTools.CanvasToolsExporter:BuildProject(EditorBuildType, Transform[], String, String)
CanvasTools.CVPanel:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

```

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [June 6, 2023, 4:41pm UTC](https://forum.babylonjs.com/t/unity-exporter-not-building-the-project-throwing-typescript-compile-error/41407/2 "2023-06-06T16:41:20Z")

</div>

cc @MackeyK24
