GUI buttons no more working after changing cameras viewport

Would you have a PG to share? Even just a simplified version? I believe your issue does come from the way you are handling cameras and layerMask. I also think this is totally achievable (but without the PG, I would need to reproduce it from scratch and I don’t really feel like it (sry).

I can however make a couple of assumptions for your issues:

Likely because it is expressed in percentage mode. When you resize your ADT to 50% of the width, controls are resized to the size of the container

Likely a layerMask and/or camera order issue.

Same as above. Although it could also be a pointerBlocker issue. Depends on how your ADT is built.

Again, layerMasks and camera controls are key here…

Edit: I fixed something similar just lately, may be it can help (else, as I said, give me the PG and I shall have a look at it)

There are also some more info for layerMasks in this post (and more to come in the doc soon to extend this section for ‘in-depth layerMask’)

2 Likes