Skip to content

refactor: automatically migrate engine v1 projects - #2130

Merged
kpal81xd merged 6 commits into
mainfrom
remove-engine-v1-editor-support
Jul 29, 2026
Merged

refactor: automatically migrate engine v1 projects#2130
kpal81xd merged 6 commits into
mainfrom
remove-engine-v1-editor-support

Conversation

@kpal81xd

@kpal81xd kpal81xd commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Forum: https://forum.playcanvas.com/t/important-playcanvas-editor-support-for-engine-v1-ends-on-july-1st/42242

Engine V1 projects now move to Engine V2 automatically when a user with write access opens them.

What's Changed

  • Copies scene gamma correction and tone mapping to camera components, sets engineV2 to true, and reloads the Editor.
  • Removes the manual Engine V1/V2 switch and its confirmation picker.
  • Leaves WebGL 1, AudioSource, schema fields, inspectors, and other compatibility paths unchanged.

Rollout

Deploy this frontend first. Writable Engine V1 projects migrate when opened. Read-only sessions do not persist a migration; a user with write access or the later backend migration must update those projects.

Manual smoke test

  1. Open a writable Engine V1 project with non-default scene gamma correction or tone mapping; expected: the camera values are updated, engineV2 becomes true, and the Editor reloads.
  2. Open Settings > Engine; expected: the engine version selector remains, but the Engine V1/V2 switch is absent.
  3. Open an existing Engine V2 project; expected: it opens without a migration or forced reload.
  4. Open an Engine V1 project with read-only access; expected: no project or scene data is persisted.

Checks

@kpal81xd kpal81xd self-assigned this Jun 29, 2026
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
editor Ready Ready Preview, Comment Jul 29, 2026 2:29pm

Request Review

@mvaligursky

Copy link
Copy Markdown
Contributor

Just double checking. If user opens a project that has not been opened in years, we still handle V1 -> V2 migration for data, for example material properties?

@Maksims

Maksims commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

What will happen to our V1 projects on our accounts?

@mvaligursky

Copy link
Copy Markdown
Contributor

What will happen to our V1 projects on our accounts?

See here: https://forum.playcanvas.com/t/important-playcanvas-editor-support-for-engine-v1-ends-on-july-1st/42242/6

@kpal81xd
kpal81xd force-pushed the remove-engine-v1-editor-support branch from f07a2df to a105c59 Compare July 29, 2026 13:50
@kpal81xd kpal81xd changed the title refactor: remove engine v1 editor support refactor: migrate projects off engine v1 Jul 29, 2026
@kpal81xd kpal81xd changed the title refactor: migrate projects off engine v1 refactor: automatically migrate engine v1 projects Jul 29, 2026
@kpal81xd
kpal81xd merged commit e8fbd26 into main Jul 29, 2026
7 checks passed
@kpal81xd
kpal81xd deleted the remove-engine-v1-editor-support branch July 29, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants