Key features
  • ► Login using existing website credentials
  • ► Create an account on your website directly from within your game
  • ► Share login details across all your games
  • ► Automatically receive ANY user data stored in the usermeta table as soon as login succeeded
  • ► All functions and data are stored statically and can thus be accessed at any time from any script in any scene without having to link anything to anything else
  • ► Includes a fully functional and 100% skin-able UGUI prefab to get started ASAP
  • ► GUI and functionality are kept separate. This makes the kit 100% GUI agnostic. Create your own GUI using any system you wish. No need to modify the code to make it work with your chosen GUI system
  • ► Install the kit once and use it with all your current and future games
  • ► Supports the "Remember me" option and auto login if enabled
  • ► Temporarily kick or permanently ban users from specific games
  • ► Features password resetting in case you can't log in
  • ► Allows password changing for logged in users
  • ► Update basic personal info: real names, email, website details
  • ► Use your existing Gravatar image as your in-game avatar
  • ► Select Gravatar type to generate for users who don't have a Gravatar account
  • ► Fetch the appropriate age restricted Gravatar for your game
  • ► Auto detects installed expansion kits and provide settings for them in the inspector when present
  • ► Includes a security feature to prevent outside tampering with your site or games
  • ► Incredibly easy to add new, custom functionality to the kit. (See the FAQ tab for details)
  • ► Features a number of callbacks to hook into for any/all server responses
  • ► Every call to the server results in either a success or failure response, each time triggering an event. Access to these events allows you full control over what to do in each case, no matter the action you tried to perform and what result the server returned.

Implementation into your own games
  1. Install the wub_login plugin on your website (if you haven't done so already)
  2. In your dashBoard click on UnityBridge->All Games to create a new game just like you would make a normal WordPress post
  3. In Unity, give the login prefab your website url and the game ID generated in step 2
  4. Drag the login prefab into a scene
  5. Your game is now configured to run from your website's database. Just hit play to see it in action!

Website features The Unity Bridge plugin includes a full featured dashboard from which to configure everything related to this and all expansions plugins. The dashboard displays the configuration panels for all installed expansions in one convenient location giving you a one stop location to manage everything. The dashboard settings are restricted to admin access only!

Includes ShortCodes and widgets to help you in creating your website
  • ► Create a default game layout and have the plugin auto generate game pages for you.
    You already created the page content when you generated the game so now the plugin will generate pages for all your games using your skeleton layout
  • ► Create a page that automatically generates banners to point visitors to your game's pages
  • ► Generate vertical or horizontal animated banners
  • ► Generate a poster image with rounded corners and customizable styles
  • ► Display a logged in user's status for the current game (Good, kicked, banned)

Display WebGL games on your website Simply build the WebGL game in Unity, upload the folder to your website (optionally, delete everything except the "Data" folder) and then, wherever you want to display your game, assuming your game folder is called "MyGame", just use this shortcode
[wub_webgl game="MyGame" height="500px"]


Now you just need to decide between:

  • ► Displaying the placeholder graphic so games don't load automatically (Save user's bandwidth)
  • ► ...or load games automatically without placeholder images. (Games show faster)

