Lofelt / NiceVibrations

🎮 🚀 Nice Vibrations and Lofelt Studio SDK source code repository
MIT License
130 stars 18 forks source link

Conflict with Meta XR on Unity #37

Open pkosyakov opened 8 months ago

pkosyakov commented 8 months ago

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

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 commented 8 months ago

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 commented 8 months ago

Hi, I had installed Meta XR All-in-One SDK https://assetstore.unity.com/packages/tools/integration/meta-xr-all-in-one-sdk-269657 and got this error

С уважением, Павел.

Вт, 13 февр. 2024 г. в 17:01, james-meta @.***>:

Hi @pkosyakov https://github.com/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?

— Reply to this email directly, view it on GitHub https://github.com/Lofelt/NiceVibrations/issues/37#issuecomment-1941587220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMB67AP7HEBPJ4AIJMEJSZDYTNW5BAVCNFSM6AAAAABCYDPVBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBRGU4DOMRSGA . You are receiving this because you were mentioned.Message ID: @.***>

james-meta commented 8 months ago

Hi @pkosyakov,

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

pkosyakov commented 8 months ago

Only Meta Quest

С уважением, Павел.

Вт, 13 февр. 2024 г. в 17:24, james-meta @.***>:

Hi @pkosyakov https://github.com/pkosyakov,

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

— Reply to this email directly, view it on GitHub https://github.com/Lofelt/NiceVibrations/issues/37#issuecomment-1941631894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMB67APN73KJQDZIO4IKVUTYTNZTJAVCNFSM6AAAAABCYDPVBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBRGYZTCOBZGQ . You are receiving this because you were mentioned.Message ID: @.***>

james-meta commented 8 months ago

@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 commented 8 months ago

Еhe problem is that Nice Vibrations is installed within another package (Feel MoreMountains) and it has dependencies on it. after the deletion, many other errors appear.Now it is not blocking error. Perhaps this conflict can be resolved in future versions.

вт, 13 февр. 2024 г. в 18:05, james-meta @.***>:

@pkosyakov https://github.com/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

— Reply to this email directly, view it on GitHub https://github.com/Lofelt/NiceVibrations/issues/37#issuecomment-1941719017, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMB67AIGZVALG2YIO33KB7TYTN6NFAVCNFSM6AAAAABCYDPVBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBRG4YTSMBRG4 . You are receiving this because you were mentioned.Message ID: @.***>

-- С уважением, Павел.

reunono commented 8 months ago

@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"