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

Need help with weird plugin behavior on Mac OS X

Discussion in 'Editor & General Support' started by yifu, Jul 25, 2017.

  1. yifu

    yifu

    Joined:
    Dec 23, 2012
    Posts:
    17
    HI, everyone,
    I am Yifu from Ximmerse, a VR/AR input solution provider.
    We are currently working to improve our plugin stability and usability.
    One issue we have right now is:
    When running plugin in Mac OS X in editor, if the project starts out in iOS platform, it wouldn't recognize *.bundle file. (throw out a bunch of errors saying it can't find those external methods defined in plugin.)
    However, if we switch platform to standalone or Android, it would work perfect. And then if we switch back to iOS platform after the switch, iOS platform would work in editor as well.

    We are not Mac OS X expert, but we want to make sure our we provide OS X developers good dev experience.

    Can any plugin expert share some thoughts on this subject?
    If anyone is interested in producing this problem with min package, you can get it here:
    https://github.com/Ximmerse/SDK_Flip/tree/master/Unity
    Steps to repro:
    1. create new project
    2. import sdk package.
    3. switch iOS platform
    4. shutdown unity.
    5. open Unity
    6. at this point, the editor starts out on iOS platform.
    7. go to any scene,
    8. hit play button.
    9. you should be able to see the errors at this point.
    10. if you switch to android or standalone, it would work.
    11. if you switch back to iOS, it would also work.

    Step 9 is the problem we are trying to solve.

    Thanks so much.
    Yifu