# Unity Asset and Vision Pro

**URL:** <https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241>\
**Category:** Pulse Physiology Engine\
**Created:** [March 5, 2024, 9:40pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241 "2024-03-05T21:40:50Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayfel](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Ayfel](https://discourse.kitware.com/u/Ayfel)\
**Post date:** [March 5, 2024, 9:40pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/1 "2024-03-05T21:40:50Z")

</div>

Hi,

Can you recompile the dlls so it is compatible with Vision Pro? We have it working on other platforms otherwise.

Best,  
Alejandro

---

<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 5, 2024, 10:50pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/2 "2024-03-05T22:50:20Z")

</div>

I am not sure when we will be able to do this and what the build requirements are for the Vision and what all I would need to do in building… let alone test it… I assume you would want this for Unity?

Maybe its as easy as flipping a switch in xcode… maybe not…

---

<div class="post-metadata">

**Author:** ![David\_Greco](https://discourse.kitware.com/user_avatar/discourse.kitware.com/david_greco/32/876_2.png) [@David\_Greco](https://discourse.kitware.com/u/David_Greco)\
**Post date:** [March 5, 2024, 11:39pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/3 "2024-03-05T23:39:08Z")

</div>

I think that it should be that easy. The existing code should work it just needs to be recompiled from the new Xcode to support that platform. This was very common with libraries as the arm cpus evolved. Hardly anything required refactoring or anything extra to make it work.

---

<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 6, 2024, 1:36pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/4 "2024-03-06T13:36:17Z")

</div>

