When migrating the Generic Shooter marketplace asset to 4.13, I am encountering a very weird network issue which renders the game unplayable. I have zero idea what the problem is.
Notes:
When moving from 4.12 to 4.13, there are some deprecated warnings about input nodes that can be ignored, however I’ve fixed these in my local copy but does not resolve the issue.
When moving from 4.12 to 4.13, due to a shader being hardcoded, Generic Shooter will fail to load after package because Generic Shooter has disabled the VR plugins as it doesn’t need them. While disabling these plugins is finr in 4.12, in 4.13, you can not package and run a BP Only project from the launcher version of the engine with the Oculus plugin disabled, otherwise you will get an FPixelShaderDeclaration error. If you are trying to reproduce/fix this, be sure to enable the Oculus plugin in Generic Shooter to avoid this run-time error. Alternatively you can use the engine built from source code it seems.
There are also some FText initialized from FString warnings on cook I can’t seem to get rid of, but they appear to be safely ignorable.
The issue:
Once Generic Shooter is packaged with 4.13, load two clients. It is easier if you set one client to 1280x720p window mode in the in-game settings before loading the second, so all clients will load in 720p window mode instead of full screen.
Host a game with one client, then use the server browser on the second client and join the hosted game.
You’ll immediately see weird behavior as if the client is no longer receiving proper network data… or something.
This issue does not happen in 4.13.0 uncooked. Only 4.13.0 cooked. 4.12.5 uncooked and cooked work 100% as expected. This also worked as expected on 4.13 p1, maybe 4.13p2 but I’m not 100% sure on that.
Bounty:
I’m willing to pay $200 via PayPal + a retroactive free copy of Generic Shooter (get you a refund but you still keep it) for a fix. If multiple people are responsible for a fix I’ll split up the bounty accordingly.
The fix should allow Generic Shooter to play as a networked game as intended. For reference, you can package and run Generic Shooter on 4.12.