Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Bug in using sensor sdk

Discussion in 'Editor & General Support' started by amt302, Nov 25, 2022.

  1. amt302

    amt302

    Joined:
    Nov 18, 2022
    Posts:
    1
    I am using a tof camera in sensor sdk sample package.

    And everything is ok when in play mode.

    However, I met the problem in build and run stage and I did not get the correct result in the runtime mode.

    I have update my addressable and update it.
    So how could I fix it, thanks.


    The following ars the runtime logs:

    UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Location found for Key=0f65ddf509af89042a85d413674db42e
    UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Location found for Key=Assets/Settings/SensorResources.asset
    OperationException : ChainOperation failed because dependent operation failed
    UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Location found for Key=0f65ddf509af89042a85d413674db42e
    OperationException : ChainOperation failed because dependent operation failed
    UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Location found for Key=Assets/Settings/SensorResources.asset
    NullReferenceException: Object reference not set to an instance of an object
    at Mechatronics.SensorSDK.SensorSDKResources.Get[T] (System.String key) [0x00017] in <46aef2b25f4f4721a3dc0ebe1017ebbb>:0
    at Mechatronics.SensorSDK.ComputeShaderInstance.CreateSSDKComputeShader (System.String computeShader, System.String kernelName) [0x00000] in <46aef2b25f4f4721a3dc0ebe1017ebbb>:0
    at Mechatronics.SensorSDK.FrameBundler.Enable (Mechatronics.SystemGraph.Scheduler+ClockState clockState) [0x00007] in <46aef2b25f4f4721a3dc0ebe1017ebbb>:0
    at Mechatronics.SystemGraph.Scheduler.EnableNodes () [0x0002f] in <00a81a72e83b4d26bb01f25d51643327>:0
    at Mechatronics.SystemGraph.SystemGraphManager.EnableNodes (Mechatronics.SystemGraph.SystemGraphManager+GraphDescriptor descriptor) [0x0000f] in <00a81a72e83b4d26bb01f25d51643327>:0
    at Mechatronics.SystemGraph.SystemGraphComponent.PostLink () [0x00021] in <00a81a72e83b4d26bb01f25d51643327>:0
    at Mechatronics.SystemGraph.SystemGraphComponent.CommitLink () [0x0001d] in <00a81a72e83b4d26bb01f25d51643327>:0
    at Mechatronics.SystemGraph.SystemGraphComponent.Start () [0x00000] in <00a81a72e83b4d26bb01f25d51643327>:0