[Per our build intructions](https://gitlab.kitware.com/physiology/engine#ios), we will need to figure out the proper [CMake toolchain](https://gitlab.kitware.com/physiology/engine/-/blob/stable/cmake/ios.toolchain.cmake?ref_type=heads) to use for VisionOS…

This repo seems [to have one](https://github.com/leetal/ios-cmake/blob/master/ios.toolchain.cmake) that has some VisionOS references in it, which may or may not work when integrated into our CMake system… they seem to be doing different things, but this one might be worth moving to since it seems to have support for so many Apple platforms…

---

<div class="post-metadata">

**Author:** ![Ayfel](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Ayfel](https://discourse.kitware.com/u/Ayfel)\
**Post date:** [March 6, 2024, 6:26pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/5 "2024-03-06T18:26:48Z")

</div>

Looks promising!

---

<div class="post-metadata">

**Author:** ![Ayfel](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Ayfel](https://discourse.kitware.com/u/Ayfel)\
**Post date:** [March 18, 2024, 2:14pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/6 "2024-03-18T14:14:12Z")

</div>

Any updates on this? We are holding on for a Vision Pro release and this is one of our last “blockers”.

---

<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 19, 2024, 2:51am UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/7 "2024-03-19T02:51:34Z")

</div>

Sorry, I have not gotten around to testing this out.  
I will see what I can do before the end of March

---

<div class="post-metadata">

**Author:** ![David\_Greco](https://discourse.kitware.com/user_avatar/discourse.kitware.com/david_greco/32/876_2.png) [@David\_Greco](https://discourse.kitware.com/u/David_Greco)\
**Post date:** [March 27, 2024, 3:36pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/8 "2024-03-27T15:36:05Z")

</div>

Thanks Abray, we’re on standby to test this once it is ready. Are you still targeting sometime before the end of this week for this?

---

<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 27, 2024, 7:01pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/9 "2024-03-27T19:01:26Z")

</div>

I had to find an arm64 Mac that supported the latest version of XCode  
It still seems to not be happy…but I will take another swing at it this week  
That cmake file is doing some weird stuff… so I am trying to figure out my own  
We’ll see how it goes…

---

<div class="post-metadata">

**Author:** ![David\_Greco](https://discourse.kitware.com/user_avatar/discourse.kitware.com/david_greco/32/876_2.png) [@David\_Greco](https://discourse.kitware.com/u/David_Greco)\
**Post date:** [March 27, 2024, 7:30pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/10 "2024-03-27T19:30:52Z")

</div>

Sorry to hear about that trouble. Thanks for the update. I hope we can figure this out in time for our VisionOS releases so that we can maintain our support for Pulse there.

---

<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:** [April 3, 2024, 1:01pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/11 "2024-04-03T13:01:09Z")

</div>

Hey Guys,

I am having a hard time with XCode on an arm64 machine.  
This combination seems to have more restrictions that keep throwing me for a loop whenever I build anything with xcode… makefile builds work fine… I am not very fluent in xcode or the osx permission system…

The iOS build instructions work fine on a x86\_64 machine, but not on an arm64 machine… So I seem to be making some assumptions in the build procedure that are not arm64 compatible… and teasing those out are going to take some time. I have a few emails out with questions to some mac users, but I don’t see this being resolved quickly… these kinds of issues just seem to require dedicating lots of time for wacking my head against a wall to figure out what the build wants…

---

<div class="post-metadata">

**Author:** ![David\_Greco](https://discourse.kitware.com/user_avatar/discourse.kitware.com/david_greco/32/876_2.png) [@David\_Greco](https://discourse.kitware.com/u/David_Greco)\
**Post date:** [April 29, 2024, 1:59pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/12 "2024-04-29T13:59:26Z")

</div>

Have you been able to revisit this at all yet?

---

<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:** [April 29, 2024, 10:49pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/13 "2024-04-29T22:49:24Z")

</div>

I have not swung back around.  
I don’t know too many mac developers,and those I do know, do not use Xcode  
I am not sure why I am having so much trouble with Xcode and Pulse on a arm64 machine.

---

<div class="post-metadata">

**Author:** ![David\_Greco](https://discourse.kitware.com/user_avatar/discourse.kitware.com/david_greco/32/876_2.png) [@David\_Greco](https://discourse.kitware.com/u/David_Greco)\
**Post date:** [June 4, 2024, 3:48am UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/14 "2024-06-04T03:48:06Z")

</div>

Have you been able to find anyone that is able to help with this? We’d really like to be able to release this with support for the VisionPro to the Apple Store with our initial launch (it works on all the other platforms so we don’t want to break feature parity if possible)

---

<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:** [June 4, 2024, 1:12pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/15 "2024-06-04T13:12:36Z")

</div>

I have an idea I am going to try next

I will keep you posted

---

<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:** [June 10, 2024, 2:18pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/16 "2024-06-10T14:18:18Z")

</div>

Here is my latest attempt at building the [UNITY\_4\_2\_0 tag](https://gitlab.kitware.com/physiology/engine/-/tags/UNITY_4_2_0) for xros

[https://data.kitware.com/api/v1/item/66670a9c51a732941b30ec01/download](https://data.kitware.com/api/v1/item/66670a9c51a732941b30ec01/download)

See how this works…

---

<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:** [June 17, 2024, 1:33pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/17 "2024-06-17T13:33:45Z")

</div>

Is this working @David_Greco ?

---

<div class="post-metadata">

**Author:** ![David\_Greco](https://discourse.kitware.com/user_avatar/discourse.kitware.com/david_greco/32/876_2.png) [@David\_Greco](https://discourse.kitware.com/u/David_Greco)\
**Post date:** [June 17, 2024, 2:56pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/18 "2024-06-17T14:56:47Z")

</div>

Sorry, we got distracted with some other dev tasks. There is a lot in this zip file, do we need to include everything or just the pulse.a and pulseengine.a?

---

<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:** [June 17, 2024, 3:01pm UTC](https://discourse.kitware.com/t/unity-asset-and-vision-pro/1241/19 "2024-06-17T15:01:48Z")

</div>

I believe you will only need to link to all of the .a libraries, except PulseC.a

This should be compatible with states created using the latest Pusle Asset from the Unity store

I’d be interested if things just build and you get a runnable package that works on your Vision OS

If, for some reason, your states are not compatible, we can iron that out pretty easily
