Changelog
What's changed in Specter, newest first. Each entry says which versions of the npm package it covers, and whether the Unreal plugin needs rebuilding.
Upgrading
Specter has two halves that move together: the npm package your tests import, and the plugin in your project. Every change publishes a new patch version of @specter-automation/test. When an entry is marked Plugin rebuild, update the plugin as well, or the new commands won't be there. An older plugin answers them with “Unknown command”.
npm install @specter-automation/test@latest
# then pull the Specter plugin (and SpecterMCP) and rebuild your editorRead the Update your testslists first: they're the changes that can make a test that used to pass fail, usually because it was passing for the wrong reason.
Specter 1.1: animation, navigation, streaming and memory
The first release with a real version number. Specter now checks what the animations did, whether places can be reached, and whether a level streams in and fits its memory budget. From here on a release with new features raises the minor version (1.2, 1.3), and fixes between releases are patch versions.
New
- Animation matchers:
toBePlayingMontage,toHavePlayedMontage,toHaveMontageSectionandtoHaveFiredAnimNotify, withactor.getAnimEvents(). They see what happened between two checks, not only what's playing now, so a quarter-second montage isn't missed. toBeAbleToReach: whether an actor can walk to a place, withmaxLength,maxCost, areas to avoid, and the agent's own query filter and area costs. Alsoworld.findNavPath(),findNavPaths()andwaitForNavigation(). A partial path doesn't count as reaching.toFinishStreamingfor World Partition, andworld.getStreamingState().toUseLessMemoryThanandtoKeepTexturesInBudget, with the peak sampled through the test, andworld.getMemory().- A Clear Run History command in the editor: forgets past results and deletes their screenshots, replays and traces, optionally with the trace files and the coverage.
- Playwright 1.65 and the latest
ws. Projects on Playwright 1.60 or later still work.
Fixed
.notanimation matchers passed on an actor the engine couldn't answer for, such as one with no skeletal mesh. They now fail both ways and say why.- A path that only got part of the way counted as reaching the place.
- The reporter could exit before the engine had the run's last events.
Replication checks and network profiles
Multiplayer bugs are the hardest to reproduce by hand: two machines, timing, lag. Specter now checks every machine in a test at once, and says why a client didn't get something.
New
toHaveReplicatedValue: waits until the server and every client have a value (a property, an attribute, or anything you read), and fails with a table of each machine's value and how long each took to get it.toBeNetRelevantTo(client), which asks the server why an actor didn't reach a client;toBeOwnedBy(client);toHaveNetRole(role); andactor.getNetInfo().- Network profiles:
world.network.useProfile('bad-wifi', { everywhere: true }), orsetConditions({ latency, jitter, loss }). Emulation is now reset after each test.
The UI sweep, and engine errors that fail tests
Two kinds of bug that pass every test: a UI problem nobody wrote a check for, and an error in the log nobody read. Specter now finds both on its own.
Update your tests
- Keys go through Slate, as a real key press does: the focused widget and CommonUI's actions see them before the game.
keyboard.press('Escape')now closes a menu that handles Escape. In Play-In-Editor an Escape nothing in the game handles reaches the editor and stops the session, as a real one would.world.keyboard.route = 'player'keeps the old path.
New
- The UI sweep: covered or overlapping controls, text cut off, anything off screen or outside the safe area, and controls too small to click.
expect(world).toHaveNoUIIssues()for one screen; theuiAuditoption for every screen every test shows;world.uiSweep()across view sizes and languages, with one report of screenshots.toFitText()andtoBeOnScreen()for single widgets, andsetViewportSize,getViewportInfoandsetCultureon their own. - Engine errors fail tests:
expect(world).toHaveNoEngineErrors(), and thefailOnEngineErrorsoption (orSPECTER_FAIL_ON_ENGINE_ERRORS=1) for every test. The editor's own tooling lines are left out. - A version check: the plugin tells the npm package what it supports. A plugin older than the package gets one warning when the test run connects, and a command it doesn't have says to update the plugin, instead of a bare “Unknown command”. The plugin is now version 1.1.
The second round of jam feedback
Bringing the jam game's whole suite up to date with the November 17 release turned up ten more notes. These are the fixes.
Update your tests
click()waits until a player could see the widget, whatever the strategy, and fails with the reason it isn't visible. A function click used to fire a button that was still collapsed. Passforce: trueto click it anyway.
New
- Old lower-cased names now also work for a function's outputs (
outlengthforOutLength). The warning appears once per test, names the line that read the name, and shows on the test in the report. - A table of return types: vectors, transforms, other structs, and object, asset and class references.
Fixed
toBeCameraShaking()was always false. It now checks the camera manager's active shakes.- Screenshots with the UI could time out during test runs. They're now taken straight from Slate. Without the UI, a capture that times out is tried again, and if it still fails, the test gets a warning instead of failing.
- Loading a map again in a
resetGamefixture read as “left the game changed”, because the reloaded screens are new widgets with new numbers. Screens are now compared by class and place. - A Mark Timeline Event with no details repeated its name.
Functions in gameplay coverage
New
- Functions as a coverage category, opt-in: an Include in Specter Coverage checkbox in a Blueprint function's details,
UFUNCTION(meta = (SpecterCoverage))orUCLASS(meta = (SpecterCoverage))in C++, andSPECTER_COVERED()for C++ calling C++. Tested when a test calls the function withcallFunction, reached when it runs during a test.
After the MegaJam
We built a game in four days for the Epic AI MegaJam, with coding agents writing and running Specter tests throughout. They kept a log of 40 rough edges and missing features as they went. Most of them are fixed here, along with a few features the jam showed were missing.
Update your tests
- A function with one output returns the value itself. A Blueprint function whose only output pin is
Openused to return{ Open: true }; it now returnstrue. Functions with several outputs still return an object of them by name. Return values - Struct fields come back with their declared names (
EventType, noteventtype). The old lower-cased names still read for now, with a warning, but they don't show intoEqual,Object.keysor JSON. Transforms come back as{ location, rotation, scale }. - Object references come back as locators, from
callFunctionandgetPropertyValue, instead of name strings. Use the result directly instead of passing its name toworld.actor(). As text it's still the object's name. callFunctionchecks argument names. A name the function doesn't have now fails the call, listing the names it does have, instead of running the function with defaults. Names match whatever their case. A test that passed with a misspelled argument was testing the default value, and will now fail until the name is fixed.- A widget's
toBeVisiblechecks what a player can see: every widget above it must be visible too, it must be on the active page of any Widget Switcher, and it must reach a window. A check on a widget inside a collapsed menu used to pass; it now fails, and says why. - Exact class names match exactly. When a class with exactly the given name exists, only it and its subclasses match:
world.actor("BP_Enemy")no longer findsBP_EnemySpawner. A name that's only part of a class name still matches the classes that contain it.
New
toOverlap(): whether a widget is drawn over another, or over anything on screen.expect(bar).not.toOverlap()catches the panel that covers the toolbar. Options:threshold(a percent of the smaller widget) andignore. The form with no other widget needs this plugin.toBeHidden()for actors and widgets, andtoBeDisabled()for widgets.- Timeline tracks: your game's own moments (the new Mark Timeline Event node), actor spawns and destroys (bursts collapsed), screens shown and hidden, every click, and the engine's warnings and errors. There's a new setting, Timeline Ignored Actor Classes, for things your game spawns constantly.
- Test isolation: Specter notes the player's pawn, camera and view target, the screens showing, pause and time dilation when a test starts. If the test leaves any of them changed, it warns in that test's output and again in the next test's failure report. New projects get a
resetGamefixture to fill in (@specter-automation/create1.0.1). takeScreenshot(name, { showUI, attachmentName, attach }), with the UI included by default ({ showUI: false }for just the scene). The screenshot taken when a test fails now always includes the UI, so a failed widget check shows the widgets.toMatchScreenshotstill leaves the UI out by default, so baselines still match.getGeometry()returnspixelSize, in the same screen pixels aspositionandcenter.- The Test Runner's explorer has a search box and All / Passed / Failed filters. The timeline fills in live while a test runs, scrolls when there are more rows than fit, and previews the frame under the mouse.
- Specter MCP: RunCommands targets
subsystem:Name, andcomponent:Classnow filters by class.
Fixed
- A click through the
broadcaststrategy on a CommonUI button passed without doing anything. It now goes through the button's own click handling. - A hardware click could resolve before the button's handler had run, and missed when the real mouse moved. It now hovers, presses and releases on separate frames, and resolves after the release. It fails with an error if the game window loses focus, and names the widget on top when something covers the target.
- Vector and rotator arguments written in lower case (
{ x, y, z }) arrived as zero. Both cases now work. - A command error with no message made every later command in the test time out.
keyboard.press,downandupsent the key wrapped twice.pressKeyreported an error when nothing used the key. It now succeeds and says whether the key was handled.takeScreenshotcould time out just before the engine answered.getByPlayerId(0)found nothing for a pawn with no PlayerState. It now falls back to the first player controller's pawn.- A widget with only whitespace for text read as
undefined; it reads as"". constreference inputs were returned as if they were outputs.- Specter MCP:
RunTestscould wait past the roughly one-minute limit of an MCP call. It now waits at most 50 s, andGetRunResultpicks up the rest.
Coverage for gameplay tags and AI states
New
- Gameplay tags in coverage: the most specific tags the project defines. They count as tested when a test checks for them, and reached when an ability system gains or loses them. New setting: Include Gameplay Tags.
- AI states in coverage: StateTree states with no child states, and Behavior Tree tasks. Tested by
toBeInStateandtoHaveVisitedState. New setting: Include AI States. - The coverage window's search also matches ids, so typing
Status.Stunnedfinds the tag.
Fixed
toHaveAttributeChangeandtoHaveAppliedGameplayEffectwith aninstigatormissed changes made through a projectile or another effect causer. The instigator now matches either, and a timeout lists the changes that came close and why they didn't match.- Two merges close together could both try to publish the same npm version. Publishing now runs one at a time.
Debugging tools
New
- Debugging tools that ask the engine why something happened:
traceTo(what's in the way, on any collision channel),aiPerceives(whether an AI sees a target, and if not, why),getNavPath,getOverlappingActors,getCollisionResponses,world.getEngineLogandworld.getStateHistory. - Failure reports end with the AIs that got stuck and the engine's latest warnings and errors.
- Cleanup also removes what the game spawned during a test (a spawner's units, projectiles), not only what the test spawned. Setting: Clear Actors Spawned During Tests.
- Vector maths in
VectorUtils:add,sub,scale,length,normalize,dot,distanceanddistance2D. - Commands the npm package sent but the plugin never registered: montage, animation, bone and socket reads, velocity and walk speed,
CancelAbility, andworld.waitForEventfor spawns, players joining and leaving, match state and level streaming. A CI check now compares the two. callFunctionon a pawn falls back to its controller (and back), and suggests similar names when a function isn't found.
Fixed
- Every test reported the same file and line, so the runner filed them all under one spec and results didn't attach.
- A failing matcher's screenshot step renamed the check and left rows running forever in the check matrix.
world.loadLevelsent a command the plugin didn't have, andwaitForEventtimed out silently when the plugin refused it.- The typings for
toHaveMovedFurtherThanandtoHaveAttributeChangeleft out options that worked at runtime.
Every matcher validated
We wrote a test for every matcher, checking each where it must pass and where it must fail, .not included. The first run failed 29 of 80. Most of those were real bugs, fixed here; the rest were mistakes in the test itself.
New
- The timeline preview shows a test that drives the player's character through the player's own camera.
actor.tapKey(): press and release a key in one call.- A pipeline that builds the plugin for Mac and Windows.
Fixed
.not.toHaveAttributeValueand.not.toHaveAttributeChangewere inverted: they passed when the value or change was there.toHaveGameplayTag,toHaveActivatedAbilityandtoHaveAppliedGameplayEffectcould pass on another actor's event, or on a partial name. They now need this actor, and the same class or tag..not.toBeVisiblepassed on a locator that matched several actors, instead of reporting the ambiguity.toBeInViewportthrew a TypeError.toHaveAppliedGameplayEffectmissed an effect applied while it was starting (the usualexpectAllpattern).toHavePropertyValuepassed on any successful read, whatever the value.callFunctionskipped enum, double and int64 arguments, so functions such asSetMovementModeran with zero.toHaveAnyGameplayTagsandtoHaveAllGameplayTagscould never pass: the plugin never had their commands.- Applied-effect events never reached the matchers, and three actors spawned with the same tag resolved to only the last one.
toBeRunningBehaviorTreeneeded a full asset path, and a typo read as “not running”. Errors from tag and tree matchers are now reported instead of read as “no”.
Performance, AI and coverage
New
- Performance captures with budgets, and a performance panel in the runner.
- AI debugging: Behavior Tree, StateTree and blackboard recording on the timeline, and AI matchers.
- The timeline preview follows the action with cameras of its own, and
world.previewsteers it. - The first version of gameplay coverage: abilities, effects, attributes, widgets, actors and maps.
- Typed
callFunctionoverloads with hover docs, array and locator arguments, short names forspawnActor, and widget filters.
Releases
- December 2, 2026Specter 1.1: animation, navigation, streaming and memory
- November 18, 2026Replication checks and network profiles
- November 18, 2026The UI sweep, and engine errors that fail tests
- November 18, 2026The second round of jam feedback
- November 17, 2026Functions in gameplay coverage
- November 17, 2026After the MegaJam
- November 9 – 13, 2026Coverage for gameplay tags and AI states
- November 5 – 9, 2026Debugging tools
- October 20 – 22, 2026Every matcher validated
- October 1 – 15, 2026Performance, AI and coverage