Requires Scripting Runtime Version set to 4.6

WordPress for Unity is the complete collection of all the WordPress assets that I have on the store and will include all future WordPress assets that I release to the store.

Buy the complete kit and never miss out on any new feature I release. Every new asset that I add to this kit will increase the price of this kit by the value of the new asset so the earlier you get this package the more you will save down the line.

This asset now includes a complete game template in a perpetual BETA state, making use of all the current assets as the collection grows and thereby allowing you to see how the default prefabs can be customised to suit a specific project.

In this case I modified Unity’s First Person Shooter demo project to include a shop that stores weapon unlocks, upgrade levels as well as stock quantities online. This and more…

This assets’s features include:

MBS Core

► Runtime typed variable creation
► In memory, virtual database complete with search, filters, add, remove and insert functions. Allows for nested data. Each row dictates what columns it has but doesn’t NEED to match any other row
► Smart values to prevent runtime exceptions
► Load / save all game data in 1 line of code
► Easy to use StateMachine
► FromString() class extensions added to int, float, Vectors etc
► Modify transform positions/rotations without first having to duplicate the value and then writing it back. Same with the alpha value on Image components
► Numerous other class extensions
► On screen notification system
► Custom event class. Essentially universal


► Create your achievements as easily as creating a blog post
► Award an achievement as simply as calling WUAchieve.AwardAchievment(id)
► Optionally assign requirements online and award achievements automatically
► Change requirements at any time, even after publishing
► When using auto awarding you can add new achievements after publishing also
► Fetches graphics online only if not already present in the project
► View / assign / revoke achievements, per player, from the dashboard in one click


► Create accounts on your site / in Unity
► Login to website / games with same details
► Customise personal details in Unity
► Password resetting and changing
► Dashboard control panel for all WP kits
► Display game details on your website
► Security to prevent external access
► Player banning / suspension / restoring
► Automatically fetch player’s Gravatar icon
► Fetch any usermeta value during login
► Fetch a list of all games on the website
► Create games on the website directly from Unity
► Access all fetched data statically from any script. No need to first link to anything
► Setup only takes seconds!
► Dynamic setup based on included kits
► Examples: Auto high score / virtual currency balance retrieval during login


► Store int, long, float, Rect, Vector2, Vector3, Color, Quaternion and string
► Store anything that has a ToString method
► Fetch a field, category, all game data or all data from all games of yours the player is playing
► This means (for example) that you can use values from one game inside another or test if they have a specific game and apply bonuses if they do
► Store player preferences across games
► Player’s data can only be accessed by themselves
► Store data globally in real time. Modify game settings and have the changes live immediately. No need to republish your game
► Website admins can monitor/ update/ remove all player data saved in their database


► Add uncheatable timers to your game
► Examples: Lives, gold, crops…
► No server side configuration required
► Set max values and update intervals
► Completely self contained
► Functions to spend or award points
► Functions to update timer value caps


► Set or Fetch scores with 1 line of code
► Custom number of high scores to return
► Show the player’s Gravatar icon
► Sort scores ascending or descending


► Create unlimited virtual currencies
► No setup required to create them
► WooCommerce integration enables in-app content sales from your website
► Sell virtual currencies using WooCommerce
► Auto fetch player’s balances on login
► Creates a self-managed Tapjoy server
► Earn money using Tapjoy monetisation
► Adds features Tapjoy hosted currencies does not:

  1. Multiple players on a single device
  2. Single player on multiple devices
  3. Balances synced between devices instead of “one user, one device”
  4. Spend currencies on platforms Tapjoy doesn’t support

► Option to turn off Tapjoy support
► Simplifies (virtually automates) the coding to create placements in your game


To use Tapjoy in your project you will still need to comply with all their rules and T&C. This includes installing their free SDK, creating an account on their website and setup your Tapjoy account via their website, applying for a virtual currency and agreeing to not use their currency for gambling purposes or the purchasing of physical goods.

