Enosi Embedder for Unity

Description:

Easily embed your Unity WebGL uncompressed games into WordPress posts or pages. This plugin provides a simple and customizable way to showcase interactive Unity content on your site.

https://github.com/Voidstack/enosi-embedder-unity

Features:

  • Upload and embed Unity WebGL builds
  • Shortcode support for easy integration (use /unity)
  • Optional mobile visibility control – Choose to hide the Unity WebGL content on mobile devices for better performance or user experience.
  • Loading screen
  • Lightweight and performance-optimized
  • English/French translation

Usage:

Please ensure that only uncompressed builds are used — this is absolutely required.
Go to: File → Build Profiles→ Player Settings → Publishing Settings → Compression Format, and set it to ‘Disabled‘.

Then, in your build folder (named after your build), make sure it contains the following files: yourBuildName.data.gz, yourBuildName.framework.js.gz, yourBuildName.loader.js.gz, and yourBuildName.wasm.gz.
Compress all of these into a .zip file and name it yourBuildName.zip.
The name corresponds to the build ID on the server — use the same name only if you want to override an existing build in the build manager.

⚠️ Warning: avoid special characters and uppercase letters in names whenever possible! ⚠️
⚠️ Make sure all files and the .zip use the exact same lowercase name. ⚠️

Upload your Unity WebGL build folder (.zip format) in the « Build Manager » section.

Use the /unity shortcode in any post or page then choose your unity build.
Then customize width, height, and others via block options.

Requirements:

  • WordPress 6.8 (may potentially work on earlier versions)
  • Unity WebGL uncompressed build exported from Unity 6 or later (may potentially work on earlier versions)

Example: