Repository navigation
visr-v0.6.18
Pre-releasevisr-v0.6.18 (2026-11-14)
Summary
- The game loop now runs on its own thread on iPhone, iPad, Apple TV, and Mac, so drawing and input no longer wait on it. Play as you normally would and report any stutters, hitches, freezes, or crashes, with the map and what you were doing.
- Check pausing, the pause menu (including the audio output button), text entry, and leaving and returning to the app (Home, app switcher, or hiding the Mac app) in the middle of a game.
- On a Mac, check that quitting during a game exits cleanly.
iCloud Saves starts off. To try it, sign in to iCloud on each device, then turn on iCloud Saves under Network Setup in the game's profile settings (on iPhone, iPad and Apple Vision Pro also on VISR's page in the Settings app). It takes effect at the next launch.
VISR automatically sends missing shader descriptions and device model information to improve loading. Reports exclude gameplay and personal file names. Apple's upload service attaches an account-specific identifier. Shader diagnostics are required in builds with shader uploads enabled.
VISR automatically sends game performance data to improve the game. Reports exclude names, chat, and personal file names. Apple's upload service attaches an account-specific identifier. Performance diagnostics are required in builds with performance reports enabled. Sharing this data is part of testing; leaving the beta stops it.
Full changelog
feat
- host: start the game thread on tvOS behind
debug.game_thread(#128) —game_thread_runand thehost_exitposting now coverTARGET_OS_TV, with flag-off flow unchanged - host: start the game thread on iOS and iPadOS behind
debug.game_thread(#128) —mainstarts the thread and returns into UIKit, a main-run-loop timer capped at 120 Hz pumps events, andhost_exitposts shutdown to main - host: start the guest on a
gamepthread on native Mac behinddebug.game_thread, with main pumping events and owning shutdown (#128) - metal: keep the game thread's frame workgroup membership on native Mac when
debug.game_threadis on (#128) - host: add
host_crash_thread_install, a 64 KBsigaltstackfor a dedicated thread (#128) - host: declare
host_crash_thread_installfor per-thread alternate signal stacks (#128) - host: hold the worker on a condition variable in
host_lifecycle_hold(#128) — off main withdebug.game_threadon, install marshals to main; flag-off and on-main paths keep the run-loop spin - host: condition-variable foreground wait for the game thread (#128) —
host_lifecycle_waitpublishes background state under the mutex the worker waits on, so no wakeup is lost - ios: add
host_output_sync.hrequest mailbox and slot-drain fence for threaded output changes (#128) - host: read
debug.game_threadonce and pump SDL events on main (#128) - host: declare
host_game_thread_enabledandhost_event_pump(#128)
fix
- host: show the fatal message box on the main thread —
host_fatalraised on the game thread now hops to main beforeSDL_ShowSimpleMessageBox(#128) - host: report the game thread off on visionOS and Catalyst and expect the on default in the window probe (#128)
- ios: show the pause-menu audio button from the main thread (#128)
- host: keep main-thread behavior with the game thread off —
host_device_identifyreads the screen size and refresh rate live again when on main instead of from the startup snapshot,host_alertdeclines off-main callers again unlesshost_game_thread_enabled()is true, andhost_macos_data_rootfalls back to the Application Support search path when the startup snapshot is empty (#128) - host: start and stop SDL text input on the main thread —
text_input_updateran on the game thread and Main Thread Checker reported the Cocoa text view calls fromSDL_StartTextInput, so both calls now go throughhost_main_sync_f(#128) - tvos: marshal text prompts, the input gate and Siri Remote latch reads to main when the game runs off main (#128)
- host: make the second-scene request atomic and keep SDL's nested pump off on the game thread (#128) —
extra_scene_pendingandextra_scene_watchare_Atomic,host_extra_scene_pollclaims 1 to 2 with a compare-and-exchange, and withdebug.game_threadit no longer callsSDL_SetiOSEventPump(true) - ios: link
host_main_thread.cinto the macOS window probes inmacos_test.py(#128)
perf
- metal: skip the frame workgroup leave and hold on tvOS with
debug.game_thread(#128) — UIKit stays on main without membership, so the text-dialog work-interval workaround is not needed - metal: keep workgroup membership on the game thread on iOS (#128) — extends the native Mac guards in
gpu_metal_frame_deadline_leaveandgpu_metal_frame_deadline_holdto iOS whendebug.game_threadis on
refactor
- ios: main-owned external scene state with a planned, fenced output commit in
host_external.m(#128) - metal: drain
frame_slotsbefore scale and drawable-size changes and ticket cap requests withdebug.game_threadon (#128) - ios: run the minimized-window recovery on the main thread in
host_main.m(#128) - ios: marshal the snapshot fallback and use cached pixels in
host_external.m(#128) - ios: read the drawable size through
host_sdl_window_pixelsinhost_gpu.c(#128) - ios: refresh the window caches after each
host_event_pump(#128) - ios: marshal window creation and relative mouse through
host_main_sync_fand cache window sizes for workers inhost_sdl.c(#128) - ios: declare the window pixel helper and cache refresh in
ios_host.h(#128) - host: fetch events through
next_eventsodebug.game_threadcan peep instead of poll (#128) - macos: marshal the Mac import flow through the main thread (#128)
- macos: let the Mac alert and benchmark notice run off main (#128)
- host: wait on semaphores off main in
cloud_wait(#128) - host: marshal the benchmark page and notice through
host_main_sync(#128) - host: marshal the tester benchmark menu through
host_main_sync(#128) - host: marshal the tvOS import screens through
host_main_sync(#128) - host: marshal the asset import screen through
host_main_sync(#128) - host: let
host_alertpresent on main and wait off main (#128) - host: add
host_modal_waitfor off-main modal polling (#128) - gpu: route CAMetalLayer property changes and display-link creation through
host_main_sync(#128) - host: read startup UIKit and AppKit state once in
main()intohost_startup_info(#128) - host: route UIKit and AppKit one-shot calls through
host_main_sync(#128) - host: add
host_main_sync/host_main_asyncand route main-thread hops through them (#128)
build
- host: add
host_game_thread.cto the app sources (#128)
docs
- metal: note that
output_changehops to main while it holds everyframe_slotsentry, so main must never wait on a frame slot (#128) - host: record
host_frame_counterownership and locking (#128) — audit found no race needing a code change - ios: document main ownership of scene state and declare
host_external_output_resizeinhost_external.h(#128)
test
- host: run the extra-scene probe without the restore hook (#128)
- host: stub
host_game_thread_enabledin the services probe and cover the declined off-main alert (#128) - host: build and run the tvOS startup probe in
macos_test(#128) - host: add a tvOS variant to
game_thread_start_probe(#128) - host: build and run
extra_scene_probeinmacos_test(#128) - host: add
extra_scene_probefor the second-scene recovery transitions (#128) - host: build and run both game thread startup probe variants in
macos_test(#128) - host: add an iOS control-flow variant to
game_thread_start_probe(#128) - host: build and run
game_thread_start_probeinmacos_test.py(#128) - host: add
game_thread_start_probefor thread identity, quit and SIGTERM with the game off main (#128) - ios: run the lifecycle probe from
tools/ios_test.py(#128) - host: lifecycle wait probe under ASan and UBSan (#128) —
game_thread_lifecycle_probe.ccovers waiters, races and timed recovery - ios: build and run the output probe under ASan/UBSan in
tools/ios_test.py(#128) - ios: add
game_thread_output_probefor the output fence, cap tickets and size publication (#128) - ios: run the window probe in
ios_test.py(#128) - ios: add the window probe and extend the flag probe for slice 8 (#128)
- host: run
game_thread_flag_probeunder ASan and UBSan inios_test(#128) - host: probe the
debug.game_threadflag and event fetch paths (#128) - macos: check the cached worker refresh rate before main reads the display (#128)
chore
- host: turn
debug.game_threadon by default for 0.6.18 (#128) — the game runs on its own thread on iPhone, iPad, Apple TV and the Mac;game_thread_flag_probenow expects thetruefallback