# What changed in unicornstudio-react

> 9 changes in unicornstudio-react 2 from its official release notes, upgrade guides and advisories: 3 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/unicornstudio-react/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## unicornstudio-react 2

### New APIs and options

- Adds event timeline sequencing. (2.4.0) — [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.4.0)
- Adds GPU text layers. (2.4.0) — [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.4.0)
- The bundled SDK keys video textures by sampler and adds a playVideoTexture path. (2.2.10) — [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.2.10)

### Performance

- Makes shader compiles faster. (2.4.0) — [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.4.0)

### Behavior and default changes

- The bundled SDK now applies texture-typed variables through setTexture(resolveSampler(...)). (2.2.10) — [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.2.10)

### Fixes and other changes

- Adds support for boolean variables; they were already accepted by UnicornVariableValue. (2.4.0) — [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.4.0)
- Fixes jitter with the frame-rate cap. (2.4.0) — [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.4.0)
- Fixes a crash when a scene is torn down during initialization. (2.4.0) — [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.4.0)
- Now reports 2.4.0 at runtime instead of the stale 2.2.12 string. (2.2.13) — [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.4.0), [release notes](https://github.com/diegopeixoto/unicornstudio-react/releases/tag/v2.2.13)
