# Engine does not run in Android Unity build (IL2CPP)

**URL:** <https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968>\
**Category:** Pulse Physiology Engine\
**Created:** [January 31, 2023, 3:13am UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968 "2023-01-31T03:13:25Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)\
**Post date:** [March 8, 2023, 10:17pm UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968/21 "2023-03-08T22:17:01Z")

</div>

That android-arm using level 26 API ran on my occulus  
I just created a default VR project in Unity 2022, added the Pulse Asset (from our repo, not the store), and copied the vitals monitor into the default vr scene

The line renderer we have does not seem to play well with being in a 3D world  
I am messing with it, but no Unity expert, so maybe its something simple, but maybe not…

[Here is the asset file](https://data.kitware.com/api/v1/item/640908ef7b0dfcc98f66aea0/download)

---

<div class="post-metadata">

**Author:** ![dhuang101](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/d/f475e1/32.png) [@dhuang101](https://discourse.kitware.com/u/dhuang101)\
**Post date:** [March 10, 2023, 2:41pm UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968/22 "2023-03-10T14:41:29Z")

</div>

Still no luck for me on the Vive Focus 3 even using the .unitypackage file.  
No changes were required to the build/player settings right?

Also, the line renderers seem to work great for me if I stream the game from a PC so there are no issues with that on my end.

---

<div class="post-metadata">

**Author:** ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)\
**Post date:** [March 10, 2023, 2:49pm UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968/23 "2023-03-10T14:49:49Z")

</div>

I don’t thinks so  
But I followed this tutorial in setting up my VR scene

[![](https://discourse.kitware.com/uploads/default/original/1X/4d4ea6b27c2713e11d2f0180fbc0b85e19ad4bd1.jpeg "How To Build a Unity VR project to the Oculus Quest (and other devices)") ](https://www.youtube.com/watch?v=pNYY1JsS7tY)

I am still waiting on getting a Focus 3 from someone…

---

<div class="post-metadata">

**Author:** ![studiobloom](https://discourse.kitware.com/user_avatar/discourse.kitware.com/studiobloom/32/681_2.png) [@studiobloom](https://discourse.kitware.com/u/studiobloom)\
**Post date:** [March 17, 2023, 8:45pm UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968/24 "2023-03-17T20:45:06Z")

</div>

i think the line renderer issue can be fixed by setting a UI material in the inspector tab. however even with your updated libPulseC.so and libc++ files dropped into ArmV8 did not fix the lack of anything happening with the monitor when running on my quest 1 or 2 (just got the q2 this weekend).

 ![linerender](https://discourse.kitware.com/uploads/default/original/1X/91350e7d12ae431372a3681915794d851cb18471.png)

im building to ARM64, is this why? i’m also crossing my fingers that it is not due to me using unity 2019.4.4 opposed to you using 2022

edit: to my knowledge meta requires apps uploaded to applab to be arm64, would love to be incorrect on that though

---

<div class="post-metadata">

**Author:** ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)\
**Post date:** [March 18, 2023, 4:04pm UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968/25 "2023-03-18T16:04:15Z")

</div>

I am not sure how well the Occulus is supported in 2019.4  
I can see if I can get a base VR in that version

---

<div class="post-metadata">

**Author:** ![studiobloom](https://discourse.kitware.com/user_avatar/discourse.kitware.com/studiobloom/32/681_2.png) [@studiobloom](https://discourse.kitware.com/u/studiobloom)\
**Post date:** [March 18, 2023, 5:49pm UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968/26 "2023-03-18T17:49:45Z")

</div>

2019 works fine with oculus, i have multiple projects that use it. i tried a fresh project with your asset file and built to quest but the monitor still was not populating data or the line renderers after building to APK.

could you upload the entire project you got running on your quest device? all it has was the PE assets

---

<div class="post-metadata">

**Author:** ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)\
**Post date:** [March 18, 2023, 6:18pm UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968/27 "2023-03-18T18:18:30Z")

</div>

Here is the contents of my project, all inside a `2022 VR` folder

[https://data.kitware.com/api/v1/item/6416003c7b0dfcc98f66bd5a/download](https://data.kitware.com/api/v1/item/6416003c7b0dfcc98f66bd5a/download)

---

<div class="post-metadata">

**Author:** ![studiobloom](https://discourse.kitware.com/user_avatar/discourse.kitware.com/studiobloom/32/681_2.png) [@studiobloom](https://discourse.kitware.com/u/studiobloom)\
**Post date:** [March 18, 2023, 6:20pm UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968/28 "2023-03-18T18:20:18Z")

</div>

awesome, downloading and opening now:)

---

<div class="post-metadata">

**Author:** ![Valeria\_Ba](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/v/958977/32.png) [@Valeria\_Ba](https://discourse.kitware.com/u/Valeria_Ba)\
**Post date:** [August 29, 2023, 8:09am UTC](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968/29 "2023-08-29T08:09:56Z")

</div>

> awesome, downloading and opening now:)

thank you. its worked

[Previous page](https://discourse.kitware.com/t/engine-does-not-run-in-android-unity-build-il2cpp/968.md?page=1)
