Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with Meta XR on Unity #37

Open
1 task
pkosyakov opened this issue Feb 3, 2024 · 7 comments
Open
1 task

Conflict with Meta XR on Unity #37

pkosyakov opened this issue Feb 3, 2024 · 7 comments

Comments

@pkosyakov
Copy link

Bug report

I am using NiceVibrations included in Feel asset.
After migratiion from from Oculus integration to Meta XR All in one packege I get this error:
Multiple scripted importers are targeting the extension 'haptic' and have all been rejected: Lofelt.NiceVibrations.HapticImporter (assembly: C:\Unity\Projects\Darkness\Library\ScriptAssemblies\Lofelt.NiceVibrations.Editor.dll), Oculus.Haptics.Editor.HapticClipImporter (assembly: C:\Unity\Projects\Darkness\Library\ScriptAssemblies\Oculus.Haptics.Editor.dll)
UnityEditor.AssetImporters.ScriptedImporter:RegisterScriptedImporters ()

Checklist

  • I'm using the latest release
  • [Y] I've searched for existing issue

Environment

<Describe your dev environment here, giving as many details as possible. If you have them, make sure to include>
Feel 3.15
Meta All in ones SDK 60
Unity 2021.3.31f1

Goals

<What do you want to achieve?>

Steps to Reproduce

<What are the steps necessary to reproduce this issue?>

Expected behavior

<What do you expect to happen?>

Observed behavior

<What actually happened? Can you provide a stack trace?>

Code Samples & Details

<Please provide a code sample if necessary, as well as any additional details, to help us track down the issue.>

@james-meta
Copy link

Hi @pkosyakov, for haptics output on Meta Quest you should use either:

For haptics output on mobile you should use Nice Vibrations.

Which platform(s) are you targeting with your project?

@pkosyakov
Copy link
Author

pkosyakov commented Feb 13, 2024 via email

@james-meta
Copy link

Hi @pkosyakov,

Yes, that makes sense. Just to clarify: what platform are you targeting with your project? Meta Quest or mobile or both?

@pkosyakov
Copy link
Author

pkosyakov commented Feb 13, 2024 via email

@james-meta
Copy link

@pkosyakov in that case you don't need Nice Vibrations at all and can safely delete it from your Unity project. Then follow the instructions here to get started with Meta XR Haptics SDK:
https://developer.oculus.com/documentation/unity/unity-haptics-sdk

@pkosyakov
Copy link
Author

pkosyakov commented Feb 14, 2024 via email

@reunono
Copy link
Contributor

reunono commented Feb 14, 2024

@pkosyakov to remove Nice Vibrations from Feel, you can follow the instructions available in the documentation at http://feel-docs.moremountains.com/contents.html#what-if-i-want-to-remove-stuff :

"You can remove the Feel/NiceVibrations folder, in which case you’ll want to go to Project Settings > Player, and remove the MOREMOUNTAINS_NICEVIBRATIONS_INSTALLED scripting define symbol there (and apply that change), you’ll lose access to Nice Vibrations and its associated feedbacks"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants