ZIF errors

Installed ZIF, now when I run I get errors relating to the Android SDK not present. Even if running without starting ZIF.

Unity Editor version: 2022.2.05b
ML2 OS version: B3E.220721.07-R.027 (user)
MLSDK version: 0.53.2

Error messages from logs (syntax-highlighting is supported via Markdown):

[ZIF] Android SDK not found: Expected contents are missing from the location; see ZI logs for more information
UnityEngine.Debug:LogErrorFormat (string,object)
MagicLeap.ZI.AndroidSdkPathProvider:Update (string,bool) (at Library/PackageCache/com.magicleap.zifunity@e8996832c6eb/ZIFUnity/ZIBridge/ServiceProviders/AndroidSdkPathProvider.cs:65)
MagicLeap.ZI.ZIBridge:UpdateSDKPaths (bool) (at Library/PackageCache/com.magicleap.zifunity@e8996832c6eb/ZIFUnity/ZIBridge/ZIBridgeEnvironmentManagement.cs:62)
MagicLeap.ZI.ZIBridge:OnEditorApplicationUpdate () (at Library/PackageCache/com.magicleap.zifunity@e8996832c6eb/ZIFUnity/ZIBridge/ZIBridge.cs:65)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

NullReferenceException: Object reference not set to an instance of an object
ZIPoseHarness.Update () (at Library/PackageCache/com.magicleap.zifunity@e8996832c6eb/Runtime/ZIPoseHarness.cs:32)

1 Like

Hi Daniel,

Have you restarted the Unity Editor after installing the ZIF package?

1 Like

These logs look like they're from a MacBook. If they are from an M1 variant, we do not expect the Magic Leap App Simulator for Unity (formerly known as ZIF) to work on them just yet.

However, you don't need to use this to use the App Simulator (formerly known as Zero Iteration). A few links:

1 Like