juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.15k stars 526 forks source link

Compatibility issues with other plug-ins #163

Open ElDuderini opened 4 years ago

ElDuderini commented 4 years ago

Hello, I have been spending a lot of time this week trying to utilize flutter for a pre-existing unity project that incorporates the use of other Andriod plugins to connect to heart rate and cadence sensors.

I was able to get our project to launch in flutter fine, but when the game tries to establish a connection with the ant plus plugin, it is unable to be utilized. The following error is thrown when trying to utilize the ant plus sensors. image

I interpreted this error as unity was unable to get access to the plugin, so I tried to implement the jar files unity produces that correlates to ant plus services. I put the files into the unity-classes folder like this. image

While there were no errors when adding these files, unity was still unable to use ant plus. Am I supposed to go about this in a different way?

ElDuderini commented 4 years ago

Just an update on other things I am trying. I built and ran the application using the --no-shrink command and fixed the associated errors with building. After building and then running the APK, the ant plus plugins still don't work.

ElDuderini commented 4 years ago

This isn't specific to Ant plus either, I used a Bluetooth plugin earlier in the project that I wanted to see if it worked. I had very similar issues and haven't been able to get it to work. image