SocketIOClient-Unreal icon indicating copy to clipboard operation
SocketIOClient-Unreal copied to clipboard

Build issues or connection issues

Open BeniGrosse8 opened this issue 3 years ago • 9 comments

I'm working in Unreal 4.26, and the Plugin worked till setting up a new project.

This is what I've tried:

  1. Download from Marketplace

Issue: Socket.IO Server Connected when starting, Connection Issue after some seconds, but Build is working

  1. Download Version 1.6.0 from GitHub and place it in the Engine Plugin folder

Issue: working in Editor but cannot build: ERROR: missing manifest fpr SpcketIOClient

  1. Download Verion 1.6.0 from GitHub and place it in the Projekt Folder (created a Plugins folder here)

Issue: working in Editor but cannot build_ ERROR: Syntax errors (many of them)

It used to work fine and nothing changed but setting up a new Project with Maps from the old one...

Please Help me out!

BeniGrosse8 avatar Jul 26 '22 08:07 BeniGrosse8

For packaging github variant of plugin see: https://github.com/getnamo/SocketIOClient-Unreal#github. You need to convert project from bp only to hybrid/supporting c++.

getnamo avatar Jul 26 '22 10:07 getnamo

For packaging github variant of plugin see: https://github.com/getnamo/SocketIOClient-Unreal#github. You need to convert project from bp only to hybrid/supporting c++.

Still getting the same Error message in Visual Studio: "UnrealBuildTool : error : Missing precompiled manifest for 'SocketIOClient'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in SocketIOClient.build.cs to override"

I also buyed the Plugin from Marketplace and somehow it loses Connection everytime... So also not working.

BeniGrosse8 avatar Jul 26 '22 12:07 BeniGrosse8

Did you use the .7z file from the 1.6.0 release and not the zip? I suspect you're missing the submodules

getnamo avatar Jul 26 '22 12:07 getnamo

I used the .7z file! Should i try the .zip?

BeniGrosse8 avatar Jul 26 '22 12:07 BeniGrosse8

.zip does'nt work

BeniGrosse8 avatar Jul 26 '22 12:07 BeniGrosse8

.7z is the correct one, what platform are you building for? Windows?

Do you have the precise error messages?

getnamo avatar Jul 26 '22 19:07 getnamo

.7z is the correct one, what platform are you building for? Windows?

Do you have the precise error messages?

with the .7z download I get this Error Message: UATHelper: Packaging (Windows (64-bit)): ERROR: Missing precompiled manifest for 'SocketIOClient'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in SocketIOClient.build.cs to override. PackagingResults: Error: Missing precompiled manifest for 'SocketIOClient'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in SocketIOClient.build.cs to override.

with the EpicStore version (which I also bought) the packaging works, but it always loses the connection.... But it used to work in another project!

BeniGrosse8 avatar Aug 08 '22 12:08 BeniGrosse8

You still have a mismatching plugin to editor version. If you want to use a mismatching one, you'll need a c++ file so you can compile it with your project. Again see https://github.com/getnamo/SocketIOClient-Unreal#github for details.

The 4.26 version of the plugin (v1.6.0 release) does work with socket.io V2, if you need newer protocol, you'll need to back port the newer variant of the plugin or upgrade the engine version (4.27+ supports socket.io V3+).

getnamo avatar Aug 08 '22 14:08 getnamo

You still have a mismatching plugin to editor version. If you want to use a mismatching one, you'll need a c++ file so you can compile it with your project. Again see https://github.com/getnamo/SocketIOClient-Unreal#github for details.

The 4.26 version of the plugin (v1.6.0 release) does work with socket.io V2, if you need newer protocol, you'll need to back port the newer variant of the plugin or upgrade the engine version (4.27+ supports socket.io V3+).

Okay so this is what i've tried again: Socket IO from Marketplace (UE 4.26) Error Message in UE Editor: SocketIO: SocketIO Disconnected Invalid reason: CLOSE_REASON_NORMAL

Socket IO from GitHub (UE 4.26) Error Message while Build: UATHelper: Packaging (Windows (64-bit)): ERROR: Missing precompiled manifest for 'SocketIOClient'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in SocketIOClient.build.cs to override. PackagingResults: Error: Missing precompiled manifest for 'SocketIOClient'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in SocketIOClient.build.cs to override.

Socket IO compiled from GitHUb and Build in Visual Code (like https://github.com/getnamo/SocketIOClient-Unreal#github) Error Message: 1>Using 'git status' to determine working set for adaptive non-unity build (C:\Users\g8\GitHub\22P148_Great8Racer). 1>Creating makefile for Great8Racer (.uproject file is newer) 1>C:\Program Files\Epic Games\UE_4.26\Engine\Plugins\Marketplace\YourQRCode\Source\YourQRCode\YourQRCode.Build.cs : warning : Referenced directory 'C:\Program Files\Epic Games\UE_4.26\Engine\Source\YourQRCode\Public' does not exist. 1>C:\Program Files\Epic Games\UE_4.26\Engine\Plugins\Marketplace\YourQRCode\Source\ThirdParty\QRCodeGenerator\QRCodeGenerator.Build.cs : warning : Referenced directory 'C:\Program Files\Epic Games\UE_4.26\Engine\Plugins\Marketplace\YourQRCode\Source\ThirdParty\QRCodeGeneratorClasses' does not exist. 1>UnrealBuildTool : error : Missing precompiled manifest for 'SocketIOClient'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in SocketIOClient.build.cs to override. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(45,5): error MSB3073: Der Befehl ""C:\Program Files\Epic Games\UE_4.26\Engine\Build\BatchFiles\Build.bat" Great8Racer Win64 Development -Project="C:\Users\g8\GitHub\22P148_Great8Racer\Great8Racer.uproject" -WaitMutex -FromMsBuild" wurde mit dem Code 6 beendet. 1>Die Erstellung des Projekts "Great8Racer.vcxproj" ist abgeschlossen -- FEHLER. ========== Erstellen: 0 erfolgreich, 1 fehlerhaft, 0 aktuell, 0 übersprungen ==========

Again: The Build with the Marketplace Plugin is working, but the Plugin is not... Its downloaded for the correct UE version. It cannot be opened in UE 4.27.... "Project could not be compiled. Try rebuilding from source manually."

Do you have an idea why the marketplace plugin loses connection? I did another porject with it and it worked fine!!

BeniGrosse8 avatar Aug 10 '22 09:08 BeniGrosse8