HoweScape Unity3d WebGL


The Unity3d WebGL support creates a directory of files.
This is not convent to load on your WordPress web site.
This plugin takes the “Release” directory from your game and places it
inside the plugin. When compiling the output directory need to be “Builds_WebGL”.
This plugin can then be referenced from with a short code.
The parameters in the short code are the game name and the width and height.

ie. [hs_unity3d_web_gl_game src=”Roll-A-Ball” height=”500″ width=”600″]

To extend the support for Unity3d to version 5.5.1 an additional parameter has been added.
This parameter allows the specification of a version. The version support is 5.5.1 or the original version supported by the plugin. (ie. original version 5.3.1)
The Unity3d version 5.5.1. creates a directory “Development”. This is what I have uploaded in the included example. (ie. Roll-A-Ball-5_5_1-Release)
The short code is now looks like the following example.

ie. [hs_unity3d_web_gl_game src=”Roll-A-Ball” height=”500″ width=”600″ u3dver=”5.5.1″]

In reviewing the latest verion of Unity3d I noticed that the file organization for the WebGL has been updated again.
With this update there are now 6 supported version 5.3.1, 5.5.1, 5.6.0, 2017.4.0f1, 2018.4, and 2019.4.
When using the newest version you would have a short code like the following.

ie. [hs_unity3d_web_gl_game src=”Roll-a-ball” height=”500″ width=”600″ u3dver=”2019.4″]

All other features should work as before. There are other features being considered please let me know if you desire anything functionality.

With the addition of the settings page it is now possible to place
the release directory in a zip file. (ie. <gamename>
Once the file is uploaded the setting page for the plugin will allow extraction
of the files into a location which the short code can locate. When naming games from version 5.5.1 you will need
to include the version number. (ie. <gamename> With this version place the
files from the Development directory in the zip file. For the latest verion it is the same. (ie. <gamename>
With the addition of the last 2 version the the version number is now shorter.

In the process of doing the latest update I wanted to switch between the different games to verify that everything was working.
To make this task simpler I added a short code which displays a list of the available games and allows the selection of a game.
The major reason for the addition was game development. Since I thought it might be useful I have added it to the plugin.

ie. [hs_unity3d_web_gl_gamepage]

If you use this short code with just the plugin you will have three games. Four versions of the Roll-A-Ball sample game and the space-shooter sample game.
There are 2 ways games can be added, one is making them part of the plugin. The second is as a zip file which gets uploaded to the media directory.
Once uploaded the uploaded game zip file can be expanded into the plugin from the settings page. There is also a delete option on the settings page.
It can remove any game from the plugin. The page now displays the short code with the parameters you selected. The goal of this display is to assist people in getting a short
code which they can put on there page and display the game.

Most video games have a high score list. To support a high score list on your web site I have have added 2 short codes.

ie. [hs_unity3d_high_score] – on page to display scores
[hs_unity3d_addGameScore] – on page to add score

The first is a short code which displays a high score list which consists of the persons name, score, game name, Icon representing the platform.
The second is a short code which when placed on a page allows that page can accept updates. The page needs to be published so it can be located.
The updates are stored in a table in the database. An additional table
is created which contains the information on possible platforms ids and graphics.
Settings have been added to allow you to supply the page name which accepts
the game score. A second is the number of results to be displayed on a page. The URL will have the following general form


The following information is returned. A HTML page with a table.

Arbitrary section

A brief Markdown Example

[hs_unity3d_web_gl_game src=”Roll-A-Ball” height=500 width=600]

Ekran Görüntüleri

  • Screen capture of Roll-A-Ball game from
  • Screen capture of Roll-A-Ball game with updates to colors
  • Screen capture of error message caused by building to incorrect directory


WordPress başlangıç ekranınızdan

  1. ‘Eklentiler > Neler yeni’ sayfasını ziyaret edin
  2. Search for ‘HoweScape Unity3d WebGL’
  3. Activate HoweScape Unity3d WebGL from your Plugins page. desteğiyle

  1. Download HoweScape Unity3d WebGL.
  2. Upload the ‘HoweScape Unity3d WebGL’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate HoweScape Unity3d WebGL from your Plugins page.


  1. Can I use this plugin with my own Unity3d game?

    Yes Take the release directory from Unity3d Build directory and place in the plugin directory. Prefix the release directory with the name of the game ending in “-Release” The game name then is used in the short code.

  2. Can there be multiple games in the plugin?

    Yes. Each game is in its own <gamename>-Release directory

    There are currently three games in the delivered plugin.

  3. Can the games be placed outside the plugin?

    Yes, In the media directory

    The settings page allows games to be extracted into the plugin.

  4. How do I move the ball?

    The arrow keys allow movement of the ball to collect the cubes.

  5. How to play space Shooter.

    Arrow keys move ship.

    Mouse button fires gun. Mouse needs to be in window.

  6. My game does not work I get an error message.

    “An error occured running the Unity content on this page.”

    “The error was: uncaught exception: incorrect header check”

    When I compiled my Unity3d game I used “Builds_WebGL” as the directory.
    This seems to be a requirement of the plugin.

  7. For version 5.5.1 and 5.6.0 the game name restriction.

    With these versions the restriction on build directory has been removed. The names needs to not contain spaces.

  8. How is the game name specified in 2018.4 and 2019.4?

    The directory selected for the output.

  9. I can not find the release directory?

    For a game to be added you must add it to the plugin or create a zip file with the contents of the “build” directory.

  10. How do I name the zip file?

  11. Does the plugin support a High Score list?

    No, I removed that feature, seemed to not fit.

  12. What happens when I upload a game multiple times in the same day.

    The file name receives a dash and a number to represent the number of times uploaded. This information is now included in the list of uploaded files. The number is removed when the game is expaneded.


29 Temmuz 2019
Wow this actually works great! I got my game working in Unity version 5.6.0 and with your plugin & instructions this works perfect on my site!! You are a star!
3 incelemeyi oku

Katkıda Bulunanlar ve Geliştiriciler

“HoweScape Unity3d WebGL” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.

Katkıda bulunanlar

Değişiklik Kaydı


  • Corrected support files for 2019.4
  • Consolidated graphic files from different versions, hoping to make plugin smaller.


  • Added support for 2018.4
  • Added Support for 2019.4


  • Updated tested version of WordPress to 5.2.2. Required minor updates to support changes in PHP version and WordPress


  • Restructured the application to use the Class model
  • Updated the shortcode hs_unity3d_web_gl_gamepage to allow selection of the short code values from drop down lists.
    This allows you to test a short code configuration with different values.


  • Added support for Unity3d 5.5.1. This requires adding a parameter to the Short code.
  • This parameter is not required for Web GL games which have a .htaccess file
  • Example of parameter u3dver=5.5.1
  • At this time there is no other values which are supported.
  • The template data directory was also added to support version 5.5.1.


  • Added Settings page. This provides three groups of information.
    The first group is a list of the Unity3d games in the plugin.
    The second lists is of Unity3d games expanded into the plugin.
    The third is a list of zip files in the media directory which the plugin recoginise as Unity3d gamems
  • The extract button takes the identified zip file and expands the game into a subdirectory.
  • Updated processing to to include search to include expanded games.


  • Update file Calling to use recommended
  • Removed “Created with unity” link from plugin


  • Original Release