Hi there, Im trying to inference engine up and running on unity 6.2 beta. For some strange reason even though i have inference installed it is not being found and is producing errors in the scripts se below. Are you supposed to have Sentis and Inference installed? I tried installing sentis and it produced its own errors.
Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name ‘Inference’ does not exist in the namespace ‘Unity.AI’ (are you missing an assembly reference?) Assembly-CSharp, Assembly-CSharp.Player \Assets\Scripts\DialogueManager.cs 2 Active
Since version 2.2, Sentis has been renamed InferenceEngine. Nothing in your project should be named Sentis anymore.
The package name is com.unity.ai.inference.
The namespace is Unity.InferenceEngine.
I dont have any sentis stuff. in fact I have tried this in an empty project with the only script having a
using Unity.AI.Inference but your AI assistance, Grok and all the docs I’ve seen say that and not Unity.InferenceEngine. Thanks, ill give that a go. Don’t you just hate it when something as silly as this trips you up all day!
Has WorkerFactory and InferenceTensor been change too?
Hi Andy, so sorry about the issues caused.
Could you direct me to the docs that are using the incorrect namespace? I’ll make sure it’s corrected!
Thank you
WorkerFactory.CreateWorker(backendType, model) is replaced with new Worker(model, backendType) TensorFloat is replaced Tensor<float>, TensorInt with Tensor<int>
This page lists all upgrades from previous versions of Sentis: Upgrade to Sentis 2.1.2 | Sentis | 2.1.2