Allovisor is the "user interface" into the Alloverse. This Unity visor was the first attempt at writing the headset app used to access the Alloverse, to connect to a place and interact with the apps available in this place.
The subsequent and current iteration of the visor is allovisor-lovr.
This project is thus discontinued, and you shouldn't use it. It's still available for reference and archaeology.
- Install Unity Hub, and from it, Install Unity 2019.2.2f1. Make sure to add-on iOS build support (needed to build the Mac app for inexplicable reasons) and IL2CPP.
- Clone allovisor (this repo). Use Github Desktop, or somehow make sure that your git has LFS (Large File Support).
- Open the project in Unity.
- Check the Console. It should have no errors. If it does, file an issue here, ask @nevyn on Twitter, or ping on Slack.
- From the "Build" menu, do "Download allonet assets". This will download native libraries from CI.
- Open the "Menu" scene. This is the scene you must start from, because it configures the "Network" scene.
- You should be able to connect to Nevyn's Place. If not, you can set up your own Alloplace and use an
alloplace://localhost
URL to connect to it.
For some reason, Windows triggers a lot more heap misuses than MacOS. When triggered, this causes
the Unity editor (or the visor, if built), to crash completely with no error message. This is a
great opportunity to debug and fix a problem in allonet
.
It takes a bit of work to configure a debugger, though. Here's how:
- In Unity, build a standalone app. Check "create visual studio solution", "development build", "script debugging", and "wait for managed debugger".
- In the destination folder, open the solution in Visual Studio 2019.
- Follow this guide to add Alloverse Azure Devops organization to your symbol file location, if you're in the azure devops org. If not, keep going.
- Press "Local Windows Debugger" in the toolbar.
- Crash the app.
- Now you're gonna have to load debug symbols. CI has them generated. Check your Assets/allonet/allonet.cache file in Notepad to find the build number.
- Head over to Azure Pipelines for the build (link to build # 73, change url to match your allonet.cache).
- From the assets, download allonet.pdb. Rename it liballonet.pdb, I think.
- In the guide linked above, configure "symbol file locations" to include your downloads folder.
- Tada. Symbols.
To debug loading of symbols, check Windows > Modules and find liballonet.dll in the list.