fuziki / unitycorebluetooth Goto Github PK
View Code? Open in Web Editor NEWUnity Bluetooth Plugin for iOS & macOS Editor
License: MIT License
Unity Bluetooth Plugin for iOS & macOS Editor
License: MIT License
I got this "DllNotFoundException: mcUnityCoreBluetooth assembly: type: member:(null)"
When I run on M1 OSX.
Unity version: 2022.2.19f1(silicon)
Mac OS: 12.4
Firstly, thanks for the work on this library. I can connect a device and stream messages back and forth really nicely, but if the connection to a peripheral device is lost (out of range) then the write (WithoutResponse) crashes both the plugin and Native Example. It looks like CoreBluetooth knows the write will fail, but the plugin doesn't check/handle it.
Have you tested yourself with peripheral devices either being powered-off or going out-of-range?
Tested the plugin on one Mac mini (2018) with macOS 12.0.1 and on two MBP (2018) with macOS 10.15.7 and 12.1.
Error is solved after the solution:
-Plugin starts fine after the fix. The example starts and gets to start Scan method.
All of BLE devices have been identified with Bluetility app form all Mac computers (BLE works)
New to Swift development and I'm trying to make sense of the workspace vs projectfile and how they are tied together.
I've managed to make some additions and I can build the workspace and get some of the files I see need to go to Unity and I tried building the plugin but it complained about a missing package? I removed an embed and it too eventually compiled but I still don't see all the files you have put into Unity's Plugin folder.
Are all of those built? Raw? Manually Created given the circumstances? Perhaps the UnityCoreBluetooth-Swift.h file isn't generated but manually created? If so then any new methods I create that need to be exposed to Unity need to be added there?
Any context would be nice and educational. Or any documentation you used to make sense of this process would be appreciated.
Regards,
George
Is there a work around now that Xcode has gotten rid of generate-xcodeproj and now that bitcode generated is disabled?
Your makefile requires deprecated commands/flags and so it gets in the way of building the .framework.
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.