Description
If you select Viewport for Play mode, it changes the actual scene. This happens for both, 2d and 3d.

Steps to Reproduce
- Select Viewport on Play mode.
- Put a sphere on the scene
- Move it with Lua script.
script:
function on_update(delta)
translate(0.1,0.1,0.1)
end
- Stop the game
Expected Behavior
Scene should saved before the run, than load back maybe. I dont know the other engines how solved this problem.
Actual Behavior
Scene changed with the runtime game.
Environment
- OS: (e.g., Windows 11, Ubuntu 24.04, macOS 15)
- GPU: (e.g., NVIDIA RTX 4070, AMD RX 7800 XT, Intel Arc)
- Rust version: (output of
rustc --version)
- Cargo features: (e.g.,
editor, editor,solari)
Logs / Screenshots
Paste any relevant console output, error messages, or screenshots.
If the engine crashed, include the contents of crash.log.
Console output
Additional Context
Any other relevant information (related issues, workarounds you've tried, etc.).
Description
If you select Viewport for Play mode, it changes the actual scene. This happens for both, 2d and 3d.

Steps to Reproduce
script:
Expected Behavior
Scene should saved before the run, than load back maybe. I dont know the other engines how solved this problem.
Actual Behavior
Scene changed with the runtime game.
Environment
rustc --version)editor,editor,solari)Logs / Screenshots
Paste any relevant console output, error messages, or screenshots.
If the engine crashed, include the contents of
crash.log.Console output
Additional Context
Any other relevant information (related issues, workarounds you've tried, etc.).