# Does Babylon Native support Babylon.GUI?

**URL:** <https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610>\
**Category:** Questions\
**Tags:** gui, native\
**Created:** [January 19, 2021, 12:38am UTC](https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610 "2021-01-19T00:38:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_ACZ](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/brandon_acz/32/13767_2.png) [@Brandon\_ACZ](https://forum.babylonjs.com/u/Brandon_ACZ)\
**Post date:** [January 19, 2021, 12:38am UTC](https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610/1 "2021-01-19T00:38:01Z")

</div>

Hi, Currently i’m using Babylon Native for Android Apps. I’m trying to run an AR game that uses babylon.gui. I have tried:

BABYLON.GUI.AdvancedDynamicTexture.CreateFullscreenUI

BABYLON.GUI.AdvancedDynamicTexture.CreateForMesh

and both of these approaches doesn’t work. In Babylon Native i get a black screen (android app log shows no errors). Does babylon native have GUI support? Are there plans to add GUI capabilities soon?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [January 19, 2021, 6:16pm UTC](https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610/2 "2021-01-19T18:16:11Z")

</div>

Adding @bghgary

---

<div class="post-metadata">

**Author:** ![jelster](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jelster/32/25881_2.png) [@jelster](https://forum.babylonjs.com/u/jelster)\
**Post date:** [January 19, 2021, 7:42pm UTC](https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610/3 "2021-01-19T19:42:18Z")

</div>

My understanding of Babylon Native was that anything that involves a Canvas element is not currently working in Native. Unfortunately, I think that includes BABYLON.GUI, since `AdvancedDynamicTexture` IIRC adds a render layer onto the canvas.

Of course, as Deltakosh mentioned, Gary would be the best authority on this 🙂

---

<div class="post-metadata">

**Author:** ![JCPalmer](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jcpalmer/32/42_2.png) [@JCPalmer](https://forum.babylonjs.com/u/JCPalmer)\
**Post date:** [January 19, 2021, 8:16pm UTC](https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610/4 "2021-01-19T20:16:53Z")

</div>

I also have concern about 3DGUI too, since text for buttons is generated using a canvas for sure.

This is why I have continued working on my old Dialog extension, now XR-UIPortal, which has internal hand tracking. It is mesh based, even the text. I am not planning on supporting it, though I may publish a scene with it.

---

<div class="post-metadata">

**Author:** ![jelster](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jelster/32/25881_2.png) [@jelster](https://forum.babylonjs.com/u/jelster)\
**Post date:** [January 19, 2021, 9:00pm UTC](https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610/5 "2021-01-19T21:00:43Z")

</div>

> [@JCPalmer](#):
>
> text for buttons is generated using a canvas

When I thought about it for a second, I realized that things like font loading (more akin to compiling a shader) and text blitting are all things that we get ‘for free’ from the Canvas in BABYLON.GUI. That and how the GUI controls mostly use CSS property strings for layout and styling also seems to track with the high complexity for replacing this in Native!

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [January 19, 2021, 11:03pm UTC](https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610/6 "2021-01-19T23:03:11Z")

</div>

We don’t have GUI support yet. @Cedric has a prototype for this in a [PR](https://github.com/BabylonJS/BabylonNative/pull/441), but it is not ready for merging yet. It will be some time before we can support GUI.

---

<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:** [May 4, 2021, 8:31pm UTC](https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610/7 "2021-05-04T20:31:42Z")

</div>

Any forward progress on this?

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [May 4, 2021, 8:41pm UTC](https://forum.babylonjs.com/t/does-babylon-native-support-babylon-gui/17610/8 "2021-05-04T20:41:59Z")

</div>

You can follow the progress in this issue: [Canvas polyfill (GUI & Text rendering) · Issue #616 · BabylonJS/BabylonNative (github.com)](https://github.com/BabylonJS/BabylonNative/issues/616)
