Supported Features and Limitations
Supported Unity Features
- Most built-in component that comes with Unity are supported:
- Physics: Colliders, RigidBody, Triggers
- Lighting: Directional (Mixed) or Spot/Point/Area (Baked)
- Renderers: MeshRenderer, SkinnedMeshRenderer, …
- Particle Systems
- Animation (Animator, AnimationControllers)
- Custom Shaders (Shader Graph)
- We may extend or remove components from this list during the beta program.
See this page for a full list of supported components:
Custom C# scripts are not supported. Do not include or add any custom components to any game objects in your scene as they won’t work when loaded into Spatial.
This includes importing assets from the Unity Asset Store that come with custom scripts.
You can write your own shaders to customize the look of your environment!
Any shader that works in WebGL, should work across all platforms on Spatial. WebGL has some limitations, like not having the ability to run Compute Shaders and other advanced GPU features.
Current WebGL uses OpenGL ES3.0: https://registry.khronos.org/webgl/specs/latest/2.0/ https://docs.unity.cn/2022.1/Documentation/Manual/EditorCommandLineArguments.html
The Unity built-in video player does not support Web currently. Embedding videos into environments is possible, but they only work on non-web platforms (mobile, headset).
Support for video player on web is something we will support in the future.