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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question When trying to build and run for the Oculus Quest, I get linker error

Discussion in 'VR' started by PenProd, Dec 31, 2022.

  1. PenProd

    PenProd

    Joined:
    Dec 17, 2022
    Posts:
    150
    I followed the instructions in a YouTube video (will post link if needed) on how to build for the Oculus Quest. When I do, it fails. The UnityLinker gives me the following error:

    Fatal error in Unity CIL Linker
    Mono.Linker.LinkerFatalErrorException: ILLink: error IL1005: SpeechLib.ISpeechObjectTokens.GetEnumerator(): Error processing method 'SpeechLib.ISpeechObjectTokens.GetEnumerator()' in assembly 'SpeechLib.dll'
    ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'CustomMarshalers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'


    I have no idea what that means or how to solve it...
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,456
    Which video?
     
  3. PenProd

    PenProd

    Joined:
    Dec 17, 2022
    Posts:
    150
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,456
    Which unity version you got?
     
  5. PenProd

    PenProd

    Joined:
    Dec 17, 2022
    Posts:
    150
    2021.3.16f1
     
  6. tleylan

    tleylan

    Joined:
    Jun 17, 2020
    Posts:
    531
    Are you quite certain you just followed the instructions presented? You didn't try to access something named SpeechLib? If so I would simply create a new project from start and see if that works.
     
  7. PenProd

    PenProd

    Joined:
    Dec 17, 2022
    Posts:
    150
    SpeechLib is part of VR Builder which I'm also using.
     
  8. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,456
    Vr builder?
    If you want proper support tell exactly what you have done.
     
  9. PenProd

    PenProd

    Joined:
    Dec 17, 2022
    Posts:
    150
    Well, that's about it. Created a simple scene (no interactions, just a room with a few models), added the VR Builder package and tried to build & run for an Oculus Quest.
     
  10. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,456
    If it's vr builder causing the issues maybe check their documentation and guides. If that doesn't work maybe ask them for help
     
  11. PenProd

    PenProd

    Joined:
    Dec 17, 2022
    Posts:
    150
    They aren't very active support wise. They have a Discord channel and even though it isn't very active (just a few posts/questions each day) I hardly ever see them answer.
     
  12. David-MindPort

    David-MindPort

    Joined:
    Aug 2, 2020
    Posts:
    10
    Hi @PenProd,

    Thanks for using VR Builder! Actually, we are pretty responsive and in most cases you get a respone on the same day. The team just had some days off over Christmas. We are back now and following up on all the support questions that gathered during our vacation.

    For those who want to follow-up on this, you are welcome to join our community as well: http://community.mindport.co/
     
  13. Marcello-MindPort

    Marcello-MindPort

    Joined:
    Mar 7, 2015
    Posts:
    3
    Hello! That's indeed a VR Builder issue. We are aware of it and will fix it in the future. The current workaround is to set Managed Stripping Level to Low (instead of Minimal) in the Player settings, assuming you are using Unity 2021+.
     
    Last edited: Jan 9, 2023