-
Notifications
You must be signed in to change notification settings - Fork 78
5. Current limitations
Shadows are not supported. Disable them from your lights (light --> cast shadow --> off) or the app will not run.
From Unity 2020.1 & above the way Unity creates the javascript loaders and customizes the templates are changed. So, if you try to upgrade the project to the newest versions you'll get a project that builds correctly but doesn't load anything once played. If you want to try upgrading the library, start from here: https://forum.unity.com/threads/changes-to-the-webgl-loader-and-templates-introduced-in-unity-2020-1.817698/
ARWT reworks how Canvas scales across multiple resolutions. On a Canvas, remove the default Canvas Scaler component and add our custom UI Scaler component.
The first child of the Canvas must be a panel, expanded, and anchored to the center. Drag the child panel inside the Panel property of the UI Scaler component.
At the moment the panel adapts correctly to the end resolution but children don’t scale up or down. This means that all the elements are displayed in the correct position but don’t increase or decrease their size according to resolution.
To avoid errors, use ARWT built-in canvas.
The Unity VideoPlayer component works correctly and you can set it up like in any other project. On Chrome everything works fine. On Safari the video works but it is played in fullscreen. This means that Safari will open a different video player that covers the camera and the augmented reality.
At the moment we simply remove it. We hope that Unity will officially support this kind of build target near in the future.
https://docs.unity3d.com/Manual/webgl-browsercompatibility.html
Send us any feedback and report to help with the development. Fork and make a pull request if you improve the library, we'll be happy to integrate your changes.