4 reviews for WordPress For Unity

  1. Rated 5 out of 5

    TripleMotionMedia on 2018-09-20 12:47:47

    Great asset for connecting your Game to WordPress and more! - I want to start this review of by saying that the developer gave me the best support I have ever had with an asset. We spend over a week together trying to get the asset to work. There was a small problem somehow on our end which caused us not to be able to login. The developer was really quick to reply. Which really helps when you are stuck and frustrated because you can't figure out why something does not work for you but it does for other. The plugin is awesome. We have users register and after a WooCommerce purchase a serial get connected to the account of the player automatically. I haven't even checked out the other kits in this asset and I allready feel like this asset is worth every penny!! Just an awesome asset with the best support I ever had in the asset store.

  2. Rated 5 out of 5

    Vygar on 2018-06-30 22:06:39

    Excellent and Painless - Integrating your project with a website can never be easier than with this kit. I've been using these wordpress integrations for quite some time now and I'm quite pleased with how seamless the whole thing works and how simple the set-up really is. My particular favorites here are WUSS and WuTimers as they make database actions and time-based events very easy to integrate and manage. In fact, they're so well done that I scrapped my own database solutions in favor of this one and saved myself a lot of headache as a result. These are great kits with stellar support and well worth the cost.

  3. Rated 5 out of 5

    robtv on 2018-05-23 16:18:07

    WordPress for Unity by MyBad Studios is an amazing product. This piece of software accomplishes in a matter of minutes what others tried to sell me for 1000s of dollars. It looks good, works great and there are tons of doors that open up, once you start using it. Since I am not very fluent in C or Unity I needed some help to set things up. Ryanosuke is a great help. Not only does he respond in no time, his responses are elaborate and thoughtful and friendly. He is a true craftsman and I recommend him and his work wholeheartedly to anyone who wishes to connect Wordpress and Unity.

  4. Rated 5 out of 5

    rushk1 on 2018-04-28 18:06:06

    Indispensable - This asset has solved the most difficult but also one of the most important parts of making a game. A solid back end. User accounts, user data, the reliability of is perfect. No more waiting for years of experience or spending a lot of money to have these features, I have them right now, thanks to a developer whose very motto is to make these features accessible to everyone. Buying the complete kit was a simple decision. It will keep growing, so it's a great investment. More importantly, it is a whole lot of fun. So many My Bad Studios assets to experiment with and add features to my games,features that would otherwise have been out of reach. The road map looks excellent and one more Asset has already been added to the kit in the two months since I purchased the whole kit. The developer has amazing work ethics. When he answers questions, he considers your game as a whole, not just his asset's part in it. He will consider your game design and the best way to incorporate WordPress as a back end into this design. This means his solutions will work well with your games. Also, he is not one to stand by silently, if he can see you are making a mistake in your game design. He will let his concerns be known, quite eloquently at that, he will then explain things patiently , and this is because he is an honest guy who obviously simply loves making games and sharing his experience and tips with others making games. Customer support is top notch.It is the best support I have received for any software , including those outside of unity.


Please check back in soon...

  1. How do I display achievements on my website? (v2.0)

Q: How do I display achievements on my website? (v2.0)

If no user or game parameter is provided then POST and GET will be searched for uid and gid respectively. If no value is found it will default to 0

All Badges for game 1905

Achieved and locked badges for user 1

Achieved badges for user 1

Locked badges for user 1

All Website Badges

Migrated Customer
Master Hunter
Level 4 Patron
Level 3 Patron
Level 2 Patron
Level 1 Patron
Guild Master
First Purchase
Elite Patron
Discount Customer
Migrated Customer
Master Hunter
Level 4 Patron
Level 3 Patron
Level 2 Patron
Level 1 Patron
Guild Master
First Purchase
Elite Patron
Discount Customer

Achieved and locked website badges for user

Migrated Customer
Master Hunter
Level 4 Patron
Level 3 Patron
Level 2 Patron
Level 1 Patron
Guild Master
First Purchase
Elite Patron
Discount Customer

Locked website badges only

Migrated Customer
Master Hunter
Level 4 Patron
Level 3 Patron
Level 2 Patron
Level 1 Patron
Guild Master
First Purchase
Elite Patron
Discount Customer

Achieved website badges only

Everything this user can or have obtained

Migrated Customer
Master Hunter
Level 4 Patron
Level 3 Patron
Level 2 Patron
Level 1 Patron
Guild Master
First Purchase
Elite Patron
Discount Customer

Everything this user has already obtained

Everything this user still has to obtain

Migrated Customer
Master Hunter
Level 4 Patron
Level 3 Patron
Level 2 Patron
Level 1 Patron
Guild Master
First Purchase
Elite Patron
Discount Customer

– Consolidated all plugins into one single plugin.
    Be sure to uninstall all other WUSS plugins and install only this one now
– Updated the code to call the classes from their new locations
– Updated the WordPress end scripts to help locate the files they need to find
– Updated WPServer to now give you the choice between selecting the game Id by name via the drop down
    or overriding the dropdown and specifying the game id manually. Much easier / faster to get going
