Search Unity

Question Building animations at runtime from json data

Discussion in 'Animation' started by Frenoir, Jan 17, 2023.

  1. Frenoir

    Frenoir

    Joined:
    Aug 18, 2021
    Posts:
    2
    I have been working on getting animations that are made in a capture software where we capture animation data using the Azure Kinect camera. Then upload the data to a cloud based system like Firebase we then download the json file that houses all the keyframes and animation curve data. I then have been trying to build the animation clip using this data and what we have works in Editor in play mode but doesn’t at run time on the Microsoft HoloLens 2. Was wondering if someone would be able to help we are on unity 2021.1.15f1 and have been using Animancer for animation playback.

    TLDR: Get mocap data and place it in a json file then using the json data try to build the animation clip from the json file and play in different app on hololens2
     
  2. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    782
    Perhaps its something preventing the json from being accessed from the HoloLens? Like network connections, permissions, or other blocking the download.
     
  3. Frenoir

    Frenoir

    Joined:
    Aug 18, 2021
    Posts:
    2
    its definitly a tricky one cause the file is able to be downloaded as we have an indicator that tells the user that its downloaded