Many people in the Issues asked how to run the samples on Unity 2019.4, and I managed to run the example. I'll share what I did to get it to run so that others can hopefully avoid the time I spent experimenting and trying it out. Maybe someone with more knowledge can also fix my workarounds.
Maybe this isn't hard for experienced people, but it took a good long day to figure it all out.
To be clear, I ran the "Build2019Demo.Unity".
Relevant prerequisites
Below is the hardware and Unity version I use.
HoloLens 1st Gen
Unity 2019.4.34f1
Windows 10
Android OnePlus 5T
What I did
Clone master (commit 7796da6acb0ae41bed1b9e0e9d1c5c683b4b8374 when I did it)
Follow the repo's instructions
Run tools\scripts\CreateUnityPackage.bat in an administrator cmd window
Now, I can use Unity to open the project. I still had some compiling errors on Unity
Change packages used
I followed this link, which allows ASA to work with 2019.3
There is probably a way to update this package in the bat file process itself, but I didn't look into it
I updated the following libraries to these versions
AR Foundation: 3.1.3
ARCore XR Plugin: 3.1.3
ARKit XR Plugin 3.1.3
If your AR Foundation gives you compilation problems regarding obsolete API, check if it's something in 'Assets\AzureSpatialAnchors.SDK\Scripts\SpatialAnchorManager.cs'.
If it is, follow the same link in step 4, "Update the ASA SDK to ARFoundation 3 objects" part.
Now, the only problems should be coming from Text Mesh Pro. I removed references to ignoreRectMaskCulling
If Unity ever complains about upgrading API, just say yes.
After changing platforms for UWP/ Android, I did not have any compilation issues.
At this point, you can follow the instructions in the repo again.
I ran on HoloLens and managed to connect with my Android OnePlus 5T phone
Many people in the Issues asked how to run the samples on Unity 2019.4, and I managed to run the example. I'll share what I did to get it to run so that others can hopefully avoid the time I spent experimenting and trying it out. Maybe someone with more knowledge can also fix my workarounds.
Maybe this isn't hard for experienced people, but it took a good long day to figure it all out.
To be clear, I ran the "Build2019Demo.Unity".
Relevant prerequisites
Below is the hardware and Unity version I use. HoloLens 1st Gen Unity 2019.4.34f1 Windows 10 Android OnePlus 5T
What I did
'Assets\AzureSpatialAnchors.SDK\Scripts\SpatialAnchorManager.cs'
.ignoreRectMaskCulling