16 reviews for WordPress For Unity Bridge

  1. Rated 5 out of 5

    whizbang101 on 2018-08-15 07:55:58

    Great Solution For Authentication/Login into your game via a WordPress Website - This plugin is easy to install into unity and also is easy to install the plugin into WordPress, the plugin php is nicely formatted and easy editable for any php scripters out there and the c# is coded into namespaces stopping those annoying conflicts in names so it all goes into your existing game or new project alike without any hassle and does exactly what is says, great five star asset in my opinion and a essential to anyone looking to do any type of online game that requires users to login in. I have purchased a couple of this authors assets and only for one ( not this one ) one of his other assets I had to contact him and support was fast reply back within hours with a proper fix that works and a explanation into the issue I experienced, fast professional and at a great price defo worth the price. p.s I would also Recommend if you go for this get his WordPress UserData asset to so storing high scores and lives, current player level whatever you like becomes easy to implement too.

  2. Rated 5 out of 5

    ditttt on 2018-06-11 08:53:28

    Much better than I thought. - Package is well constructed and easy to use. And if you can read some codes you can modify functions as you wish without headache. The developer tends to be total helpful to solve your problem when you have it. Just amazing. If you need WordPress Login, this is it. 100% satisfied.

  3. Rated 5 out of 5

    Mr_DarkShot on 2018-05-08 21:32:56

    Top notch plugin with top notch support - It's a rare enough thing to find a plugin that is as "easy" as the developer claims it to be. Add quick and detailed support to that, and you have a winning tool.

  4. Rated 5 out of 5

    ibps13 on 2018-05-03 18:47:01

    Best login system for wordpress and only one ! - Work perfectly and WUSS plugin suit are amazing, Top noch support too ! MrDude always give solution with detailed explanation and more ! Five star, buy it if you need to use wordpress backend.

  5. Rated 5 out of 5

    TripleMotionMedia on 2018-03-20 05:51:51

    Easy to use, works right away and Awesome support - This plug-in in great! We are Still in the testing stage but we allready love this plug-in and the support. Our goal is to sell serials on woocommerce for different levels. The developer instantly gave us a detailed explanation on How to do this and even took the time to develop a PHP script for us to handle our request! If you are Looking for an easy way to let you website users create one account for your website and your game. Then this is the plug-in with the support you need! Developer goes the extra mile Which shows his passion for his project!

  6. Rated 5 out of 5

    thedorfer on 2018-03-13 01:28:59

    Very great idea - After quickly and thoroughly answering my questions, the developer of this asset filled in the gaps in my understanding of not only how to use the asset, but in some of my coding in general. This app works well and is easy to use once I came to better understand it. Highly recommended!

  7. Rated 5 out of 5

    gamer2300 on 2018-03-06 10:20:25

    Very good asset! buy it without any problems! - package really well done and working really in an exceptional way. The creator is really very patient and generous in giving information. Buy it without thinking nothing if you need something like that! The documentation could be more detailed for those who are beginners with php, but the developer (and the code you buy) tells you anything you need to make sure you use this package correctly.

  8. Rated 5 out of 5

    ThermodynamicsMakesMeHot on 2018-02-24 17:22:43

    Best tool for super easy login controller packed with features TOP NOTCH DEVELOPER!! - Personally I love this tool for the fact it works with wordpress. It is super easy to use even for non-coders but you get the sourcecode so you can easily extend this both in unity and wordpress side. Saves so much because here is a login tool that's works and does not require hours to figure out. When you buy this, do yourself a favor and get the WordPress Data asset by the save dev. It's a perfect companion tool that will give you the ability to save data for your users just as easy. Another one of those tools that is just so good it makes your life so much easier. You will be using for all your games since, yes it does that to. Thank you for for creating such an awesome tool and providing just as equally awesome support and upgrades for the tool for so many years...your truely a TOP NOTCH DEVELOPER!!

  9. Rated 5 out of 5

    StevenGarberg on 2018-02-12 14:22:37

    Fantastic plugin! - Wordpress login works pretty much out of the box, with only about 2 - 5 minutes of setup time between your Unity project and Wordpress site. Should be noted it works like a charm in multisite as well!

  10. Rated 5 out of 5

    thomasbrunel on 2018-02-01 04:52:14

    A must have - - First of all, i have to thank the developer of this Asset for the help he provide me. I'm a beginer in Unity and i was able to use this amazing Asset. To have a Wordpress Login give the easy possibility to sell and host our Game, with hight security and efficiency. - I realy love the other complement Asset, like Money Wordpress or Data. You can sell to your players content with microtransaction like 1$, by making them add minimum 5$ transforme in virtual game money for exemple... - Love the avatar function and game name. Easy to use and install.

  11. Rated 5 out of 5

    Mikelmania on 2018-01-04 14:29:38

    Great asset - amazing support - Besides the easy to use asset I was really impressed by the support ! Looks like Ryunosuke is never sleeping just to provide the best support possible. Many thanks again for solving all my problems (and the ones caused by the new Unity version) in a single day !

  12. Rated 5 out of 5

    spootymilk on 2017-09-05 07:55:00

    Easy to use and good support - Great plugin, very easy to use, if you have a question, the dev repond very quickly. You can customise the ui and you don't have to modifie the code to make it working in your project

  13. Rated 5 out of 5

    rgarrett7 on 2017-08-28 19:27:37

    Elegant asset - This asset provides a great connection between your Unity game and a WordPress server. It saved me many hours of work and is much better than what I would have done. Connecting your Unity work to a webserver, especially one with as much support as WordPress, dramatically expands what you can do in either environment (Unity or WordPress) by itself. I had a question about how the software worked. The developer responded with a terrific answer in 20 minutes. Amazing! The documentation is good, and the software works, just as claimed. I plan to purchase several of the author's additional Unity-to-WordPress assets.

  14. Rated 5 out of 5

    virtualbob on 2017-06-20 15:18:36

    Perfect! - Very happy I grabbed this.

  15. Rated 5 out of 5

    MisterAlwin on 2017-01-25 13:30:00

    Works fine - It just works out of the box. Really, after a few minutes or so, I connected my project to my wordpress website where i am able to manage everything. These are the kind of tools that independent developers need.

  16. Rated 5 out of 5

    good06 on 2017-01-21 00:46:22

    Effective and easy to use - In 30 seconds to make the game and my WP website links up, quick profile, as the effect of the video at the same time can edit a lot of information to update the game, greatly saving my time, the function is perfect, just one login Automatically store account information.


