-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT crash when running the UE simulation #27
Comments
I have the same issue. I think an array gets modified during a ranged-for
|
I did not. I bought a different plugin in UE marketplace as I didn't have enough time to debug this, unfortunately |
Thanks for the quick reply! May I know which plugin you got instead? |
https://www.unrealengine.com/marketplace/en-US/product/bp-mqtt Don't count on the documentation though. Had to make changes to it because the API client itself is an actor, so if you change scenes and want to keep your connection, you will run into issues. Definitely overpriced for what it is, but worth it if it fixes your current problem. |
Thanks so much! |
Installing VS2022 fixed it for me. I suspect the |
If the problem is that the mosquitto.dll and mosquittopp.dll libraries are built against the debug runtime, what would it take to replace these? It seems that the bundled mosquitto version is 1.4.8, which was released in 2014. The current version is 2.0.18 I tried swapping the library for a release build of the latest version (as built by vcpkg), but the plugin still crashes. |
I managed to solve this issue by using the tls_support branch, which has working versions of the mosquitto DLLs, built with the Release CRT. IMHO, this branch should be merged into main. |
I received the project file from one of my teammate, and try to run it. But every time I tried, it crashed.
I had the log message as below:
LoginId:eda9b337497a4532127f228fb5ea6205
EpicAccountId:24f4a5322e444860b30a911aa3ec6b47
Unhandled Exception: 0xc06d007e
KERNELBASE
UnrealEditor_MqttUtilities!__delayLoadHelper2() [D:\a_work\1\s\src\vctools\delayimp\delayhlp.cpp:312]
UnrealEditor_MqttUtilities!_tailMerge_mosquittopp_dll()
UnrealEditor_MqttUtilities!FMqttRunnable::Run() [C:\Users\tdeguire\Documents\Unreal Projects\MyProject\Plugins\mqtt-utilities-unreal\MqttUtilities\Source\MqttUtilities\Private\Windows\MqttRunnable.cpp:48]
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll
One of my guess is because of the MQTTRunnable file location.
Any solutions?
The text was updated successfully, but these errors were encountered: