Code Monkey home page Code Monkey logo

unitytemplate's Introduction

Magic Leap Unity Project Template

Deprecation Notice

This project is depricated, please use the MagicLeapUnityExamples project instead.

Overview

This project is meant to provide the Magic Leap Unity SDK and examples and has been configured to help the user quickly jump in start developing for the Lumin platform, whether it is via the Zero Iteration tool or deploying the app directly to the device. We recommend duplicating this project and using it as the foundation for new Magic Leap Apps.

Caution: Do not add or change files in the Assets/MagicLeap folder to to prevent issues when importing new SDK versions in the future.

Compatible with

  • Unity Editor 2020.2
  • LuminOS 0.98.20+

Packages Included

  • Magic Leap XR Plugin 6.1.0-preview.2
  • MLSDK v0.25.0

Instructions After Downloading

  1. Using Unity Hub, download Unity 2020.2.x and make sure Lumin support is selected during installation.
  2. Add and Open the project using Unity Hub.
  3. Go to File > Build Settings and set the build target to Lumin.
  4. Under Unity Preferences, set the MLSDK path. For example: /Users/YourUserName/MagicLeap/mlsdk/0.25.0/
  5. Go to Project Settings > Publishing Settings and set the ML Certificate . Make sure the privkey file is in the same directory.
  6. Make sure USB debugging is enabled between your device and computer (which requires MLDB access) and you’re allowing untrusted sources
  7. Open the HelloCube scene located under Assets/Scenes/ or learn how to Create Your First App.
  8. Build and Run the demo scene

Using Zero Iteration

  1. In Unity, delete the Assets/Plugins/Lumin/Editor directory if it exists.
  2. Exit Unity.
  3. Launch The Lab and open Zero Iteration.
  4. Create or select a Target who's SDK matches the SDK that will be used in Unity.
  5. Toggle the state to Connected or select the Connect button.
  6. After ZI is running, launch Unity.
  7. Go to Magic Leap > ML Remote > Import Support Libraries.
  8. Use Zero Iteration from Unity as normal.

Notice

This git project is configured to ignore the Assets/Plugins/Lumin/Editor folder. This is done intentionally, to avoid conflicting ZI files when developing between different operating systems and operating system versions.

Additional Information

How to generate a ML Certificate
Enabling developer mode on your device
Downloading the mlsdk
Getting started with Zero Iteration
Using Zero Iteration inside Unity

unitytemplate's People

Contributors

babilinski avatar creillyml avatar nihav-jain avatar rogerawong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.