Skip to content

alloverse/allovisor-unity

Repository files navigation

allovisor

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.

Compiling and developing Allovisor

  1. 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.
  2. Clone allovisor (this repo). Use Github Desktop, or somehow make sure that your git has LFS (Large File Support).
  3. Open the project in Unity.
  4. Check the Console. It should have no errors. If it does, file an issue here, ask @nevyn on Twitter, or ping on Slack.
  5. From the "Build" menu, do "Download allonet assets". This will download native libraries from CI.
  6. Open the "Menu" scene. This is the scene you must start from, because it configures the "Network" scene.
  7. 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.

Debugging in Windows

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:

  1. In Unity, build a standalone app. Check "create visual studio solution", "development build", "script debugging", and "wait for managed debugger".
  2. In the destination folder, open the solution in Visual Studio 2019.
  3. 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.
  4. Press "Local Windows Debugger" in the toolbar.
  5. Crash the app.
  6. 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.
  7. Head over to Azure Pipelines for the build (link to build # 73, change url to match your allonet.cache).
  8. From the assets, download allonet.pdb. Rename it liballonet.pdb, I think.
  9. In the guide linked above, configure "symbol file locations" to include your downloads folder.
  10. Tada. Symbols.

To debug loading of symbols, check Windows > Modules and find liballonet.dll in the list.

About

DISCONTINUED -- use allovisor-lovr instead

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published