Objects not Being Rendered(?) when App Simulator is Open

Give us as much detail as possible regarding the issue you're experiencing.

Unity Editor version: 2022.3.6f1
ML2 OS version: 1.3.1
MLSDK version: 1.9.0
Host OS: (Windows/MacOS): Windows

Error messages from logs (syntax-highlighting is supported via Markdown):
No error messages available or don't know where to find the messages.

I'm working in Unity and Vuforia and want to render virtual objects on a Vuforia ImageTarget. The desired behavior is observed by directly running the play mode in Unity, see the screenshot below:

But when being deployed on a ML2 device, or using an App Simulator, nothing is observed though the objects were created in the same way (see screenshot2). I'm new to ML2 and don't know how to debug on ML2, so I tried to fix it on the app simulator but it didn't work out as well. I also attached the App simulator logs if it could help. I configured the project settings as instructed, see screenshot3 below.

MLHubLogs-20230810150347.zip (10.0 MB)

Also interestingly, the rendered objects would appear at the second that I quit play mode. Is this a helpful phenomenon for you to locate the bug?

Edit: If I create a 3d cube that appears in the raw camera view in the Unity play mode, it would show up in the simulator and on ML2 if the view angle is adjusted. But for the prefabs instantiated at runtime I still cannot find them in the simulator. This is vuforia-specific I assume.


Unfortunately Vuforia Engine does not support the Application Simulator for Magic Leap 2. You'll need to test on an actual headset.