Give us as much detail as possible regarding the issue you're experiencing.
Unity Editor version (if applicable): 2022.2.2f1
ML2 OS version:N/A
ML Hub version: 2.0.7
ML Hub Version 188.8.131.52212161929
Magic Leap Application Simulator Module Version 184.108.40.206212161540
Magic Leap Application Simulator Runtime Version 220.127.116.1121216
Server: 3.4 (built Dec 16 2022), Protocol: 15
ZIF (bundled): Version 0.0.30.20221215
ZIF (runtime): Version 0.0.30.20221215
Host OS: Windows
logfile.txt (242.1 KB)
I am having and issue where when I go to run my project in Unity I keep getting this error:
"ZIDiscovery returned with code 1: ZIF E [zi_environment_impl.cpp:333] ML_ZI_ROOT directory does not have 'bin' folder (C:\Users\Chris\MagicLeap\tools\zi\v18.104.22.16821216\lib)
error: Error running ZIEnvironmentGetLibrarySearchPaths(paths): the requested object does not exist
UnityEditor.XR.MagicLeap.AppSimShimLibSupport:CheckForLibrarySearchPaths () (at C:/Users/Chris/MagicLeap/tools/unity/v1.3.0/com.magicleap.unitysdk/package/Editor/MLAppSim/AppSimShimLibSupport.cs:81)"
I have created an Environment Variable "ML_ZI_ROOT" that points to "C:\Users\Chris\MagicLeap\tools\zi\v22.214.171.12421216" and I have made sure that the Unity > Preferences > Eternal Tools > Magic Leap shows "App Sim Runtime detected". I don't think I am missing anywhere else where that variable would be adjusted.
I had the SimApp and Unity working with each other the other day but now it seems the path is going one level too deep since it is looking for 'bin' inside of the 'lib' folder rather than the zi folder.