Face Filter missing from Samples in Unity?

I had a look for the Face Filter sample in the Unity Samples search window and can’t see it there or find it with search, is this a bug? Not sure how to import it to Unity if it’s not there

It appears that the Face Filter sample is included in the Needle Engine samples as a way to create your own filters using Needle Engine and Unity, with example filters provided (see the documentation). If you’re having trouble finding it, it’s possible that it might not be directly listed through the Unity Samples search window.

To manually import the sample, you could try the following steps:

  1. Download the Sample Project Files: Ensure you have access to the Needle Engine samples repository. You might need to download the sample files directly from their GitHub repository: Needle Engine Samples.

  2. Import into Unity: Once downloaded, open your Unity project and import the relevant sample package into your project. You can do this by navigating to Assets -> Import Package -> Custom Package and browsing to the location where you saved the downloaded package.

  3. Check for the Face Filter Components: Look for components specific to the Face Filter functionality such as FaceFilterAnimator, FaceFilterHeadPosition, and FaceFilterRoot. These elements are essential for building face filters (see the documentation).

  4. Examine Documentation for Specific Setup Instructions: Refer to the Needle Engine documentation for details on how to correctly configure these components once imported.

If the sample still doesn’t appear, checking the changelogs or the samples repository for any recent updates or fixes might prove helpful.

For future support, you can always ask detailed questions by providing version information of Unity or Needle Engine you are working with, which would allow pinpointing the issue more effectively.

24 replies left
thread_jLWbfB8EazVy3PwvpjwntTET
Reply to this message to continue the conversation

Hi @Rob_F

the FaceFilter sample is not listed in your samples window?

Nope, my samples version is lower than yours but I see no updates for it, maybe that is why?


Yes the facefilter sample was added in 0.19.0

With 4.1.0-alpha.12 Needle Engine in Unity, I can’t seem to get any higher samples version than 0.18.0, I tried adding it to the Unity manifest but it wasn’t a valid dependency?

Can you provide more info? Which Unity version are you using and what exactly do you mean that you can’t get a higher samples version? How so?

With Needle Engine 4 alpha please upgrade to the latest samples package (0.20.0-exp.1 right now)

I found the issue, if I had the samples as a package in the package manager window, the version was stuck as Needle Samples version 0.18.0 and I couldn’t upgrade that package any higher. If I deleted that samples package from packman, then imported the Samples via the Needle Engine package > Samples, I have the right version now. Could be something about the Samples being added as a package via a scoped registry.

Oops, once I installed the samples, the versions is 0.18.0 for samples -

I clicked install samples button then the window refreshes and face tracking disappears, all my packages are up to date and I am in Unity 6000.0.33f1

Everything is up to date on the right of the screenshot above see the package manager window to show

Tried adding it to manifest manually but I get this:

An error occurred while resolving packages:
Project has invalid dependencies:
com.needle.engine-samples: Package [com.needle.engine-samples@0.19.0] cannot be found

Please enable preview packages so you see the latest preview versions

0.19.0 doesn’t exist (only 0.19.x-pre) so you need to enable preview packages.

And for Needle Engine 4 alpha please update to 0.20.0-exp.1

Thanks, this project I forgot to set that as I just used it for samples, that resolved it

This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.