Skip to content

Mock Magic Changelog

All notable changes to this package will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

  • Added 76 locale profiles for regional values, people and labels, with clear coverage information for native, inherited and unsupported data. Select a locale for a block of script calls with Mock.LocaleScope or for a builder with MockOf<T>.UseLocale; Default keeps its existing data.
  • The Generator remembers Data locale, and streams and Chart Guru retain their starting locale, label counts and clear unsupported-data feedback. Values without data show an empty state with the reason. Right-to-left previews use native shaping in Unity 6.3 and later; earlier supported editors explain the preview limitation while preserving Unicode copy and export.
  • People generate in every data locale. Profiles without complete address data keep street, city, region and country but leave the postcode and full address empty, and profiles without phone data leave the phone empty.
  • Tamil (India) and Bengali (Bangladesh) profiles use native-script given and family names adapted from Faker for Python (MIT). Profiles without a licensed native name source keep English names, which now read given-first and report English data.
  • Locale-aware addresses omit unavailable format fields, including Indian placeholders such as %T, and use their own street patterns without mixing in English words such as “Walks” in Vietnamese. Locality data excludes organization delivery points such as German company and agency postcodes and Japanese office codes, truncated place names and malformed entries.
  • Arabic, Greek, Persian, Hebrew, Georgian and Simplified and Traditional Chinese profiles use native city and region names from GeoNames language-tagged alternate names (CC BY 4.0); cities without a native name leave those pools. Profiles whose localities come from postal records without GeoNames ids, such as Japanese, Thai and Tamil, keep romanized names and report Latin spelling.
  • Locality names drop post office suffixes and qualifiers: numbered offices (“Чистополь 3”, “Prešov 1”), South Asian office types (“Kurukshetra H.O”, “Dhaka GPO”), Nepal’s local-level types (“Bulingtar R.Mun.”) and trailing bracket notes such as Ukrainian village councils. Russian Post facilities and Japanese building floors leave the locality pools.
  • Job titles use words from one language. Arabic and Kurmanji titles use their native job type alone instead of English descriptors, Urdu uses English job types until native ones exist, Portuguese and Persian titles name the job type first, and descriptors or areas that repeat another title word, such as Gerente in Spanish, are removed. Titles whose words are all native report localized coverage.
  • Regional phone numbers use each region’s usual fixed-line and mobile lengths from the libphonenumber example numbers instead of rare short service branches or open numbering plans, so “+82 54187” and 13-digit Austrian numbers no longer occur. Fixed-line and mobile numbers are equally likely.
  • Price scales its amount to the locale currency’s typical magnitude and keeps the reference price’s cent precision down to the currency’s minor unit, for example ₩29,370 or ¥5,874 instead of ₩29 and ¥71.
  • Grew the first and last name pools from 112 and 104 to 431 and 489 names from many regions, including accented, hyphenated and multi-word names; e-mail addresses and usernames fold them to plain ASCII.
  • Drip streams emit single points at irregular event-like gaps around the configured average interval. The Generator labels the interval as an average and hides Points per emission for Drip; scripts can share the same rhythm timing.
  • Live streams continue their patterns across emissions instead of staying flat or restarting the same cycle. Random walks continue from their last value, series cursors continue patterns across requests, and Pattern cycle sets the repetition length. Sparse series descriptions explain that idle values are zero, or the nearest bound when the range excludes zero.
  • Live streams support custom labels through a Custom labels field in the Generator, MockStream.CustomLabels and MockStreaming.Configure. An empty custom label list falls back to Item labels instead of failing.
  • Listeners can unsubscribe during a stream callback without skipping or failing the remaining listeners.
  • MockStreaming and the Generator use their own hidden stream and no longer take over MockStream components in scenes, so releasing the shared stream never destroys scene objects.
  • Every Generator data type has a specific description plus search keywords, and Values search matches every word of a query, so terms such as UUID, surname, postal, IPv4, semver, Luhn or test card find their type. The type list spells GUID, ID, URL, SSN and ISBN as acronyms.
  • The series preview labels the plotted minimum and maximum values and the first and last point labels, and uses a lighter preview background in the light theme.
  • In wide Generator layouts, the Live Stream event log stays inside the window and scrolls on its own instead of pushing the workspace down, and the Values workspace no longer shows a stray outer scrollbar. Light-theme help and preview summary text use readable muted colors.
  • The Generator’s format list shows C# Code, CSV, JSON and Text, and Clock source uses the status line’s names: Game Time, Unscaled Game Time, Real Time and Manual.
  • Selecting a type in the Generator’s Values list moves its blue accent to that type instead of leaving it on the previous one.
  • Export… scrolls its card into view; in the Values workspace it previously opened below the visible area.
  • Person records derive birth dates from the date reference, so seeded people repeat exactly, and Age always equals the age on that date, including leap days. Birth dates cover every day of the month.
  • Full addresses, ZIP codes and person records use US cities with their own state and ZIP code prefix, so city, state and ZIP code always belong together; person records list the United States as their country.
  • Phone numbers follow North American numbering: area codes and exchanges start with 2 to 9 and never use service codes such as 911. Phone(true) generates fictional numbers in the reserved 555-0100 to 555-0199 range. Company names avoid famous fictional companies such as Acme Corp or Stark Industries, and product names avoid brands such as Instant Pot.
  • Seeded GUIDs are valid version 4 UUIDs, and credit card numbers starting with 5 stay in the Mastercard range 51 to 55.
  • HackerPhrase always starts with a capital letter and uses -ing verbs after Try and without.
  • Reviews keep one tone: positive openers combine with positive or neutral remarks, negative openers with negative or neutral ones, mixed openers with factual remarks but no verdict, and no remark repeats within a review.
  • Generated numbers, coordinates, dates, template tokens, text exports, preview axis labels, the Series summary and Live Stream log values format the same on every machine, for example 12.50 instead of 12,50 on German systems.
  • Saving C# Code from the Generator writes a compilable file with declarations in a static class named after the file; MockExport.ToCSharpClass does the same for scripts.
  • Stable mode in the Generator also fixes dates to 1 January 2026, so a seed repeats its dates on any day; Random mode and closing the window restore the wall clock.
  • MockOf.UseSeed seeds only its own Generate or GenerateLazy pass and then restores the previous random state, seed and ID counter, including UnityEngine.Random, so code outside the builder keeps its sequence.
  • ResetSeed also gives UnityEngine.Random fresh randomness when Seed had seeded it; a UnityEngine.Random state set by other code is left alone.
  • Renamed the provider overload of UseDateReference to UseDateReferenceProvider, so UseDateReference(null) restores wall-clock dates without a cast.
  • ResetIdCounter sets the next ID directly, so zero, negative and very large start values work immediately. It keeps an active seed and the random sequence; call it after Seed, which restarts IDs at 1.
  • UnregisterToken also removes typed generators registered under the same name and can remove built-in tokens before their first use.
  • Expanded the scripting reference with a complete static-generator guide, and corrected AI-assisted workflows for label start indexes and years, Random rhythm intervals, clock modes and code-only stream settings.
  • Improved the workspace at narrow widths, keeping scrollbars at the window edge and preserving access to complete values through tooltips and Copy.
  • Added AI guidance for mock values, typed objects, series, streams and export workflows.
  • Improved generator and live-stream reset and editor cleanup on newer Unity versions while retaining existing Fast Enter Play Mode behavior.
  • Simplified menu labels and first-run guidance, keeping bundled installations quiet while retaining access from the Tools menu.
  • Rebuilt the Generator as a polished, responsive UI Toolkit workspace for Values, Series, and Live Stream workflows, including purpose-built compact layouts for narrow windows.
  • Added searchable data type selection, clearer descriptions, faster result lists and improved copy actions in a Values browser that stays within the visible window and scrolls independently.
  • Added a richer series preview that handles multiple series and negative values.
  • Made streaming configuration and status easier to understand, with clearer validation and a more useful event log.
  • Moved export tools next to the generated result and added file saving alongside clipboard export.
  • Added a new Welcome screen with direct access to the Generator, documentation, and example scene.
  • Aligned Generator navigation and empty states with the shared tool design language while preserving Mock Magic’s blue identity.
  • Fixed New Seed so the visible seed and active generated result update immediately.
  • Fixed Generator stream logging so Emit Once always appears and Start/Stop actions provide immediate feedback.
  • Added a Unity 6.3+ toolbar button for opening the Mock Magic Generator directly from the main Unity toolbar.
  • Improved Fast Enter Play Mode support so seeded randomness, date references, and streaming state reset cleanly between play sessions.
  • Improved editor streaming cleanup so repeated stream starts, stops, and play-mode transitions leave fewer stale callbacks behind.
  • Added stable seeding across Mock Magic so simple values, IDs, GUIDs, series, and streams can produce repeatable results when needed.
  • Added clearer Generator window seed controls with Random mode for fresh data and Stable mode for reproducible data. The selected mode and seed are remembered between sessions.
  • Added flexible formatted string generation using digit, letter, and alphanumeric placeholders. Phone numbers, social-security-style values, ZIP codes, and MAC-address-style values now use the same formatting system internally.
  • Added helpers for hashes, hexadecimal strings, alphanumeric strings, letter-only strings, and length-limited text.
  • Added template-based text generation with built-in tokens for every simple data type, including hashes, image URLs, hacker phrases and reviews, plus unique values. Unknown tokens remain visible so templates are easier to troubleshoot.
  • Added extension points for custom template placeholders and named data generators.
  • Added optional-value helpers for generating incomplete sample data, such as values that sometimes become null or fall back to their default value.
  • Added realistic person records with matching names, email addresses, usernames, ages, birth dates, addresses, jobs, and avatar URLs.
  • Added a fluent object-building workflow for generating custom sample objects.
  • Added a bell-curve noise pattern for series data and improved age generation so generated ages feel more natural.
  • Added image and placeholder image URL generation, plus offline SVG placeholder data.
  • Added themed text for hacker-style activity logs and product-style reviews.
  • Added a broad set of fake values for identities, people, organizations, dates, times, text, numbers, money, network strings, product data, passwords, valid-looking credit-card-shaped numbers, ISBN-13 values, enums, and more.
  • Added one-step data type selection for generating simple values from a chosen category.
  • Added labeled numeric series with presets for months, quarters, regions, and other common labels.
  • Added series patterns such as linear, exponential, seasonal, random walk, bell curve, and multi-series data.
  • Added scheduled mock data streams for Play Mode and Edit Mode, including constant, random, burst, and drip timing.
  • Added exports for generated series data as plain text, CSV, JSON, or C# array snippets.