# Fail to interact with button

**URL:** https://forum.magicleap.cloud/t/fail-to-interact-with-button/3059
**Category:** App Simulator
**Created:** [January 22, 2024, 5:17pm UTC](https://forum.magicleap.cloud/t/fail-to-interact-with-button/3059 "2024-01-22T17:17:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![yanghouze](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/yanghouze/32/1470_2.png) [@yanghouze](https://forum.magicleap.cloud/u/yanghouze)
#### Post date: [January 22, 2024, 5:17pm UTC](https://forum.magicleap.cloud/t/fail-to-interact-with-button/3059/1 "2024-01-22T17:17:13Z")

</div>

I met a bug when working with Application Simulator and I am writing to discuss that if there are some tips about solving it.

When I click the play button in unity, the scene was correctly displayed in the Application Simulator. The data in UI, for example, controller scene, was changing correctly when I move/rotate/click buttons on controller. However, when I moved the indicator on the button and tried to click it, although the UI showed trigger is clicked, nothing happened there. (As showed in attached image) I test it several times and the button events (both hover and click) weren't triggered.

To solve this problem, I looked into the code of the UI and they are all correct. In addition, I test the project on MagicLeap 2 device and the buttons worked properly (I think this can indicate that the error is not caused by the code). Then, I tried to reconfig both of Unity and Application Simulator, and I tried with various versions of MLSDK and Application Simulators. But none of them worked. Finally, I search on google and unity forum but there's no related topic about it.

For information of my system, I am on WIndows 10, using unity 2022.2.0.f1, MLC SDK is 1.5.0 and Magic Leap Application Simulator (ZI) Runtime version is 3.8.0.20231028.

 ![click](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/c/c9dbbc64496d83d45caf146d8f5cde0e04b2bfe5.png)

---

<div class="post-metadata">

### Author: ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)
#### Post date: [January 22, 2024, 9:54pm UTC](https://forum.magicleap.cloud/t/fail-to-interact-with-button/3059/2 "2024-01-22T21:54:25Z")

</div>

Hi @yanghouze,

Welcome to the Magic Leap 2 Developer Forums. We are so grateful to have you here engaging with us.

Is this [solution](https://forum.magicleap.cloud/t/ml-2-simulation-interactions-unity/2152/4) helpful for you? I will be sure to let our team know about this issue to have it be more visually apparent.

Best,

El

---

<div class="post-metadata">

### Author: ![yanghouze](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/yanghouze/32/1470_2.png) [@yanghouze](https://forum.magicleap.cloud/u/yanghouze)
#### Post date: [January 23, 2024, 5:43pm UTC](https://forum.magicleap.cloud/t/fail-to-interact-with-button/3059/3 "2024-01-23T17:43:02Z")

</div>

Thank you very much, that helps a lot and solve my problem. The problem is that I am using the end of red ray to click but actually I should somewhere in middle. After solved the problem following your instruction, I also tried to uncheck rendering two eyes and keep the manipulation model as None. The scene still works. May I ask that what is the purpose for these setting please?

---

<div class="post-metadata">

### Author: ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)
#### Post date: [January 24, 2024, 7:32pm UTC](https://forum.magicleap.cloud/t/fail-to-interact-with-button/3059/4 "2024-01-24T19:32:53Z")

</div>

In the App Simulator, the two-eye rendering setting changes the device view to display both eyes rather than a single eye view.

The manipulation mode selection of "none" allows you to select the object without translating, rotating, or scaling the object. This is helpful for selecting the object without accidentally manipulating it.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/bd9b737a4d45ea243aa7eb177d60a773b806899a.svg) [@system](https://forum.magicleap.cloud/u/system)
#### Post date: [February 8, 2024, 7:33pm UTC](https://forum.magicleap.cloud/t/fail-to-interact-with-button/3059/5 "2024-02-08T19:33:22Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
