No, the Unity User-Generated Content (UGC) service is not currently compatible with WebGL builds. This means that UGC features are not designed to function within the WebGL execution environment and you will likely encounter errors if attempting to use them in a WebGL project.
If you need user-generated content functionality in your WebGL project, you'll need to explore alternative solutions outside of Unity UGC. This could involve:
- Developing a custom server-side content management system: This gives you full control but requires significant development effort.
- Using a third-party service designed for WebGL: Research options specifically built for web environments, keeping in mind factors like cost, features, and security.
Remember to consider security best practices when implementing any system for handling user-generated content, especially in a web environment. Protecting against vulnerabilities like cross-site scripting (XSS) and ensuring appropriate content moderation are crucial.
We are tracking this WebGL compatibility limitation internally and will update this article if support is added in the future. We encourage you to submit feedback regarding this issue via the Unity forums or by contacting Unity Support. Your feedback helps us prioritize future development efforts.