The Application Simulator tool in the ML Hub lets you iterate and test code changes without having to build and deploy the app to a device. Incorporating Application Simulator into your workflow can result in significantly faster development cycles.
Application Simulator simulates several Magic Leap C SDK API layers to either stream the rendered frames to the headset display or to render them on your desktop PC in a simulated environment. Your app runs locally on your host computer, but gets head pose, meshing, planes, and other data live from your device or from other simulated sources.
Application Simulator is a data simulation platform and not an emulator. It does not utilize the Android emulator workflow.
Read the following pages for more information:
📄️ Application Simulator Setup
Follow this guide to setup Application Simulator for use in your development cycles.
📄️ Graphics Compatibility
The Application Simulator interface in the Hub and the Application Simulator for Unity package can be used across multiple host platforms, applications, and graphics APIs.
📄️ Key API Features
Application Simulator is backwards compatible with all versions of the MLSDK starting with 1.0.0. Users are encouraged to upgrade to the latest Application Simulator updates in Package Manager.
📄️ Using Application Simulator
Application Simulator can fit into your workflow in a few different ways. To decide which target mode you want to work in, first you want to decide where your input and world data come from. There are a few different sources this data can originate from.
📄️ UI Modules
After opening Application Simulator and starting a session, the Application Simulator module populates with options.
📄️ Session Files
Use session files to re-use your current scene setup for testing or to share your setup with other members of your team. Session information includes:
📄️ Action Bindings
📄️ Command Line
You can activate Application Simulator functions to iterate on the device using command line tools.
📄️ Error Reporting
Please report bugs in the Magic Leap Developer Forums.
📄️ Configure Unity for Application Simulator
See our guide for the App Sim for Unity.