Installing Just Lumin Support On Mac Unity Download
- Installing Just Lumin Support On Mac Unity Download Windows 10
- Installing Just Lumin Support On Mac Unity Download Pc
- Installing Just Lumin Support On Mac Unity Download Windows 7
Unity is the ultimate game development platform. Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers. The first time you build a project for Android (or if Unity later fails to locate the SDK), you will be asked to locate the folder where you installed the Android SDK. Select the root folder of the SDK installation. If you wish to change the location of the Android SDK, in the menu bar go to Unity. Unity Download Assistant (leave the default selections if you’re not sure which to choose) Note that on PC there is Microsoft Visual Studio Community 2015. ### Installing Unity without the Download Assistant. If you prefer, you can download and install all of the components separately, without using the Download Assistant. The PC, Mac & Linux Standalone build settings contain options you can use to set up and begin the build process for your application on these platforms. It contains settings to create development builds A development build includes debug symbols and enables the Profiler.
Tutorial written by Nakisa Donnelly and Circuit Stream.
You’ve set up your Magic Leap One for development, and built an AR app – or at least a prototype – using Unity. After testing in the simulator, it’s time to deploy your app onto Magic Leap One itself and test its functionality. Here are the four steps you need to know to do this. Disclaimer: This is for Windows PCs only!
These four steps include:
- Putting device into Creative Mode
- Configuring Unity for Magic Leap development
- Organizing Developer Certificates
- Loading your app onto your Magic Leap One
Skip to the Technical Steps
Step 1: Putting device into Creator Mode
To begin configuring Magic Leap One, you'll need to connect your headset to your computer through the USB cord in the original packaging. Make sure you're signed in to your Magic Leap ID and registered as a developer. Open up the device on your computer, and navigate to Settings > Device > Creator Mode.
From here, make sure you:
- Enable Creator Mode
- Allow Untrusted Sources
- Enable MLDB Access
Creator Mode specifically allows the device to be able to work with your app. Allowing untrusted sources means that your unpublished app is able to be installed – Magic Leap approves all published apps, so this is a workaround while you're still perfecting your prototype. Enabling MLDB access allows your PC to access and configure your device while connected through the USB.
We won't be touching the headset for a while, so you might as well plug it in to start charging so it's ready to go for testing.
Download our 10-week XR Development with Unity Course Syllabus
Step 2: Importing Magic Leap Assets into Unity
At this stage of developing your Magic Leap app, it's safe to presume you've downloaded the Lumin SDK and Magic Leap Package Manager already. And if you have built a project with Magic Leap assets, then you've already configured Unity to work with Magic Leap and you can skip this step. If not, well, you're not ready to deploy an app to the device yet, so check out this post on how to set up your Magic Leap One for development first. Otherwise, read on!
First, we'll need to create a Magic Leap project. This is how the device will read your Unity project as an app for testing.
- Open up the Unity Technical Preview downloaded from the Magic Leap Package Manager
- Select New, enter project name and save location for the project (in our example below, we titled our project 'Appendectomy')
- Select the Magic Leap template and click on Create Project
Perfect! Now, we'll head into Unity and switch platforms from your PC to Magic Leap One.
- Open Unity, and open your saved Scene
- Click File > Build Settings
- Under the Platform section:
- Select Lumin OS
- Switch Platform
- Then, under the Lumin OS section, you'll need to set the location of the Magic Leap Unity Package:
- Enable Sign Package
- Set the Lumin SDK Location path (wherever you have it saved on your PC). For example, C:/Users/you/MagicLeap/mlsdk/v0.10.0
Now, the last step of configuring Unity is to import the Magic Leap Unity Package into your Unity scene. This connects important libraries in the package to both Unity and your Magic Leap project.
- Under Unity's Assets menu, select Import Package and click Custom Package
- Navigate to the location you specified above, for example, C:/Users/you/MagicLeap/tools/unity/v0.17.0/MagicLeap-0.17.0
- Click All then Import
Great! You've now set your existing Unity scene to be platform-specific to Magic Leap One. Note that you can do this before you build your scene, but it is a step necessary before you can deploy your app onto your device.
Step 3: Organizing Developer Certificates
In order to actually install apps on your Magic Leap One, you have to sign your app with a certificate. This registers the app to your developer account on Magic Leap, and marks it as your intellectual property. This is a big deal!
In your browser, head over to the Magic Leap Creator Portal. Log in if you haven't already, and click on Publish > Apps.
First, we'll generate a certificate. In the Magic Leap Creator Portal, click Publish > Certificates, then Create Certificate or Add New.
Enter a name for your certificate — this should either be your name or your company's name. Think of it as who you want holding the rights to your app. Note that you can only generate up to two certificates.
Your privatekey.zip file will begin downloading. This is only available at this step, so don't misplace your private key! If you lose it, you must generate a new certificate!
After a certificate is generated (you might need to refresh the page until the status changes from pending to active), you're ready to continue. Once it's generated, download the certificate and make sure both the .cert file and .privkey file are included. Move the .cert and .privkey files into the same location as you saved your Magic Leap project back in step two.
Awesome, you're doing great! Now we just have to sign the certificate to your app. To do this, open the Magic Leap project in Unity, and click File > Build Settings. Navigate to the Platform, select Lumin OS, click the checkbox for Sign Package, and expand Player Settings:
Set the ML Certificate location to the path where your .cert file is in your Magic Leap project folder.
Fantastic! We're now ready to actually put your app onto your Magic Leap One.
Step 4: Loading your app onto your Magic Leap One
Before we get started, you'll want to make sure that:
- Your Controller is powered on
- Your device is turned on and not asleep/locked
- You're able to view the application launcher
Awesome. We'll connect your Magic Leap One to your PC through the USB once more and transfer the app to it through Unity. Once your device is connected through the USB, open your project in Unity and make sure the scene we've been working with is selected under the Build Settings.
In Unity, click on File > Build & Run. Then, save the MPK. The building player window will be displayed.
You can now disconnect your device from your computer and put it on. There will be a prompt to accept the certificate on the device (click Accept!). Please note that if you take too long to put on the device, the prompt may dismiss and the app won't install.
Installing Just Lumin Support On Mac Unity Download Windows 10
That's it! Look around and start testing! Anyone with you not wearing the headset can monitor what you see by looking at your PC screen.
Congratulations, you're one step closer to publishing your polished app for Magic Leap! If you're looking for guidance in building AR, we can help with that. Through our 10-week course and one-on-one training, we'll take you from idea to prototype to finished app. Download our syllabus to learn more about what we can teach you!
Technical Steps:
Put Device in Creator Mode
- Connect ML1 to your PC by USB
- On the device, navigate to Settings > Device > Creator Mode
- Make sure you're signed in to your Magic Leap ID and select the following:
- Enable Creator Mode
- Allow Untrusted Sources
- Enable MLDB Access
Configuring Unity
Installing Just Lumin Support On Mac Unity Download Pc
- Open Unity Technical Preview downloaded from Magic Leap Package Manager
- Select New, enter project name and specify save location for project
- Select Magic Leap template and click on Create Project
- In Unity, go to File > Open Scene > Open your desired scene
- Under Platform section:
- Select Lumin OS
- Click Switch Platform
- Under Lumin OS, enable Sign Package
- Set Lumin SDK Location path
- Back in Unity, navigate to Assets > Import Package and select Custom Package
- Navigate to the Magic Leap Unity package and Open
- Click All and Import
Generate Certificate(s)
- Open browser and head to Magic Leap Creator Portal, click on Publish > Apps
- Click Publish > Certificates
- Click Create Certificate or Add New
- Enter your name or company name as Certificate name
- Once Certificate is generated, download it and ensure .cert and .privkey files are included
- Move .cert and .privkey files to your Magic Leap project folder (same folder as .mpk)
- Open Magic Leap project in Unity
- Click File > Build Settings
- Navigate to Platform, select Lumin OS and click Sign Package
- Expand Player Settings to view Publishing Settings
- Set the ML Certificate property to the path where your .cert file is located. Note: Do not lose Certificate or .cert & .privkey files! If lost, you'll need to make a new certificate.
Put App on Device
Installing Just Lumin Support On Mac Unity Download Windows 7
- Connect ML1 to PC through USB
- Open project in Unity and open desired Scene
- Click on File > Build & Run
- Save the MPK. The building player window will still be displayed for others to watch
- Put on ML1 device, accept certificate on device when prompted. Note: Prompt will disappear if you take too long to put on device, and the app won't install
- Test the app!