Support » Plugin: HoweScape Unity3d WebGL » Game not foundShort cut parameters do not match available games.

  • Resolved matcarps

    (@matcarps)


    Hi,

    Thank you for the great plugin.

    I have successfully added my own unity game to the plugin. However, when i try to generate shortcode (manually, and using shortcode generator provided by plugin) i am hit with the error below –

    Game not foundShort cut parameters do not match available games.

    Please let me know what I can do to resolved this issue.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author pthowe

    (@pthowe)

    @matcarps ,
    Have you created the ZIP file?
    Did you upload the ZIP file?
    Did you expand the the ZIP file using the button in the Setting menu?

    Here is a general review of what the short cut should look like:

    [hs_unity3d_web_gl_game src="Roll-a-ball" height="900" width="900" u3dver="2020.3" buildtype="Production"]
    

    The parts are Short Code: ‘[hs_unity3d_web_gl_game ‘
    The parameter to identify the game: ‘src=”GameName” ‘
    The parameter to specify height of game: ‘height=”900″ ‘
    The parameter to specify width of game: ‘width=”900″ ‘
    The parameter to specify which version: ‘u3dver=”2020.3″ ‘
    The parameter to specify build type: ‘buildtype=”Production”] ‘

    Lets pick a game name and version. If you compile your game with Unity3d giving the name “MyGameTester”. For this example we are using version 2020.3.x and we are doing a production build using GZip compression.

    The file name we are going to create and upload is: MyGameTester_2020_3-Release.zip”
    The contents of this file will be:
    MyGameTester.wasm.gz
    MyGameTester.data.gz
    MyGameTester.framework.js.gz
    MyGameTester.loader.js

    The resulting short code should be:
    [hs_unity3d_web_gl_game src="MyGameTester" height="900" width="900" u3dver="2020.3" buildtype="Production"]

    The game name can not contain spaces, underscore or dash because of some choices I made in the code. If you provide the short code you are trying to uses I will give it a review. Thanks for the feedback. Everything I learn makes it better.

    PTHowe

    Thread Starter matcarps

    (@matcarps)

    The shortcode I am using is – [hs_unity3d_web_gl_game src=”Mobus” height=”600″ width=”500″]

    I uploaded this file directly thru cPanel directory. I did not use FTP to upload the file.

    Zip file has been added to the appropriate folder, and from C panel I extracted the contents into the correct plugin directory. Once extracted, my game is identified in backend of plugin as ‘Mobus’ but will not enable me to display it no matter the combination of short code i use.

    Additionally, I am not seeing an option from within the plugin to expand the zip file. i had to do that myself via a manual extraction.

    Appreciate your assistance! Let me know if you see anything set up incorrectly on my end based on the info provided above.

    Thread Starter matcarps

    (@matcarps)

    Hi –

    I was able to solve my issue by just hosting the unity game in a seperate directory under the public HTML file and then embedding using and iframe.

    You can go ahead and consider this one closed! Thank you for your amazing support.

    Plugin Author pthowe

    (@pthowe)

    @matcarps , with the information you provided. you are using Unity 5.3.1 That is the default version if you do not provide the “u3dver” parameter.

    in regards to uploading the files I used the dashboard media -> Add New

    The setting are found in two locations, in the Dashboard -> Plugins -> Installed Plugins -> HoweScape Unity3d WebGL
    Also Dashboard -> Settings -> HoweScape Unity3d Game Settings

    If you uploaded through the web site manager the location would be something like: <something>\public_html\wp-content\plugins\howescape-unity3d-webgl\game_dir\<gamename>_<version>-Release\<game files>

    I will mark this case closed Thanks for letting me know you resolved the issue.

    PTHowe

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Game not foundShort cut parameters do not match available games.’ is closed to new replies.