{"id":26067497,"url":"https://github.com/agoraio-community/agora_unity_webgl","last_synced_at":"2025-06-15T20:35:31.916Z","repository":{"id":37056460,"uuid":"388284061","full_name":"AgoraIO-Community/Agora_Unity_WebGL","owner":"AgoraIO-Community","description":"WebGL plugin for Unity, beta release","archived":false,"fork":false,"pushed_at":"2024-07-23T22:03:41.000Z","size":116832,"stargazers_count":116,"open_issues_count":4,"forks_count":25,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-24T21:03:19.432Z","etag":null,"topics":["sdk","unity","video","webgl"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AgoraIO-Community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-07-22T00:42:19.000Z","updated_at":"2025-02-20T10:52:58.000Z","dependencies_parsed_at":"2024-03-18T20:09:25.578Z","dependency_job_id":null,"html_url":"https://github.com/AgoraIO-Community/Agora_Unity_WebGL","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgoraIO-Community%2FAgora_Unity_WebGL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgoraIO-Community%2FAgora_Unity_WebGL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgoraIO-Community%2FAgora_Unity_WebGL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgoraIO-Community%2FAgora_Unity_WebGL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AgoraIO-Community","download_url":"https://codeload.github.com/AgoraIO-Community/Agora_Unity_WebGL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248448363,"owners_count":21105283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sdk","unity","video","webgl"],"created_at":"2025-03-08T21:44:58.673Z","updated_at":"2025-04-11T17:24:16.170Z","avatar_url":"https://github.com/AgoraIO-Community.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Agora Unity WebGL Plugin and Demo\n\n*[中文](README.zh.md) | English*\n\nThis project is the open source WebGL SDK for Unity, a wrapper to the Agora Web SDK 4.x.  \n\n## Important Notice\n\n1. **This is a community supported SDK in open beta.**  Do not assume everything works correctly as an official product. Do not expect the same behaviors from the original Unity SDK. **The Agora Support team does not assume responsibility in solving your issues.**\n2. This project is **NOT** compatible with the current official Agora Unity SDK ver. **4.x**\n3. If your just want to get the SDK, **do not clone this project** unless you plan to contribute code.  Instead, go to the [Release](https://github.com/AgoraIO-Community/Agora_Unity_WebGL/releases) section download the package.\n4. Check the [Wiki page](https://github.com/AgoraIO-Community/Agora_Unity_WebGL/wiki) to understand this SDK some more before proceeding to download or asking questions.  \n5. Spatial Audio may not work.\n6. If it is not a bug or improvement request, your question probably should be asked in the [Discussions](https://github.com/AgoraIO-Community/Agora_Unity_WebGL/discussions) page instead. \n7. Do press the Star to show respect to people who work hard on creation of this SDK on your demand.** \n\n## Prerequisites\n- Unity 2019 and up\n- Agora Developer Account\n- Knowledge of how to deploy and debug WebGL Application from Unity\n- Google Chrome\n\n## Updated main Demo\n\n![webgldemo](https://user-images.githubusercontent.com/1261195/180123220-ca7e96e2-bff5-48d7-b5bd-30a37003bdc9.png)\n\n\n## Quick Start\n\nThis section shows you how to prepare, build, and run the sample application.\n \n\n### Obtain an App ID\n\nBefore you can build and run any Agora project, you will need to add your AppID to the configuration. Go to your [developer account’s project console](https://console.agora.io/projects), create a new AppId or copy the AppId from an existing project. \n\n**Note** it is important that for a production ready project, you should always use an AppId with token enabled.  However, in testing a demo, you will skip this part.  Using a testing mode AppId can save time for POC integration.\n![enter image description here](https://user-images.githubusercontent.com/1261195/110023464-11eb0480-7ce2-11eb-99d6-031af60715ab.png)\n\n  \n\n### Run the Demo Application\n\n1. It is optional to clone this repository,  to obtain the unity package file, go to [the release section](https://github.com/AgoraIO-Community/Agora_Unity_WebGL/releases) and download the latest version.\n3. Import the WebGL SDK package (Unity Editor-\u003e Assets -\u003e Import Package -\u003e Custom Package). \n4. From Project window, open Asset/AgoraEngine/Demo/Main.scene\n5. Next, go into your Hierarchy window and select  ****GameController****, in the Inspector add your  ****App ID****  to to the  ****AppID****  Input field.\n\n### API-Examples\nThis repository includes a set of API-Examples that shows how to use a particular feature. Starting from Refactor 8 release, these demo scene are grouped into the Home Scene for build.  Use the AppIDInfo asset to input the AppID (and token if using certificate enabled AppIDs)\n![WebGL_-_WebGL_-appID](https://user-images.githubusercontent.com/1261195/232563068-f61d4d5c-b3a8-4f0c-b6a6-d7abbe9ec253.jpg)\n![Screenshot 2023-04-17 at 10 25 10 AM](https://user-images.githubusercontent.com/1261195/232563080-e4055c69-7bb8-43bf-9cc0-1d7a4ef8f59f.png)\n\n\n### Testing in Editor\nYou must download the \"Complete\" package from the Release.  The package includes native plugins (Windows/MacOS) that support the Editor environment.  Some may confuse on why certain functionalities work differently on Web verses \"Editor\".  That is because the platform differences between the WebGL and the native.\n\n### Build and Run\n\n 1. Go to  ****File****  \u003e  ****Builds****  \u003e  ****Platform****  and switch to platform WebGL \n 2. Make sure ****AgoraTemplate**** or ****AgoraTemplate2020**** is chosen under \"Resolution and Presentation\":\n![webgl_template](https://user-images.githubusercontent.com/1261195/130500369-53dca294-2cf5-4a0d-a875-a8ab8fbabd70.png)\nThe difference of the templates: use AgoraTemplate2020 for Unity Editor 2020 and up.\n 3. You may do Build And Run for Unity version 2020 and up.  For other versions, you need to build first, then run it from your local http server. \n\n\n\n\n## Resources\n  \nPlease see [the Wiki page](https://github.com/AgoraIO-Community/Agora_Unity_WebGL/wiki) for more information.\n\n## License\nThe MIT License (MIT).  [See doc.](LICENSE)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagoraio-community%2Fagora_unity_webgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagoraio-community%2Fagora_unity_webgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagoraio-community%2Fagora_unity_webgl/lists"}