Defold 1.14.2 Beta

Defold 1.14.2

Disclaimer

This is a BETA release, and it might have issues that could potentially be disruptive for you and your team’s workflow. Use with caution. Use of source control for your projects is strongly recommended.

Access to the beta

Download the editor or bob.jar from GitHub: Release v1.14.2 - beta · defold/defold · GitHub

Summary

  • NEW: (#12186) Editor and runtime support for HDR textures (by Jhonnyg, matgis)
  • NEW: (#13471) Use shared slice-9 code between engine and editor (by Jhonnyg)
  • NEW: (#13517,#8286) Prepack and share model geometry to reduce loading time (by JCash, matgis)
  • NEW: (#6795) Add iOS high refresh rate option (by ekharkunov)
  • NEW: (#13184) Add context to GUI size warnings (by AGulev)
  • NEW: (#11047,#10606) Update Box2D v3 to 3.2.0 (by JCash)
  • NEW: (#10415) Add configurable worker threading for Box2D v3 (by JCash)
  • NEW: (#13244) Add arc and curve support to text objects (by JCash, vlaaad)
  • NEW: (#8464) Skip begin/end callbacks for empty render dispatches (by AGulev)
  • NEW: (#13518) Improve warning and error messages (by britzl)
  • NEW: (#13662) Update LZ4 to 1.11.0 (by JCash)
  • NEW: (#13407) Dx12 default on windows (by Jhonnyg)
  • NEW: (#7905) Support playing multiple model animations at the same time (by Jhonnyg)
  • NEW: (#13706) Faster vulkan buffer writes (by Jhonnyg)
  • NEW: (#10159,#13780) Use Vulkan as the default graphics adapter for Linux (by Jhonnyg, JosephFerano)
  • NEW: (#13804) Increase max http request url length to 4000 bytes (by britzl)
  • NEW: (#13795) Persist minified path mappings between Bob invocations (by JCash)
  • NEW: (#13853) Fall back to OpenGL after Linux Vulkan startup fails (by Jhonnyg)
  • NEW: (#9928) Deliver no progress callbacks after build returns (by ekharkunov)
  • NEW: (#10984) Document Android download size estimate (by ekharkunov)
  • NEW: (#13465) Offer option to download Defold Beta version (by JosephFerano)
  • NEW: (#8160) Add archive manifest and editor previews (by JCash, vlaaad)
  • NEW: (#13657) Auto align grid plane with scene view axis gizmo (by JosephFerano)
  • NEW: (#11990) Improve branch switching performance by 11% (by vlaaad)
  • FIX: (#11999) Bundle Linux debug symbols with --with-symbols (by ekharkunov)
  • FIX: (#13590) Fix custom buffer size reporting in the resource profiler (by JCash)
  • FIX: (#10917) Invoke physics event listener during fixed update (by ekharkunov)
  • FIX: (#13568) dmSDK: Added ExtensionParamsGetFloat() to give access to delta time (by JCash)
  • FIX: (#11767) Reduce physics collision-event processing overhead (by JCash)
  • FIX: (#6508) Fix blend modes on GUI text nodes (by AGulev)
  • FIX: (#12728) Reject GUI node moves relative to descendants (by AGulev)
  • FIX: (#13478) Fix native memory growth during texture builds (by AGulev)
  • FIX: (#13574) Add window.get_display_density() and window.get_display_density_scale() (by MiMoer)
  • FIX: (#12754) Accept the documented KeyEvent value for the Android input method (by mmporong)
  • FIX: (#13645) Exclude other hosts’ compiler libraries from editor bundles (by AGulev)
  • FIX: (#13644) Reduce the size of Bob’s bundled native tools (by AGulev)
  • FIX: (#8438) Fix hinge limits with dynamic transforms (by AGulev)
  • FIX: (#13616) dmSDK: Updated extension registration and event broadcasts (by JCash)
  • FIX: (#10448) Use Box2D event buffers for movement and batched contacts (by JCash)
  • FIX: (#11025) Preserve design resolution when resizing the simulator (by AGulev)
  • FIX: (#13685) Fix streamed audio cache eviction crash (by AGulev)
  • FIX: (#13697) Optimize tween animation CPU time and memory use (by JCash)
  • FIX: (#13701) Generate tangents for glTF clearcoat normal maps (by JCash)
  • FIX: (#13638) dmSDK: Added api for input actions access (by JCash)
  • FIX: (#13679) dmSDK: Added physics post-step events for extensions (by JCash)
  • FIX: (#10130) Replace Lua CJSON with Defold’s JSON implementation (by AGulev)
  • FIX: (#13704) Free profiler data when threads exit (by JCash)
  • FIX: (#13705) Fix morph texture ownership during asynchronous model loading (by JCash)
  • FIX: (#13640) Fix DX12 and Vulkan player window resizing (by Jhonnyg)
  • FIX: (#13730) Update the built-in CA certificate bundle (by AGulev)
  • FIX: (#13200) Fix WebGPU bind-group cache growth and cleanup (by JCash)
  • FIX: (#13201) Fix WebGPU viewport dimensions and Y origin (by JCash)
  • FIX: (#13738) Fix path minification for runtime fonts (by JCash)
  • FIX: (#13739) Fix shared glyph banks with path minification (by JCash)
  • FIX: (#13747) Fix resource loading when the working directory changes (by JCash)
  • FIX: (#13743) Fix WebGPU pipeline descriptor lifetimes (by JCash)
  • FIX: (#13749) Speed up JSON parsing and Lua decoding (by JCash)
  • FIX: (#13694) Fix DX12 storage buffer capability (by Jhonnyg)
  • FIX: (#13755) Fix blank textures when the Basis transcoder initializes concurrently (by JCash)
  • FIX: (#13807) Update shader tools and reduce package sizes (by AGulev)
  • FIX: (#13810) Add profiling and regression coverage for component message delivery (by JCash)
  • FIX: (#13781) Sign files used by the editor to comply with Windows Smart App Control checks (by britzl)
  • FIX: (#13700) Fix Vulkan buffer memory placement and lifetime (by Jhonnyg)
  • FIX: (#13819) Skip render-list preparation for unmatched predicates (by JCash)
  • FIX: (#13829) Fix Vulkan skinning shader compilation on Adreno 530 (by JCash)
  • FIX: (#13830) Reduce basic profiler scope overhead (by JCash)
  • FIX: (#13834) Add Android Perfetto system trace coordination (by JCash)
  • FIX: (#13825) Fix WebGPU skinning without float32 texture filtering (by JCash)
  • FIX: (#13862) Fix reuse of unverified HTML5 archive cache files (by JCash)
  • FIX: (#13791) Armv7-android extension builds now use same FPU settings as the core engine (by Lerg)
  • FIX: (#13864) Remove the unused GLU dependency from Linux builds (by AGulev)
  • FIX: (#13745) Added left/right modifier key support in html5 (by britzl)
  • FIX: (#13813) Fix crash when replacing a dynamic font (by AGulev)
  • FIX: (#13858) Clear stencil in active WebGPU backbuffer passes (by JCash)
  • FIX: (#13843) Fix zero-size buffer updates across graphics adapters (by Jhonnyg)
  • FIX: (#13860,#13859) Fix Metal compute crash with storage buffers (by AGulev)
  • FIX: (#13777) Fix GPU skinning with custom instance attributes (by Jhonnyg)
  • FIX: (#13844) Fix DX12 startup crashes with BC1-compressed textures (by AGulev)
  • FIX: (#13856) Support negative font sizes in BMFont files (by JCash)
  • FIX: (#13764) Reduce WebGL link time for built-in font shaders (by JCash)
  • FIX: (#13547) Editor: Improve incompatible plugin resource-type errors (by matgis)
  • FIX: (#11123) Speed up HTTP resource loading on remote targets (by AGulev)
  • FIX: (#11952,#13261,#13584) Fix editor tooltip flickering near the screen bottom (by AGulev, matgis)
  • FIX: (#7729) Fix editor relaunch from relative paths (by AGulev)
  • FIX: (#13632) Remove Amazon S3 Live Update publishing (by AGulev)
  • FIX: (#13460) Fix max height for editor dialogs on Linux (by JosephFerano)
  • FIX: (#11091) Make sure script property hashes can have the same value as resources (by britzl)
  • FIX: (#12951) Wait for LSP server to finish loading to populate Structure and Jump to Symbols (by JosephFerano)
  • FIX: (#13668) Improve branch switching performance by 11% (by vlaaad)
  • FIX: (#13731) Improve branch switching performance by 27% when changing resource types (by vlaaad)
  • FIX: (#13737) Improve branch switching performance by 10% (by vlaaad)
  • FIX: (#13502) Show editor shader compilation errors in the Console (by JosephFerano)
  • FIX: (#13673) Improve completion doc popup presentation (by JosephFerano)
  • FIX: (#13758) Eliminate masses of unique empty vector instances from builds in the editor (by matgis)
  • FIX: (#13760) Fix font-related gui build memory usage regression in the editor (by matgis)
  • FIX: (#13771) Improve editor performance and memory use when switching branches (by vlaaad)
  • FIX: (#11868) Improved how duplicated gui nodes are named (by britzl)
  • FIX: (#13761) Report invalid texture compression settings in editor and Bob (by JCash)
  • FIX: (#13805) Improve branch switching performance by 18% (by vlaaad)
  • FIX: (#11345) Scene View Toolbar buttons display shortcuts and localization (by JosephFerano)
  • FIX: (#13727) Fix intermittent error when loading resources in the editor (by matgis)
  • FIX: (extender#823) Compile Swift sources of extensions on macOS and iOS (by ekharkunov)

Engine

NEW: (#12186) ‘Editor and runtime support for HDR textures’ by Jhonnyg, matgis
Allow .hdr images to be selected as model textures, previewed in the editor, and built into .texturec resources while preserving floating-point pixel values. Opening an HDR image displays a tone-mapped preview using Reinhard tone mapping.

Default texture profiles now map **/*.hdr to uncompressed RGBA32F, and the texture-profile editor exposes RGBA16F and RGBA32F. Existing custom profiles must provide an HDR-compatible format.

NEW: (#13471) ‘Use shared slice-9 code between engine and editor’ by Jhonnyg
Sprites and GUI nodes now use the same C++ implementation to generate slice-9 positions, UVs, and triangle indices. The editor calls this implementation through JNI, keeping its previews consistent with runtime rendering.

NEW: (#13517,#8286) ‘Prepack and share model geometry to reduce loading time’ by JCash, matgis
Models now load GPU-ready geometry prepared during the build, reducing startup parsing and vertex conversion work. Models with identical geometry share buffer resources while retaining their own transforms, mesh IDs, material bindings and runtime mesh selection.

NEW: (#6795) ‘Add iOS high refresh rate option’ by ekharkunov
Added the ios.use_high_refresh_rate project setting. When enabled, games can render above 60 Hz on ProMotion displays, up to 120 Hz on supported iPhones and iPads. The engine requests display.update_frequency from the display, or the display maximum when it is 0. iOS may round the requested rate to one the display supports, for example 90 Hz to 80 Hz. The setting is disabled by default, so existing projects keep their current frame rate.

NEW: (#13184) ‘Add context to GUI size warnings’ by AGulev
Calling gui.set_size() on an auto-sized node now reports the node identity, GUI component URL, and Lua source file and line, making the offending call easier to locate. The call still logs a warning and leaves the size unchanged.

NEW: (#11047,#10606) ‘Update Box2D v3 to 3.2.0’ by JCash
Updates the Box2D v3 physics backend from 3.1.0 to 3.2.0, including the engine integration and native b2d Lua bindings.

The v3 bindings follow Box2D 3.2’s changed APIs: joint definitions use local frames, motor joints provide velocity and spring controls, and constraint tuning is configured per joint. Mouse joints and the world-level speculative-collision switch are removed. Body names now truncate to 10 characters, and profiling fields and joint type values follow the new version. Existing physics.* joint definitions and Box2D v2 bindings retain their APIs.

For example, native joint definitions now specify local_frame_a and local_frame_b instead of local anchors:

local body_a = b2d.get_body("#collisionobject_a")
local body_b = b2d.get_body("#collisionobject_b")
local joint = b2d.joint.create_distance(body_a, body_b, {
    local_frame_a = { position = vmath.vector3(1, 2, 0), angle = 0.2 },
    local_frame_b = { position = vmath.vector3(3, 4, 0), angle = -0.3 },
    length = 5,
})
b2d.joint.set_constraint_tuning(joint, 60, 2)

NEW: (#10415) ‘Add configurable worker threading for Box2D v3’ by JCash
Adds optional worker threads for Box2D 3.x, allowing physics stepping and batched contact processing to use multiple CPU cores. Each physics tick finishes before gameplay continues, preserving synchronous queries and main-thread callback delivery.

Set Box2D → Worker Count in the project settings, or add this to game.project:

[box2d]
worker_count = 3

The default is 0. The setting selects 0–31 background workers per physics world, with the main thread also participating, and is read at startup. Unsupported targets use the calling thread. Profile with threading enabled and disabled: small workloads can be slower because of scheduling overhead.

NEW: (#13244) ‘Add arc and curve support to text objects’ by JCash, vlaaad
Labels and GUI text nodes can now bend text around a circular arc or follow a scripted 3D Bézier curve. This keeps dynamic text, automatic line breaks, rich text and shaped RTL text usable without positioning individual characters.

Set Arc Radius and Arc Angle in the editor, or use the existing property APIs. The angle is 0–360 degrees: zero disables the arc and 360 makes a full circle. The object/node origin is the circle center, and the signed radius locates the first baseline. With Line Break enabled, the arc length determines wrapping; Size is ignored while the arc is active.

-- Label component:
go.set("#label", "arc_radius", 200)
go.set("#label", "arc_angle", 120)

-- GUI script:
local node = gui.get_node("text")
gui.set(node, "arc_radius", 200)
gui.set(node, "arc_angle", 120)

Custom text paths are set from label scripts with label.set_curve(url, knots, options) or from GUI scripts with gui.set_curve(node, knots, options). Both APIs use the same ordered Bézier knots. Positions are local to the label component or GUI text node, and handles are offsets from their knot. The first knot supplies the initial up direction; knots can also specify roll and uniform scale.

local knots = {
    {position = {0, 0, 0}, out_handle = {80, 80, 0}, up = {0, 1, 0}},
    {position = {240, 0, 0}, in_handle = {-80, -80, 0},
     roll_degrees = 30, scale = 1.2},
}
-- Label script:
label.set_curve("#label", knots)
label.set_curve("#label", nil) -- restore arc/textbox layout

-- GUI script:
local node = gui.get_node("text")
gui.set_curve(node, knots)
gui.set_curve(node, nil) -- restore arc/textbox layout

A curve takes precedence over the arc and Size. All lines follow the same path with their baseline offsets along the transported up direction. Line Break wraps at the path length; open endpoints extrapolate their tangents. {closed = true} closes the path. Up-vector length does not change text size.

NEW: (#8464) ‘Skip begin/end callbacks for empty render dispatches’ by AGulev
Render passes now skip BEGIN/END callbacks for dispatches with no entries surviving predicate filtering and frustum culling. Active dispatches preserve the existing callback order.

NEW: (#13518) ‘Improve warning and error messages’ by britzl
Added consistent grammar and structure to warning and error messages.

NEW: (#13662) ‘Update LZ4 to 1.11.0’ by JCash
Update the engine and Bob’s native archive compressor to LZ4 1.11.0, bringing upstream correctness fixes while preserving compatibility with existing game archives and HC level 9 compression.

NEW: (#13407) ‘Dx12 default on windows’ by Jhonnyg
Windows builds now use DirectX 12 by default. This aligns the default backend across local engine builds, Extender, Bob, and the editor’s app manifest settings.

OpenGL and Vulkan remain available through the app manifest’s Windows graphics selection. Local engine builds can include them with --with-opengl and --with-vulkan. The existing --with-dx12 option remains accepted for compatibility.

NEW: (#7905) ‘Support playing multiple model animations at the same time’ by Jhonnyg
Allow models to play multiple skeletal animations simultaneously, such as running while waving. Layers have independent playback and crossfades, with configurable weight, evaluation order and bone selection. Individual layers can be cancelled without interrupting base playback or other layers.

Create a reusable layer and pass its handle to model.play_anim() or model.cancel():

function init(self)
    self.upper_body = model.animation_layer("upper_body", {
        order = 1,
        weight = 0.8,
        bones = { "spine" }
    })

    model.play_anim("#model", "run", go.PLAYBACK_LOOP_FORWARD)
    model.play_anim("#model", "wave", go.PLAYBACK_ONCE_FORWARD, {
        layer = self.upper_body,
        blend_duration = 0.25
    })
end

function on_message(self, message_id)
    if message_id == hash("stop_waving") then
        model.cancel("#model", { layer = self.upper_body })
    end
end

function final(self)
    model.destroy_animation_layer(self.upper_body)
end

Layer handles are opaque numeric values with explicit destruction. Destroying a handle prevents further use of it, while models retain their own references for existing playback and held poses. Remaining definitions are released when the script context is finalized.

Omitting layer from model.play_anim() targets base playback. Omitting it from model.cancel() cancels all animation. Targeted cancellation removes a layer without a fade-out and does not invoke its completion callback.

Layer properties

Use go.get() and go.set() with the layer name hash in the key option to access playback state on a particular model:

local layer = { key = hash("upper_body") }

local animation = go.get("#model", "animation", layer)
local cursor = go.get("#model", "cursor", layer)
local playback_rate = go.get("#model", "playback_rate", layer)

go.set("#model", "cursor", 0.5, layer)
go.set("#model", "playback_rate", 1.5, layer)

animation is read-only; use model.play_anim() to change the animation. cursor and playback_rate are readable and writable. These changes affect only the selected model’s playback, even when several models share a layer definition.

Property selectors use the layer name hash, not its numeric handle. Omitting key addresses base playback. The model must retain the named layer; accessing an unknown or cancelled layer raises an error. Property access remains available after the handle is destroyed while the model retains the layer.

NEW: (#13706) ‘Faster vulkan buffer writes’ by Jhonnyg
Vulkan now spends less CPU time allocating temporary memory when a game updates geometry or textures. Small storage-buffer writes go directly into the command stream. Larger writes and synchronous texture uploads reuse memory once the GPU has finished with it.

NEW: (#10159,#13780) ‘Use Vulkan as the default graphics adapter for Linux’ by Jhonnyg, JosephFerano
Vulkan is now the default graphics adapter on Linux. OpenGL is linked as well with the default engine build so it can act as a fallback adapter in the cases where Vulkan is not available. This can be changed in any projects by using the app manifest tool.

NEW: (#13804) ‘Increase max http request url length to 4000 bytes’ by britzl
This change increases the HTTP GET requests url max size from 2048 to 4000 bytes.

NEW: (#13795) ‘Persist minified path mappings between Bob invocations’ by JCash
Bob now saves minified_paths.json with the build output, allowing build and bundle to run in separate processes or CI stages. Bundling checks that the mapping matches the built resource graph and archive manifest and reports when a rebuild is required. Engine-only bundles skip resource mapping metadata.

NEW: (#13853) ‘Fall back to OpenGL after Linux Vulkan startup fails’ by Jhonnyg
Vulkan can pass the initial support check but still fail to create a window or graphics context. Previously, this stopped the engine from starting.

This change retries startup once with OpenGL or OpenGL ES when Vulkan was selected automatically and a compatible fallback is included in the engine. Explicit requests such as --graphics-adapter=vulkan still fail without switching adapters.

FIX: (#11999) ‘Bundle Linux debug symbols with --with-symbols’ by ekharkunov
Bundling for Linux with --with-symbols now writes the unstripped engine next to the bundled app folder as <title>.x86_64.debug (or <title>.arm64.debug). Before this, the symbols were silently dropped unless you also used --variant debug. The shipped executable stays stripped, and the symbol file sits outside the app folder, so it doesn’t ship with the game. This matches how the macOS .dSYM is placed.

FIX: (#13590) ‘Fix custom buffer size reporting in the resource profiler’ by JCash
The resource profiler now reports the wrapper and actual data payload for .bufferc resources. Sizes stay current when buffers are loaded, created from Lua, replaced, resized, or reloaded. Dynamically created buffers no longer retain the 32-byte placeholder size. Public APIs and buffer ownership behavior are unchanged.

FIX: (#10917) ‘Invoke physics event listener during fixed update’ by ekharkunov
physics.set_event_listener() callbacks are now invoked during the fixed update when physics.use_fixed_timestep is enabled, once per fixed step, the same way as fixed_update() and the old physics.set_listener(). Previously the batched events were delivered only after update(), so collision resolution done in the listener lagged behind the simulation and could cause tunneling.

FIX: (#13568) ‘dmSDK: Added ExtensionParamsGetFloat() to give access to delta time’ by JCash
Native extensions can now read the current engine frame’s delta time with ExtensionParamsGetFloat() and the EXTENSION_PARAM_DT enum selector. C++ extensions can use dmExtension::ParamsGetFloat() with dmExtension::PARAM_DT:

float dt;
if (dmExtension::ParamsGetFloat(params, dmExtension::PARAM_DT, &dt))
    UpdateGame(ctx, dt);

The value is in seconds, before collection-proxy time scaling, and is zero outside the extension update callback.

Subtask of Investigate a dmSDK C++ api · Issue #8618 · defold/defold · GitHub

FIX: (#11767) ‘Reduce physics collision-event processing overhead’ by JCash
Reduces the CPU time spent preparing physics events for Lua. It fixes duplicate collision/contact-point notifications from Box2D v3. Collision components still receive their own per-object messages, while event tables and vectors retained by Lua remain independent across events and batches.

Box2D v3 now processes each shape contact once, preserving its individual manifold points. Scripts that relied on duplicate notifications or their order may observe fewer callbacks or a different order.

Box2D v3 event handling is seeing speedups in the range of ~2.3x.
Box2D v2 also benefits from this, with a ~1.1x speedup of physics events handling.
Of course this is dependent on your workload.

A notable key takaway is that with this fix, we’re seeing Box2D v3 finally outperforming Box2d v2.
Soon, we will likely change to Box2d v3 as the default 2D physics version, so this might be a good time to start testing with that (using an app manifest).

FIX: (#6508) ‘Fix blend modes on GUI text nodes’ by AGulev
GUI text nodes now honor their selected Alpha, Add, Multiply, and Screen blend modes at runtime. Previously, they always used alpha blending even when the editor preview showed a different mode.

FIX: (#12728) ‘Reject GUI node moves relative to descendants’ by AGulev
Calling gui.move_above(parent, child) or gui.move_below(parent, child) now raises a descriptive Lua error and leaves the hierarchy and rendering order unchanged. This prevents GUI nodes from silently disappearing when a move would create a hierarchy cycle.

FIX: (#13478) ‘Fix native memory growth during texture builds’ by AGulev
Release native input copies after texture encoding so completed textures no longer accumulate native memory during Bob builds. Also fix related shader JNI leaks and reduce temporary allocations during texc buffer compression.

FIX: (#13574) ‘Add window.get_display_density() and window.get_display_density_scale()’ by MiMoer
Adds window.get_display_density() and window.get_display_density_scale(reference_dpi) so that UI code
can scale its sizes against a reference density.

FIX: (#12754) ‘Accept the documented KeyEvent value for the Android input method’ by mmporong
Android builds no longer log “Unknown Android input method [KeyEvent], defaulting to key events” at startup when android.input_method is left at its default. The engine now accepts KeyEvent, the default value in the game.project settings, the editor and the manual. KeyEvents, the spelling the engine checked for before, still works.

FIX: (#13645) ‘Exclude other hosts’ compiler libraries from editor bundles’ by AGulev
Editor packages currently include native compiler libraries for multiple operating systems and CPUs. Keep only the libraries matching the editor host, since these handle asset compilation even when building games for other platforms.

Repackaging the tested macOS ARM64 editor JAR reduced its size from 307.95 MiB to 226.81 MiB, saving 81.14 MiB.

FIX: (#13644) ‘Reduce the size of Bob’s bundled native tools’ by AGulev
Strip debug information from selected native tools and libraries before packaging Bob. This reduces the size of Bob and Bob Light while keeping the original build artifacts available for debugging.

The JAR decreased from 280.2 MB to 244.8 MB, saving 35.5 MB (12.7%).

FIX: (#8438) ‘Fix hinge limits with dynamic transforms’ by AGulev
Hinge joints could rotate beyond their limits when bodies crossed ±180° with Allow Dynamic Transforms enabled. The legacy Box2D backend now preserves accumulated rotation when synchronizing transforms, including during position-only updates.

FIX: (#13616) ‘dmSDK: Updated extension registration and event broadcasts’ by JCash
Native extensions can now configure lifecycle callbacks and user data through DM_DECLARE_EXTENSION(name, register_fn, unregister_fn). A generic broadcast API supports engine events and custom extension events.

FIX: (#10448) ‘Use Box2D event buffers for movement and batched contacts’ by JCash
Reduces CPU work in Box2D 3.2 projects by using buffered movement events to synchronize dynamic collision objects and buffered contact events for batched collision reporting. Ongoing contact reports and impulse filtering are preserved. No Lua API or project setting changes are required.

FIX: (#11025) ‘Preserve design resolution when resizing the simulator’ by AGulev
Changing the simulator device or rotating its window now preserves the design resolution configured in game.project. Only the window size changes, allowing stretch projection and GUI scaling to behave as expected.

The debug engine exposes window metrics through GET /window and accepts JSON resize requests without requiring an engine instance ID:

curl -i http://127.0.0.1:8001/window/resize \
  -H 'Content-Type: application/json' \
  -d '{"width":640,"height":360}'

A 202 response confirms acceptance and provides a receipt URL in Location. Clients that need confirmed completion should first obtain engine_instance_id from GET /state, supply it as X-Engine-Instance when submitting the resize, and retain that header when polling the receipt. The header is optional for submission and required for receipt polling. Requests carrying an outdated instance ID return 410 stale_instance.

FIX: (#13685) ‘Fix streamed audio cache eviction crash’ by AGulev
Fix a crash during streamed audio playback caused by duplicate cached chunks. The cache now rejects duplicates at any offset, preventing corruption during eviction.

FIX: (#13697) ‘Optimize tween animation CPU time and memory use’ by JCash
Reduces CPU time and memory use for game object property animations, especially large collections of looping tweens. Playback, property writes, and completion/cancellation callback ordering are preserved. Owned easing curves are also released when an animation ends without a completion callback.

FIX: (#13701) ‘Generate tangents for glTF clearcoat normal maps’ by JCash
glTF models with clearcoat normal maps can now build when tangent data is omitted. Tangents are generated from the normal map’s UV set while preserving seams, skinning and morph targets.

FIX: (#13638) ‘dmSDK: Added api for input actions access’ by JCash
Native extensions can now inspect resolved input actions through <dmsdk/input/input.h> (C) and <dmsdk/input/input.hpp> (C++). Opaque iterators expose action IDs, values, pressed/released/repeated flags, source categories and gamepad metadata, including name hashes and connection notifications.

FIX: (#13679) ‘dmSDK: Added physics post-step events for extensions’ by JCash
Extensions can now receive PHYSICS_EVENT_POST_STEP and inspect the native Box2D, Box2D 3 or Bullet world. Defold continues to step the simulation and synchronize game objects, including during fixed updates.

The C payload is declared in <dmsdk/physics/physics_event.h>, with a generated C++ API in <dmsdk/physics/physics_event.hpp>. It carries the native world and world-update dt. The receiver uses the physics backend configured for the project and build. World access is borrowed for the callback.

Observing Box2D 3

#include <dmsdk/extension/extension.hpp>
#include <dmsdk/physics/physics_event.hpp>
#include <box2d/box2d.h>

static void OnEvent(dmExtension::Params* params, dmhash_t event_id,
                    const void* data, uint32_t data_size)
{
    if (event_id != dmPhysics::EVENT_POST_STEP || data_size != sizeof(dmPhysics::Event))
    {
        return;
    }
    const dmPhysics::Event* event = (const dmPhysics::Event*)data;
    b2WorldId world = *(const b2WorldId*)event->m_World;
    b2ContactEvents contacts = b2World_GetContactEvents(world);
    for (int i = 0; i < contacts.beginCount; ++i)
    {
        const b2ContactBeginTouchEvent* contact = &contacts.beginEvents[i];
        // Inspect contact->shapeIdA and contact->shapeIdB here.
    }
}

static dmExtension::Result Register(dmExtension::HExtension extension)
{
    dmExtension::SetEventFn(extension, OnEvent);
    return dmExtension::RESULT_OK;
}

DM_DECLARE_EXTENSION(PhysicsObserver, Register, 0);

FIX: (#10130) ‘Replace Lua CJSON with Defold’s JSON implementation’ by AGulev
Replace Lua CJSON for JSON encoding and decoding while preserving the existing Lua API, options, and compatibility behavior. Benchmarks show faster JSON loading and saving, with particularly large decoding gains on HTML5.

For the large fixture, decoding is approximately 1.29× faster on macOS and 6.64× faster on WASM; encoding is 3.63× and 3.05× faster, respectively.

FIX: (#13704) ‘Free profiler data when threads exit’ by JCash
The basic profiler now releases its sample buffers and thread names when a dmThread worker returns. This prevents profiler memory from growing as short-lived threads are created throughout a session. Sample storage is also allocated as needed, with smaller records to reduce the profiler’s memory footprint.

Native extensions that create their own threads can register a name with ProfileThreadEntered(name) and must call ProfileThreadExited() before returning to release their profiling data. Close all profiling scopes before calling the exit hook. Both hooks run automatically for threads created with dmThread::New.

ProfileThreadEntered("ExtensionWorker");
// Run work and close all profiling scopes.
ProfileThreadExited();

FIX: (#13705) ‘Fix morph texture ownership during asynchronous model loading’ by JCash
Asynchronously loading a model with morph targets now keeps its morph textures alive until the owning meshset is released, preventing duplicate texture loads and the resulting preload-data leak. Reloading a meshset also preserves the existing resource if a replacement texture cannot be loaded.

FIX: (#13640) ‘Fix DX12 and Vulkan player window resizing’ by Jhonnyg
Fix Custom Resolution having no effect on DX12 player windows. Also fix Vulkan window resizing overwriting the game’s logical resolution, which could change rendering projections.

FIX: (#13730) ‘Update the built-in CA certificate bundle’ by AGulev
Update cacert.pem to the November 5, 2026 Mozilla bundle from curl. Projects using this bundle will no longer trust the three emSign roots removed upstream.

FIX: (#13200) ‘Fix WebGPU bind-group cache growth and cleanup’ by JCash
Fix progressively slower rendering and retained graphics resources in WebGPU games that generate many binding combinations. The bind-group cache now grows geometrically, reuses storage for cached binding records, releases groups unused for more than eight frames, and clears cached bindings when their resources are deleted, programs are reloaded, or the graphics context shuts down. No public APIs change.

FIX: (#13201) ‘Fix WebGPU viewport dimensions and Y origin’ by JCash
Fix WebGPU rendering when render.set_viewport(x, y, width, height) uses a nonzero origin. Viewports now retain their requested dimensions and bottom-left placement, preventing invalid negative sizes and dropped frames. No public APIs change.

FIX: (#13738) ‘Fix path minification for runtime fonts’ by JCash
Projects using runtime font generation and the --experimental-path-minification option now work as intended. Compiled fonts reference the minified TTF/OTF file paths, and existing outputs containing the old path are rebuilt automatically.

FIX: (#13739) ‘Fix shared glyph banks with path minification’ by JCash
Building projects with --experimental-path-minification now succeeds when multiple fonts share a glyph bank, such as fonts using the same TTF and glyph-generation settings with different materials. Bob recognizes shared generated outputs after their paths have been minified.

FIX: (#13747) ‘Fix resource loading when the working directory changes’ by JCash
This fixes an issue when the working directory changes while loading content.

This change also adds dmSys::GetCwd(), dmSys::ChDir() and dmSys::GetAbsolutePath() to our dmSDK.

#include <dmsdk/dlib/sys.h>

char root[1024];
dmSys::Result result = dmSys::GetAbsolutePath("build/default", root, sizeof(root));

FIX: (#13743) ‘Fix WebGPU pipeline descriptor lifetimes’ by JCash
Fix incorrect transparency and effects in WebGPU games caused by expired pipeline descriptors. Blend state and color-target descriptors now remain alive until pipeline creation completes, preventing undefined behavior that can produce opaque UI, black effect rectangles, and incorrect blending in optimized HTML5 builds. No public APIs change.

FIX: (#13749) ‘Speed up JSON parsing and Lua decoding’ by JCash
JSON parsing and Lua JSON decoding are faster on ARM64, Windows x64 and WebAssembly, particularly for numeric data. Existing validation, number policies, parse modes, source locations and ordinary mutable Lua tables are preserved.

FIX: (#13694) ‘Fix DX12 storage buffer capability’ by Jhonnyg
Make sure DX12 can use storage buffers.

FIX: (#13755) ‘Fix blank textures when the Basis transcoder initializes concurrently’ by JCash
Fix blank textures at startup when compressed textures load concurrently. The Basis transcoder now finishes initializing before another loading thread can use it.

FIX: (#13807) ‘Update shader tools and reduce package sizes’ by AGulev
Upgrade the bundled shader tools and remove unused compiler features and utilities. This reduces Bob and editor downloads while retaining the shader conversion paths needed by graphics backends and consoles.

Download sizes

Measured published CI artifacts from the branch base (2fa0712760) and this branch (58d6605936). All sizes are compressed downloads; 1 MiB = 1,048,576 bytes.

Artifact Before After Saved Reduction
Bob JAR 232.86 MiB 222.05 MiB 10.81 MiB 4.64%
Linux x86-64 editor ZIP 280.37 MiB 276.77 MiB 3.60 MiB 1.28%
Windows x86-64 editor ZIP 273.36 MiB 273.07 MiB 0.29 MiB 0.11%
macOS Intel editor DMG 260.06 MiB 258.20 MiB 1.87 MiB 0.72%
macOS Apple Silicon editor DMG 256.87 MiB 255.07 MiB 1.79 MiB 0.70%

FIX: (#13810) ‘Add profiling and regression coverage for component message delivery’ by JCash
Adds profiling and regression coverage for message delivery between component updates. Game-object updates dispatch at every component delivery point, including inactive component types, using the existing queue check inside DispatchMessages().

FIX: (#13781) ‘Sign files used by the editor to comply with Windows Smart App Control checks’ by britzl
Several of the dll files in the editor were not signed, which caused the editor to get blocked by the Windows Smart App Control security feature introduced in Windows 11. This change makes sure all dll files used by the editor are correcty signed.

FIX: (#13700) ‘Fix Vulkan buffer memory placement and lifetime’ by Jhonnyg
Keep storage buffers in device-local memory to fix severe slowdowns when compute shaders update large SSBOs. Also preserve buffer contents used by earlier GPU work and prevent MSAA memory leaks during swapchain recreation.

FIX: (#13819) ‘Skip render-list preparation for unmatched predicates’ by JCash
Rendering now skips visibility updates, frustum culling and sort-buffer preparation when a draw predicate has no matching material tags among the submitted render entries. This avoids scanning entries for render passes that cannot draw anything.

FIX: (#13829) ‘Fix Vulkan skinning shader compilation on Adreno 530’ by JCash
Fix missing skinned models and repeated Vulkan pipeline creation failures on Adreno 530 devices. The built-in skinning shader now selects matrix columns across the animation branch, avoiding a driver shader-compilation failure while preserving the existing skinning helpers and identity fallback.

FIX: (#13830) ‘Reduce basic profiler scope overhead’ by JCash
Profiling scopes can add enough overhead to obscure the cost of small functions, especially in HTML5 builds. HTML5 builds now read the WebAssembly timer directly through Defold’s shared monotonic clock. The basic profiler also looks up scopes faster in trees with many siblings. Disabling profiler capture also skips sample recording work.

FIX: (#13834) ‘Add Android Perfetto system trace coordination’ by JCash
Android debug engines now expose /profiler/perfetto and capture-specific configuration URLs to coordinate CPU/GPU system traces with Android’s built-in Perfetto tools. The API returns a configuration and an ADB command that stream a .perfetto-trace file to the host for viewing in Perfetto, Android Studio, or APA. No GFXReconstruct layer or additional APK is required.

Prepare a five-second capture:

POST /profiler/perfetto
Content-Type: application/json

{"duration_ms":5000}

Download the returned config_url, save it as config_filename, and start record_command on the host. On Windows, run the command in Command Prompt (cmd.exe). Then POST {"action":"trigger","capture_id":"<returned capture_id>"} to /profiler/perfetto. The host owns recording and completion. trigger_sent reports helper success. Wait for the recording command to finish and check the output file before opening the trace. See README_ANDROID.md for the full workflow and retry behavior.

image

FIX: (#13825) ‘Fix WebGPU skinning without float32 texture filtering’ by JCash
Fix missing skinned models in WebGPU builds on devices without float32 texture filtering. Float32 bone textures and their associated samplers now use compatible binding layouts, while ordinary textures retain their filtering behavior.

FIX: (#13862) ‘Fix reuse of unverified HTML5 archive cache files’ by JCash
HTML5 builds now redownload persisted archive files when a content hash is unavailable. Previously, a same-sized cached file could be reused after a rebuild, pairing an old archive index with new data and causing resource decompression failures. Cached files with a matching content hash are still reused.

FIX: (#13791) ‘Armv7-android extension builds now use same FPU settings as the core engine’ by Lerg
We now use the same FPU setting when building extensions, as the core engine uses. This allows users to write SIMD code on the 32 bit Android devices as well.

FIX: (#13864) ‘Remove the unused GLU dependency from Linux builds’ by AGulev
Games built for x86_64 Linux can now launch on systems without libGLU.so.1. Previously, the loader required the library at startup even though the engine called no GLU functions.

FIX: (#13745) ‘Added left/right modifier key support in html5’ by britzl
This change makes sure that left and right modifier keys such as ctrl, alt and shift are reported as individual keys in html5 builds. Previously the right modifier keys were reported as left.

FIX: (#13813) ‘Fix crash when replacing a dynamic font’ by AGulev
Replacing a dynamic .fontc with resource.set() could leave the new font map pointing to a temporary resource that had been deleted. Drawing an uncached glyph could then crash. The map now uses the live font resource for glyph generation after replacement.

FIX: (#13858) ‘Clear stencil in active WebGPU backbuffer passes’ by JCash
Stencil-only clears can keep an active WebGPU backbuffer pass open with or without MSAA. This avoids reloading color between clipped draw groups that clear stencil.

FIX: (#13843) ‘Fix zero-size buffer updates across graphics adapters’ by Jhonnyg
Exceeding the particle limit can produce an empty vertex-buffer upload, which triggers an assertion in Vulkan. This change safely ignores empty buffer updates before they reach any graphics adapter.

FIX: (#13860,#13859) ‘Fix Metal compute crash with storage buffers’ by AGulev
Compute programs with storage buffers and a small uniform block can corrupt memory on Metal during dispatch. Storage buffers were being listed as settable uniforms, causing a storage buffer type index to be interpreted as a matrix constant. This change excludes storage buffers from uniform enumeration while preserving their binding records.

FIX: (#13777) ‘Fix GPU skinning with custom instance attributes’ by Jhonnyg
Adding a custom instance attribute, such as brightness or tint, could leave an animated model frozen in its bind pose. This fix supplies the missing animation data so models continue animating while preserving custom attributes and batching.

FIX: (#13844) ‘Fix DX12 startup crashes with BC1-compressed textures’ by AGulev
Windows bundles using DX12 could crash on startup while loading a BC1 texture. Its 2×2 and 1×1 mip levels each occupy a full 4×4 compression block. The uploader now copies the whole block, avoiding the invalid GPU command that triggered device removal.

FIX: (#13856) ‘Support negative font sizes in BMFont files’ by JCash
Bitmap fonts exported with AngelCode BMFont’s “Match char height” option can be previewed in the editor and built with Bob again. In Defold 1.14.1, the negative font size written by this option caused both operations to fail.

FIX: (#13764) ‘Reduce WebGL link time for built-in font shaders’ by JCash
Loading a collection that uses a bitmap font for the first time could stall an HTML5 game while the browser linked the built-in font shader. This change shortens that pause on affected Windows browsers and preserves font effects on WebGL 1 and WebGL 2.

Editor

NEW: (#9928) ‘Deliver no progress callbacks after build returns’ by ekharkunov
Related to Show progress of native extension/engine build · Issue #9928 · defold/defold · GitHub

NEW: (#10984) ‘Document Android download size estimate’ by ekharkunov
Documents the Google Play download size estimate for Android bundles: the Download size estimate check-box in the Android bundle dialog and the --download-size-report <path> Bob option. The estimate shows the size Google Play delivers to players for each CPU architecture, which is smaller than the .aab or universal .apk.

Documentation for Add Android download size estimate by ekharkunov · Pull Request #13620 · defold/defold · GitHub (Use bundletool to install apk and provide estimated downloadable size · Issue #10984 · defold/defold · GitHub).

NEW: (#13465) ‘Offer option to download Defold Beta version’ by JosephFerano
When a new beta is available, the editor now shows a notification inviting users to try it and help us find issues before the stable release. It’s also available any time from Help > Try the Beta Version…

NEW: (#8160) ‘Add archive manifest and editor previews’ by JCash, vlaaad
Adds .archivemanifest assets for splitting game content into Base and named packages. Select one in game.project → Archive → Manifest (archive.manifest). Ordered Add/Remove rules select source paths or other packages, including dependencies and custom files.

The manifest stores two independent groups of named compression presets: Container (ZIP, Folder, or a custom Java provider) and File (LZ4 or None). Each package selects one of each; Base selects only file compression, replacing project.compress_archive in manifest mode. ZIP levels range from -1 to 9, and LZ4 levels from 1 to 12. The editor provides outline editing, asynchronous dependency previews, search, and source navigation. Games remain responsible for downloading and mounting external content.

Bob’s build command now compiles resources and saves game.graph.json; bundle creates archives from those prebuilt resources using the current manifest. Run them separately with matching target/build settings, or together as build bundle. Build alone no longer creates archives.

Both commands accept --all-packages (a flag without a value) or repeatable --package <name>:

Selection Bundle output
None Self-contained Base, including external-package content
--all-packages Base and every external package
--package base Manifest Base, including startup-required resources
--package common --package halloween Only those packages; no application bundle
java -jar bob.jar build
java -jar bob.jar --all-packages --bundle-output bundle_output bundle
java -jar bob.jar --package common --package halloween build bundle

Selective builds retain other compiled results. Bundling rebuilds selected packages from scratch and preserves unselected outputs. Current manifest rules, compression settings, and output paths apply during bundling; newly selected resources absent from the saved graph require another build. Output paths support project-relative paths, absolute paths, and environment variables.

  • --all-packages and --package cannot be combined. --package also cannot accompany --build-input or --build-input-file.
  • --exclude-archive remains available for contentless applications.
  • --bundle-report-html <file> writes a standalone HTML report with package contents, sizes, fuzzy resource search, and Clear. --build-report-html and --build-report-json remain build-only reports.
  • Deprecated: --archive/-a is accepted with a warning and ignored. --liveupdate yes/no also warns: yes selects all packages, and no keeps the default. New selection options take precedence. Existing --archive --liveupdate yes build bundle commands still work.
  • Deprecated: the liveupdate.settings workflow remains supported, with its external content selectable as --package liveupdate. Explicitly setting both archive.manifest and liveupdate.settings fails build and bundle. Legacy projects retain project.compress_archive and their existing resource selection.

NEW: (#13657) 'Auto align grid plane with scene view axis gizmo ’ by JosephFerano
The grid plane’s axis will now align itself automatically when you click on one of the gizmo axis buttons. To disable this behavior, click on the grid popup’s new toggle button.

image

NEW: (#11990) ‘Improve branch switching performance by 11%’ by vlaaad
We improved performance when switching branches where there are many removed files.

FIX: (#13547) ‘Editor: Improve incompatible plugin resource-type errors’ by matgis
The editor now provides more helpful error messages when a project makes use of an incompatible editor plugin, instead of reporting them as vague ArityExceptions.

FIX: (#11123) ‘Speed up HTTP resource loading on remote targets’ by AGulev
Reduce loading time when using Build and Run with a remote target. Stream resources into their destination buffers, fetch resource sizes and ETags in one index, and batch small downloads. Cached resources can be reused without individual HTTP validation requests.

FIX: (#11952,#13261,#13584) ‘Fix editor tooltip flickering near the screen bottom’ by AGulev, matgis
Property tooltips now appear above their owner when there is insufficient space below, preventing overlap that repeatedly hides and reopens them.

FIX: (#7729) ‘Fix editor relaunch from relative paths’ by AGulev
Fix File → Open Project... failing when the editor was launched using a relative path from another directory. The launcher now records an absolute executable path so subsequent editor instances can start from a different working directory, including after startup through PATH.

FIX: (#13632) ‘Remove Amazon S3 Live Update publishing’ by AGulev
Removes built-in Amazon S3 publishing from the Editor and Bob. Live Update now offers Zip and Folder output, with Zip as the default. Legacy Amazon settings produce an actionable error when publishing is enabled; ordinary builds continue to work.

FIX: (#13460) ‘Fix max height for editor dialogs on Linux’ by JosephFerano
On smaller resolution displays e.g. 1366x768, certain dialog windows were too tall, this fix checks the size of the screen the editor is in and adjusts appropriately.

FIX: (#11091) ‘Make sure script property hashes can have the same value as resources’ by britzl
It was previously not possible to to define a script property of type hash with a value matching a value in the resource graph.

CleanShot 2026-11-05 at 14 24 47@2x

FIX: (#12951) ‘Wait for LSP server to finish loading to populate Structure and Jump to Symbols’ by JosephFerano
On larger projects with many scripts and a slow enough computer, loading Lua symbols might timeout and require certain code editor actions to request the symbols again. We now show the document symbols as soon as they arrive in the Structure Pane and the Jump to Symbols dialog. We also added visual indicactors to let the user know that the LSP server is still loading the workspace

image

FIX: (#13668) ‘Improve branch switching performance by 11%’ by vlaaad
Now the editor is more efficient at invalidating changed data. In an example large project, this improves the branch switching performance by 11% (or 20 seconds per switch, on average).

FIX: (#13731) ‘Improve branch switching performance by 27% when changing resource types’ by vlaaad
When the editor reloads resources from disk, any extensions that define a resource type massively slowed down reload if there were also GUI files in the project. Now it’s fixed. On an example large project, branch switching improved by 27% on average (saving 46 seconds per switch).

FIX: (#13737) ‘Improve branch switching performance by 10%’ by vlaaad
Now, the editor does less unnecessary work when loading new changes from the file system. On an example large project, it improved resource reload by 12 seconds on average.

FIX: (#13502) ‘Show editor shader compilation errors in the Console’ by JosephFerano
Shader programs that failed to compile or link in the editor were silently discarded, so models just disappeared from the scene view. They’re now reported in the Console with the material’s path and OpenGL’s error message.

image

FIX: (#13673) ‘Improve completion doc popup presentation’ by JosephFerano
The docs now have a horizontal scrollbar, expand wider, and display aliases better

image

FIX: (#13758) ‘Eliminate masses of unique empty vector instances from builds in the editor’ by matgis
Fixed an issue where lots of unique empty vector instances were retained to store property overrides when building the project from the editor.

This change decreases peak memory usage during builds in our test project by around 6%, or 307 MB.

Median metric Baseline With changes Change
Total elapsed 142.64 s 142.25 s −0.39 s (−0.28%)
Excluding measured GC 133.82 s 133.80 s −0.03 s (−0.02%)
Build-target evaluation ≈79.5 s ≈79.5 s Unchanged
Heap after evaluation 4.82 GiB 4.52 GiB ≈−307 MiB (−6.22%)
Final heap 3.642 GiB 3.469 GiB −177.3 MiB (−4.75%)
Total retained heap growth 3.464 GiB 3.291 GiB −177.6 MiB (−5.01%)

FIX: (#13760) ‘Fix font-related gui build memory usage regression in the editor’ by matgis
Fixed an editor build memory usage regression introduced by #13122. Preview textures intended for Scene View visualization were mistakenly produced as a side-effect of building Gui scenes.

The impact of the fix was measured in our test project. Peak memory usage was 4.52 GB before the fix, and 3.96 GB after. That is approximately 573 MB, or 12.4%, lower.

Median metric Baseline With GUI fix Change
Total elapsed 144.55 s 139.31 s −5.24 s (−3.63%)
GC-adjusted elapsed 135.85 s 130.46 s −5.40 s (−3.97%)
Evaluate build targets 81.5 s 74.5 s −7.0 s (−8.59%)
Final live heap 3.469 GiB 3.223 GiB −252.6 MiB (−7.11%)

FIX: (#13771) ‘Improve editor performance and memory use when switching branches’ by vlaaad
We restructured how the editor deduplicates frequently used metadata for internal state. On an example large project, branch switching improved by 18%, or 23 seconds. Additionally, the memory use after the switch decreased by 16%, or 650 MiB. The same refactoring also adds a small boost to build performance, improving build times by 12%, or 25 seconds, and decreasing memory use after build by 7%, or 230 MiB.

FIX: (#11868) ‘Improved how duplicated gui nodes are named’ by britzl
This change makes sure that duplicated gui nodes are consistently named with a numeric prefix taking the next free id when copied.

FIX: (#13761) ‘Report invalid texture compression settings in editor and Bob’ by JCash
Texture profiles now highlight invalid compressor and preset settings in the editor and report them as normal build errors. Bob also reports missing compressors and presets on the texture profile resource, instead of silently using another compressor or printing a stack trace by default.

FIX: (#13805) ‘Improve branch switching performance by 18%’ by vlaaad
The editor now more efficiently deletes internal resource metadata when files are deleted on disk.

FIX: (#11345) ‘Scene View Toolbar buttons display shortcuts and localization’ by JosephFerano
Toolbar tooltips now show keyboard shortcuts, including custom bindings. Moreover, the tooltips were localized.

image

FIX: (#13727) ‘Fix intermittent error when loading resources in the editor’ by matgis
Fixed an issue where resources could intermittently fail to load with a “Calling late-bound function before its promise could be realized” message.

Other

FIX: (extender#823) ‘Compile Swift sources of extensions on macOS and iOS’ by ekharkunov
Native extensions can now include Swift source files for macOS and iOS (devices and simulator). Put the .swift files into the src folder of the extension and call them from the Objective-C++ code through the generated <Module>-Swift.h header. The Swift code can import the Swift packages declared in SwiftPackages.json, and an optional <Module>-Bridging-Header.h in src gives it access to Objective-C and C declarations.

Compiler options are set with the new swiftFlags key of the extension manifest, and the extra header and module folders with additionalSwiftIncludePaths. Only flags that the SDK allows are accepted, and the paths must stay inside the extension folder. The new additionalFrameworkSearchPaths key adds framework folders and is not tied to Swift: it applies to the Swift compile, to the compile of the extension’s C++ and Objective-C++ sources, and to the link.

The Swift runtime is part of every OS version that Defold supports. A few parts of it are not: for example, MutableSpan and related types are part of the OS only from iOS 26 and macOS 26, and the application then needs an extra dynamic library. The build server now finds these libraries and adds them to the engine archive, as Xcode does, so nothing has to be configured for it.

name: MyExtension
platforms:
    ios:
        context:
            swiftFlags: ["-strict-concurrency=complete"]
            additionalSwiftIncludePaths: ["vendor/headers"]
            additionalFrameworkSearchPaths: ["vendor/frameworks"]
4 Likes

Using 1.14.2 Beta now on Linux x86_64

NOTE # 1:
Getting a new warning in the IDE:
WARNING:GRAPHICS: Vulkan swapchain is out of date, reason: VK_SUBOPTIMAL_KHR.

The release notes are getting longer and longer, and harder to keep up with :slight_smile:
Huge thanks to everyone involved!