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.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
Dismiss Notice
Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.

Question Errors when using MLAPI

Discussion in 'Unity Reflect' started by ABProdware, Nov 9, 2021.

  1. ABProdware

    ABProdware

    Joined:
    Jul 3, 2020
    Posts:
    3
    Hello,

    for a project, I want to use Reflect & MLAPI so I can display 3D models imported via Reflect on a TV (inside a showroom), and have some controls / interaction (rotation, zoom on a room) with a tablet / smartphone.

    I tried to import Reflect & MLAPI in the same project but I found out that the multiplayer part of Reflect already use MLAPI (an old version ?) and thus it creates conflicts with the version I imported.

    But when I use the scripts from the MLAPI used by Reflect, I get an error "KeyNotFound" if I have a NetworkedObject component on a gameobject.

    Does someone have an idea how to fix this problem ?
    Thanks
     
  2. FredMoreau

    FredMoreau

    Unity Technologies

    Joined:
    May 27, 2019
    Posts:
    33
    Hi,

    it's certainly better not to mix versions of the MLAPI and use the one from the Reflect Viewer project sample.
    Where does that "KeyNotFound" error come from? Can you provide a script/line # or full console log?

    Thanks,
    Fred