Please check back in soon...

– Initial release. This asset is the replacement of the legacy WUSS Login kit.

NOTE: The legacy WUSS assets and associated WordPress plugins are not compatible with the new WordPress For Unity Bridge asset

  1. How do I get started?
  2. Why do I only see a blank screen after Login?
  3. What data can I fetch during login?
  4. Am I supposed to see the PostLogin screen after login?
  5. Why are the static values in WULogin empty directly after login?
  6. What does the error: “Necessary data rewind not possible” mean?
  7. Can I save data to my WordPress database if I install this kit?
  8. I have a user management plugin installed. Is this kit compatible with that?
  9. If I want to add custom behaviour or integrate this kit with other WP plugins, does this kit allow for that?
  10. How can I use the login prefab across scenes without duplicating the prefabs?
  11. Everything works fine in the editor and when I build the game. Why does the WebGL build give me errors?
  12. When I extract the zip file, why do I get loads of folders with strange names?

Q: How do I get started?
Q: Why do I only see a blank screen after Login?

The WordPress Login kit will authenticate your identity and log you in if your credentials match up. Once it’s done that, it triggers an event to tell you “You are successfully logged in”. It is now up to you to decide what you want to do now. Example: Load the next scene… How you do that is by first registering to the event and then running your own code once the event fires. This means 2 things:

  1. The login kit can be up and running in under 2 minutes and do what it’s supposed to do, but for your game to integrate with it you will need to write an extra script or function of your own
  2. You never need to edit anything in this kit to make it do custom things in your project. Just wait for the event to fire then tell your project to do whatever it is you want to happen when that happens

Create a new script and add the following:

void Start()
    WULogin.onLoggedIn += LoadNextLevel;

void LoadNextLevel(CML response)

Q: What data can I fetch during login?

In the inspector you will find a number of checkboxes that you can tick to select what fields you want to return from the WP_users table. Right below that you will find an array where you can specify any field you desire and that is basically the short answer to this question: If the field exists in usermeta then it can be fetched. Just enter it’s name in the array and immediately after successful login that information will be available to your application

Q: Am I supposed to see the PostLogin screen after login?

No. If you show the prefab while not logged in then the main login screen shows to give you the option of logging in or creating an account. If you show the prefab while you are logged in, those options are pointless. Instead, then you show the PostLogin page to give them the option to log out or to go back to playing the game. See the demo scene for an example of how to show the prefab with the PostLogin screen

Q: Why are the static values in WULogin empty directly after login?

I have attempted to fix this issue but some people still sometimes report having this issue pop up so let me explain it in case you ever encounter it. When you login the kit sends the success event to every function that is listening for it. Usually there will be at least 2 functions that respond to it. One is the one that you created to run your own code after login. The other is one of mine that takes the server’s response and stores it statically for your ease of use later. Depending on which function runs first, the static data will be available or it will not.

Just to play it safe I would recommend you use the static fields anywhere in your project EXCEPT in your login success event response function. All the data that will be stored statically are also passed to your function so simply use the data that was passed to your function rather than relying on the static data.


void AfterLogin(CML response)
    string nickname = response[0].String("nickname");
    string email = response[0].String("user_email");

Q: What does the error: “Necessary data rewind not possible” mean?

This means that the URL you are giving the WULogin plugin is not a direct link to your site and that it get redirected first. Unity’s WWW class does not support this redirection so you will need to find out where and why and how your URL is getting redirected and figure out the solution from there.

This is mostly related to how your server is setup. Many people don’t realise that www is simply a subdomain like any other subdomain and that some websites are setup to forward any link that starts with www to just / while others work the other way around. Other sites have http redirect to https while others use framed redirects to make point to for example.

If you are getting that error then it means you need to give my plugin the URL of your website up to the folder that CONTAINS wp-content. I.e. if WordPress is installed at then wp-content will be located at so you need to give my prefab the url

One customer spent 2 days trying to get past this rewind error. I told her to remove “www.” from her URL and it worked perfectly. It turns out her site was redirecting all www traffic to /.

