labstreaminglayer / LSL4Unity

A integration approach of the LabStreamingLayer Framework for Unity3D
Other
85 stars 39 forks source link

Issues About Using LSL4Unity on Samsung S8 and Unity #24

Open qiweidong1997 opened 6 years ago

qiweidong1997 commented 6 years ago

Greetings!

First, thanks for your integration on Unity, which helped me save a lot of time on my project!

I'm a student in UCSD SCCN lab, working under professor Tzyy-Ping. I'm currently doing a project based on using Samsung S8 and GearVR to show videos to subjects and integrate these video information with the subjects' EEG information. I'm currently solving a problem with the dll ( or the .so file ) when running on Android. When building the unity project everything was fine, but when I start the app to show the video, the app (in logcat in Android Studio) shows that the dll file isn't found, and I have no idea how to "link" the .so file back to the project. Would you please give me some ideas of how to solve this problem? Thank you!

Yours,

problem

xfleckx commented 6 years ago

Hy,

first at all I'm sorry for the late response. I'm not sure if i could help with that immediately due to missing experience on Android. I'm not sure but it looks like, that the liblslAndroid.so are not deployed with the android app. Are you sure, that you choose the right option on the .so file?

Have a look at this: https://docs.unity3d.com/Manual/AndroidNativePlugins.html

qiweidong1997 commented 6 years ago

Hi Markus!

I'm actually having a problem with the first part of the Unity documentation. It says: "After building the library, copy the output .so file(s) into the Assets/Plugins/Android directory in your Unity project. " Since in your documentation you didn't specify that we need to move the libraries to that folder, do you think that I should move the .so file to this folder? And if I should, what should I do about the LSL.cs file, since it seems to be the "controller" for these libraries?

Thanks!

Yours, Qiwei

syeddanishdev commented 3 years ago

@Alexander1204 I am also facing this issue Can you guide me as well. I am also having issue of DLL not found and I am building for Quest