Giter Club home page Giter Club logo

unreal_engine_serialcom_plugin's Issues

Referencing serial ports by name

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.

Call-back function for serial reading

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.

Random crash while reading bytes

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?

Hello, in 5.1 preview version 2, I tried to package and the following problems occurred~~

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

Requirements for Building Plugin (UE 5.0.1)

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.

SerialCOM Builded Issue

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?
image

Packaging game Plugin SERIALCOM Not Found

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

How to use this Plugin directly in a C++ Class?

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

UE5.0.3 Support

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!

Unreal 5.1 package issue

Hi there,

after I packaged the project and start the .exe file, the error pop up:
Screenshot 2023-01-30 093900
I tried delete the saved, Intermediate and build folders but does not work.

By the way, the discord link does not work any more...

Thanks in advance.

Unable to find plugin 'SERIALCOM' (referenced via ProjectName.uproject). Install it and try again, or remove it from the required plugin list.

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.

Multiple serial devices

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.