Another customer struggled for days to get past this error so I told him to change “http” to “https” and it worked perfectly. Turns out his server was setup to forward all http calls to https.

You need to figure out what is causing your URL to be forwarded and then use the final, forwarded url as the url in the prefab.

Q: Can I save data to my WordPress database if I install this kit?

Mostly when people ask that question they mean “any data” and the short answer is no. However, with that being said, the information that WordPress creates for all users when their account is created (username, web site url, AIM, biography etc) that info is available to you via the kit and that information can be freely modified.

Q: I have a user management plugin installed. Is this kit compatible with that?

That is a bit of a tricky one to answer since “compatible” is a very broad term. If there is any information that you need from that other plugin and that information is stored in the usermeta table then, yes, you can fetch that info back, no problem at all. If the plugin contains data that you need but which it stores in custom tables then, no, this kit does not support that right out of the box.

One customer did have this request once and it took something like 3 lines of code to fetch the data he wanted and pass that along with the login information and provide the compatibility he wanted. For further customisation a little more work will be needed but this kit is designed to be super, super easy to modify to add new features of whatever nature you require.

Q: If I want to add custom behaviour or integrate this kit with other WP plugins, does this kit allow for that?

Absolutely yes. There are a number of security precautions in place to prevent tampering with your website (I take care of that so you don’t have to worry about that) but with that said, adding new functions to the kit(s) is extremely, EXTREMELY simple and only has a few steps…

  1. Each kit has a CONST value defined within it inside of Unity. The login kit has the value “LOGIN”, for example. What you need to do is open the file named unity_functions.php and create a function that starts with the CONST value from the kit you wish to extend (but in lower case) followed by whatever name you want to call the function. After that, just add your custom code to that function. That easy.

    function loginHalloWorld() {}
  2. Your output from the function must be sent back as a single string or else WindowsRT platforms will throw out errors. Always use only my SendNode and SendField functions to format your response as proper CML. When ready, send the base64 encoded results to Unity using the SendToUnity function. Errors can be reported using the PrintError function.


    function loginHalloWorld()
      if (!current_user_can("read"))
         SendToUnity( PrintError("This user doesn't even have read authority") );
      global $current_user;
      $favorite_color = get_user_meta($current_user->ID, "fav_color", true);
      $response = SendNode("custom data");
      $response .= SendField("five", 5);
      $response .= SendField("favorite_color", $favorite_color);
  3. In Unity, duplicate one of the functions in WULogin.cs that call WPServer.ContactServer (or create one yourself. Duplicating it just saves you some typing) and for the action to perform, pass it the name of your function, minus the prefix and that is it. You have now added a custom action to the kit.

    public void CallMyFunction(CML onSuccess, cmlData onFailed = null)
    WPServer.ContactServer("HalloWorld", login_filepath, LOGINConstant, null, onSuccess, onFailed);

    Done. You now have a function, complete with error handling, that you can call to trigger your custom function

Q: How can I use the login prefab across scenes without duplicating the prefabs?

WordPress Login, starting from version 5.1.1, now contains a sample project to demonstrate this along with a very detailed readme.txt that explains exactly what is going on in the sample project and why it is done the way that it is done. It also contains an alternate version for cases where the first method is not appropriate. Please see the demo folder in the asset for the detailed answer and example for this question.

Q: Everything works fine in the editor and when I build the game. Why does the WebGL build give me errors?

Unfortunately, since web browsers now enforce CORS for security and Unity themselves don’t have any idea how to setup CORS to allow you to use your WebGL builds across domains, the answer they gave me was simply to “Don’t do it”. WebGL games have the added restriction that other platforms does not have in that WebGL builds need to be uploaded to the domain that is being used in the login prefab. Any testing of the build must be done from that domain. In other words, in the editor it will work just fine but as soon as you build and then try to run the WebGL game from your local machine your web browser (not my code, not your code, not Unity, not your website…but your web browser) will simply deny your project from accessing the website.

If you look in the browser console you will see it shows an errors that plainly says something along the lines of “This code will not be run”. No matter how well you write your game, if the web browser decides what parts of your code it will run and what parts it will simply NOT run, then your project is always going to be at the mercy of your browser. So simply do what the guys from Unity told me and don’t try to run the WebGL game from any domain other than the intended target location (i.e. the domain used in the login prefab). Always upload your build first, then test it.

Q: When I extract the zip file, why do I get loads of folders with strange names?

This seems to be some sort of glitch in some archiving tools. Simply use another app to unzip the file