videofeedback / unreal_engine_serialcom_plugin Goto Github PK
View Code? Open in Web Editor NEWSerial Com Port Library for Unreal Engine 4 and Unreal Engine 5
License: MIT License
Serial Com Port Library for Unreal Engine 4 and Unreal Engine 5
License: MIT License
It would be nice to be able to select ports by name because the order of ports can change if you have multiple serial devices attached, in which case referencing by index would not work.
Thanks for your great plugin.
I wonder if there is a call-back function implemented for reading serial messages.
Because I cannot use thread infinite while looping to track the serial message.
Thanks.
I got Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff in SerialCom.cpp line 371.
This crash happens occasionally, and randomly. I don't know what the cause is, at all.
I am not familier with Windows API, but my guess is something going wrong on reading file asynchronously. Maybe need to wait until asnc read is done, or use sync read instead?
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "Println" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin My Serial Port no longer exists on node Set . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Set . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Flush . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Flush . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Flush . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "Flush" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Open Com Port with Flow Control . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Open Com Port with Flow Control . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Return Value no longer exists on node Open Com Port with Flow Control . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "OpenComPortWithFlowControl" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin My Serial Port no longer exists on node Get . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Is Opened . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Return Value no longer exists on node Is Opened . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "IsOpened" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin My Serial Port no longer exists on node Get . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Is Opened . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Return Value no longer exists on node Is Opened . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "IsOpened" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "Println" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin My Serial Port no longer exists on node Get . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Close . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Close . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Close . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "Close" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "Println" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Is Opened . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Return Value no longer exists on node Is Opened . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "IsOpened" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin My Serial Port no longer exists on node Get . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Close . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Close . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "Close" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "Println" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Println . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "Println" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Flush . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Flush . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Target no longer exists on node Flush . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "Flush" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin My Serial Port no longer exists on node Set . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Set . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Open Com Port with Flow Control . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin no longer exists on node Open Com Port with Flow Control . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] In use pin Return Value no longer exists on node Open Com Port with Flow Control . Please refresh node or break links to remove pin. from Source: /Game/BP_SerialCom_v3_UE5EA.BP_SerialCom_v3_UE5EA
PackagingResults: Error: [AssetLog] D:_UE5Test\com511\Content\BP_SerialCom_v3_UE5EA.uasset: [Compiler] Could not find a function named "OpenComPortWithFlowControl" in 'BP_SerialCom_v3_UE5EA'.
PackagingResults: Error: Unknown Cook Failure
Using the UE5 EA version of the plugin works for UE 5.0.1 but rebuilding requires .NET Framework 4.8 SDK to work (the general .NET SDK will not work).
Installing .NET SDK:
(assuming you have already have installed Visual Studio Community/Enterprise/Professional)
Launch Visual Studio Installer
Click Modify
Select the tab: Individual components
Check the box: .NET Framework 4.8 SDK (filter by SDK if you need to)
Click the Modify button to confirm changes and install the SDK
The plugin should build properly now when prompted on UE 5 start-up.
I encountered some errors when packaging my project using the SerialCom plugin. I tried putting the plugin in the engine directory at Plugins/MarketPlace, which I saw on the community is a new requirement for UE5, but I still encountered some errors. The error is now stuck at this point. How can I resolve this? I haven't used the newly released update for 5.1.1 yet. Can I simply copy and replace the files to update the plugin? Do I need to reconfigure anything in my blueprints?
Hello, I have spent hours trying to understand and looking for a solution to be able to make the game can be packaged and run on windows. In UE4 I don't have any kind of problem using the SerialCOM plugin and using all blue print in version 4.27. I can open the game in new editor window and it works 100% all comunication. But at the time of packaging I don't know why it doesn't install the plugin and I get a message that it can't find the plugin and that the plugin must be installed and the program closes. I have searched how I can solve this and nothing, I don't know what it can be or what I should do. Any suggestion?
Here is all the data that I have for the problem.
https://www.dropbox.com/s/mwl1punar9w070l/Packeging%20Error.txt?dl=0
https://www.dropbox.com/s/bcym89gzcu6knq1/Error.jpg?dl=0
Hello @videofeedback
I have a question about this Plugin. Is it possible to use this Plugin directly in a C++ class? If so, Can you give me some hints? I want this Plugin to read data from Arduino Due over Serial Port.
I appreciate any help you can provide.
Regards
Jemish
Just checking if there'll be an update for UE5.0.3 as I'm constantly getting a "Unable to Rebuild because of a different version" error and I'm unable to downgrade to UE5.0.0.
Any help is appreciated! Thank you!
Hello,
I am running into an issue where after importing the plugin, if I try to make a C++ class or compile, I get the error that the plugin is not available.
I have checked that the plugin is installed. Before I made the C++ class, I was able to make the Arduino I have work with Blueprints. The moment I made a blank Actor class in C++, I started getting that error.
What's more, now I find myself unable to even open the project.
Is it possible to communicate with several serial ports, instead of one?
I want to interface with multiple Arduino boards from Unreal Engine using this plugin.
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.