Giter Club home page Giter Club logo

ue4-ios-ipv6's Introduction

UE4-IOS-IPV6

Problem

AppStore require every app support ipv6, when I develop a .io game, my agame reject by apple, the reason is the game is not support ipv6, it will stay on loading screen when they test under ipv6.

I google and found almost no one give an answer, So I read the engine code, and finaly fix it, I test the game in my dns64/nat64 env. the reason is the engine have a bug on ipv6 connect on ios, maybe the later new version engine(I use current 4.18.2) will fix it.

So I share the code for every one who have the same problem: your game connect the dedicated server on the remote, and by default, you can not connect under ipv6.

I test on Unreal Engine 4 4.18.2.

How to use it

  1. you must have an cpp project, if you are use a blueprint project, see the video to convert to a cpp project.

  2. copy the two file to your game source path:ProjectRoot/Source/YourGame/ please remember change the YourGame to your own game name.

  3. edit the Config/DefaultEngine.ini, add content:

[/Script/OnlineSubsystemUtils.IpNetDriver]

NetConnectionClassName=/Script/YourGame.TankIpConnection

  1. build the game, launch on the iphone or ipad device.

If you have any question, feel free to email me:[email protected]

ue4-ios-ipv6's People

Contributors

feixuwu avatar

Watchers

James Cloos avatar

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.