– Added the option to the website to block new accounts from being created via the login kit
– Updated the Achievements maintenance page
    – Now displays the ID, attached game and selected icons in preview
    – Achievements can be sorted by id, title or attached game
– Updated the WUData dashboard panel
    – Added a filter to add new submenus
    – Added a filter to prefix the data section with custom code
    – Added a filter to append custom code to the data section
    – Added a filter to append custom code to the end of each category
    – Added a filter to add buttons to the category header
    – Categories can now be animated closed/open for better visibility of large amounts of data
    – Added a button to the category header to delete an entire category with a single click
    – Admins can now ADD new fields to a category (Used to only be able to edit or remove)
    – Admins can now CREATE new categories under a user’s data
    – Added a new submenu. Data types can now be assigned to fields by using their name as the key
    – Base data values now display using numeric or text fields
    – Boolean types display as a checkbox
    – NEW: | separated strings can be used as arrays and displayed in a textarea component
– Added support for website-only achievements
    – Can be manually assigned to a user
    – Can be added via the WUAchivements class inside your custom created hooks
– Added shortcodes to display achievements on the website
    – at any size you want
    – list all or only the achieved/locked game achievements for a user
    – list all or only the achieved/locked website achievements for a user
    – list all existing website achievements either using either the locked on unlocked icons
    – list all achievements for a specific game either using either the locked on unlocked icons
    – in the above cases, display a game and the website icons together
    – in all the above cases optionally display the icon’s name below it
    – numerous classes applied to the various elements for you to override and customize
– Removed the redundant custom defines checking if the relevant parts of the kit are present
– Split the asset up into the demo game, the Unity system and the WordPress plugins individually. This way:
    – Add the W4U system to your project without adding an entire game also
    – View the demo game by adding it to a clean project
    – The one-time-install WordPress plugin is no longer added to every project
– Added the wul_on_login_success filter. Send back custom fields after login using your own plugins
– FIX: Unity used to refuse to set the custom defines until after you have set them manually

– Added a new login function to WULogin called AttemptTrustedLogin
– Added a sample function to the prefab to show how it can be used
– Updated the wuss_login WordPress plugin to allow for this new function
– This function allows a person to sign in on your website using only an email and no password
    The intended use is to log a person in on your site AFTER you have verified their
    identity via Facebook or Twitter or some other means via a 3rd party asset
    If you do not intend to use Facebook or Twitter or sites like those to log into your
    website from within Unity then you might want to delete or comment out the loginTrustedLogin
    function. Alternatively, be sure to set a security string via the Dashboard and in the Unity
    prefab. Since all data is protected by an MD5 key and token you should be safe after setting this

– NEW ASSET ADDED: Achievements
– Integrated it into the game template using sample achievements.
    NOTE: These will not work in your project unless you define them on your website.
    See how I use them then create them or custom achievements on your website to see it in action
    Alternatively, see the built demo to see it in action:

– Updated WULogin to now be a static class
– Placed the inspector values inside of WULoginPrefs

– Updated WUData control panel to allow editing Shared data in additionto user data
– Added the ability to upload Images using WUData
– Removed support for the legacy game id asigning method
– Added new demos scenes for WULogin and WUData
– Added additional documentation for WUData and WULogin
– Fixed a few minor bugs in the project template

– Now includes the ability to sell in-game content via your WooCommerce driven website
– Already configured for virtual currency sales
– Includes an updates WordPres dashboard setting page for WUMoney showing currency balances and transaction history
– You can now change user’s currency balances in the dashboard

– Included the full Game Template, fully WordPress integrated
– Updated WordPress Data’s demo project to use the features of the new WordPress Login
– Replaced the GUIText legacy objects from the High Scores and Timers demo scenes

  1. Why am I seeing loads of errors after importing the asset?
  2. When I extract the zip file, why do I get loads of folders with strange names?

Q: Why am I seeing loads of errors after importing the asset?

First make sure you have scripting runtime version set to 4.x.

If so then go to Edit->ProjectSettings->Player and under “Scripting Define Symbols” paste the following:


You should now be error free

What is happening here is that I am declaring a bunch of symbols but when Unity encounters them it does so in the wrong order and says “I don’t know that symbol! I am going to stop running all scripts that declare symbols until this is sorted out”. Once you have manually declared the symbols Unity will now say “Right, now that you have manually added all the symbols yourself I can now run the scripts that would have added them”.

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