Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug OculusSpatializer Plugin error

Discussion in 'Linux' started by louisgv, Dec 2, 2016.

  1. louisgv

    louisgv

    Joined:
    Aug 7, 2013
    Posts:
    18
    This error pops up whenever a project is opened:

    Code (csharp):
    1. Couldn't open /opt/Unity/Editor/Data/UnityExtensions/Unity/VR/Android/AudioPluginOculusSpatializer.so, error:
    2. /opt/Unity/Editor/Data/UnityExtensions/Unity/VR/Android/AudioPluginOculusSpatializer.so: wrong ELF class: ELFCLASS32
    Ubuntu 16.04, fresh install.

    Unity version:
    upload_2016-12-2_18-24-47.png
     
    kmare and smarterest like this.
  2. ReaktorDave

    ReaktorDave

    Joined:
    May 8, 2014
    Posts:
    139
    I'm on Ubuntu 16.10 and I have the same problem.
     
  3. kmare

    kmare

    Joined:
    Jan 30, 2016
    Posts:
    34
    Same problem here on Fedora 25, 64bit
     
  4. tigerss

    tigerss

    Joined:
    Oct 11, 2015
    Posts:
    20
    Same problem on Ubuntu 14.04 64bit
     
  5. ma1onso

    ma1onso

    Joined:
    Jun 17, 2014
    Posts:
    79
    Same problem on Ubuntu 16.10
     
  6. pippo4president

    pippo4president

    Joined:
    May 26, 2016
    Posts:
    2
    Include Arch x64 in that list... Had to revert to 5.4.2 to be able to continue working.
     
  7. Odd-Redesign

    Odd-Redesign

    Joined:
    Jul 26, 2013
    Posts:
    134
    Same here on Arch x64. The error disappears after entering Play Mode.
     
    Last edited: Dec 7, 2016
  8. Cygon4

    Cygon4

    Joined:
    Sep 17, 2012
    Posts:
    382
    I'm seeing these, too.

    They don't seem to have any adverse effects, however.
     
  9. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    This seems to be a misdetection of the android audio spatializer plugin as possibly usable in-editor - this error message, while annoying, should be harmless.
     
    gururise likes this.
  10. pippo4president

    pippo4president

    Joined:
    May 26, 2016
    Posts:
    2
    Not that harmless as I had to revert to countinue working. There was no way to test or build our project.
     
  11. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    178
    The issue remains for me using Ubuntu 16.04 and Unity 5.6.0xb3
     
  12. GraxRabble

    GraxRabble

    Joined:
    Jan 17, 2017
    Posts:
    3
    A temporary fix. Locate the .so file and remove it.

    Here is an explanation of the command:
    1. Go to the location of the bad file
    2. Rename or delete bad file
    Code (csharp):
    1. cd /opt/Unity/Editor/Data/UnityExtensions/Unity/VR/Android/ && sudo mv AudioPluginOculusSpatializer.so AudioPluginOculusSpatializer.ignore
    This might have side effects when exporting to Android with Oculus.
     
    Last edited: Jan 18, 2017
    suryan_, zolid and marianacmacias like this.
  13. marianacmacias

    marianacmacias

    Joined:
    Jul 2, 2014
    Posts:
    1
    Thanks a lot!
     
  14. i_am_kisly

    i_am_kisly

    Joined:
    Feb 16, 2015
    Posts:
    22
    Same problem on kUbuntu 17.04 64bit
     
  15. zolid

    zolid

    Joined:
    Mar 5, 2017
    Posts:
    2
    Hello, I have the same problem on ubuntu 16.04
     
  16. zolid

    zolid

    Joined:
    Mar 5, 2017
    Posts:
    2

    thank, this works for me
     
  17. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    178
    Well that did remove the error so perhaps the so file needs recompiled with some updated source
     
  18. suryan_

    suryan_

    Joined:
    Mar 8, 2018
    Posts:
    1
    THAAAAAAAAAAAAANKS